Compare commits

...

1 Commits

Author SHA1 Message Date
mahima-yoga 17bc9a28b8 FwModeManager: don't skip takeoff detection if not yet in air 2025-12-11 12:15:23 +01:00
@@ -1280,7 +1280,7 @@ FixedWingModeManager::control_auto_takeoff_no_nav(const hrt_abstime &now, const
_launch_current_yaw = _yaw;
}
if (_skipping_takeoff_detection) {
if (_skipping_takeoff_detection && _runway_takeoff.getState() > RunwayTakeoffState::CLAMPED_TO_RUNWAY) {
_runway_takeoff.forceSetFlyState();
}