Add fixed-wing takeoff mode without lateral navigation requirement #23797
+383
−18
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Solved Problem
GNSS and magnetometer sensors are susceptible to disturbances on the ground. With bad heading and position estimation, the auto takeoff mode doesn't work reliably, which can lead to crashes or failsafe actions being executed. The current navigation loss failsafe for fixed-wings is Descend, which is dangerous to trigger while still being close to the ground.
Solution
Add a new flight mode
Takeoff without navigation
. It is currently only implemented for fixed-wing vehicles (even only for non-runway takeoff ones), and keeps most of the normal fixed-wing takeoff behavior with one big difference: instead of doing lateral guidance to fly to a takeoff waypoint or to keep course of ground constant, this new mode simply commands a 0° roll setpoint until the takeoff altitude is reached.After reaching the takeoff altitude the flight mode automatically switches to Hold (Loiter).
This mode is also used to fall-back to from the normal Takeoff mode should during the takeoff procedure the navigation become invalid. It then proceeds with climbing, and gives the pilot more time to take over.
Changelog Entry
For release notes:
Alternatives
Test coverage
In progress