Support straight line mission landings
Solved Problem
When flying Fixed Wings in a space constrained area, it can be difficult to plan the usual orbit type mission landings. There might simply not be enough space for the vehicle to orbit while it's descending in altitude.
Of course, one can just plan a mission with simple waypoints and add a VTOL LAND waypoint at the end. However, there is always the risk that the altitude difference between the waypoints is too big and the vehicle cannot follow the glide-slope, causing it to loiter at the next waypoint in order to reduce altitude further. This behavior is highly undesirable as part of a mission landing, as already explained above.
Fixes #{Github issue ID}
Solution
I propose a solution where all simple waypoints AFTER a land stark marker have their altitude acceptance radius set to INFINITY, which will cause the guidance logic to track altitude for these waypoints based on best effort.
Changelog Entry
For release notes:
Feature
Documentation: Add documentation for QGC explaining the difference between the two types of landings.
Test coverage
Tested regularly in production but on a much older branch. Only SITL tested on main.
Context
Altitude profile for staright line landing. Notice, that for the first waypoints the altitude needs to reached, however, for the last waypoints (landing pattern), the altitude is not reached anymore, but the waypoint is still accepted.
I guess the small bump in altitude after accepting the last waypoint is due to the transition?
~~I'm trying to wrap my head around this.~~
~~I do recall (and use to use) straight line landings way back on <1.8? (when you put it back in in 1.04-ish) but that aside, you come in for landing and just plan a path basically and the idea here is that it just follows the path and max descent until we hit the ground but aren't constrained to hitting the WP alts on the path? Is that correct?~~
~~Is this somewhat similar to how Land mode works (in FW) but just with the benefit of being able to plan a path rather than say land now?~~
Edit: ya makes sense...
@KonradRudin @sfuhrer I added the fixed wing check as agreed.
@sfuhrer @bresch Could you guys please approve?