forked from Archive/PX4-Autopilot
mission feasibilty check: fix for VTOL backtransition and land waypoint
Prior this fix VTOL missions get rejected if they have a DO_LAND_START marker, but then do not end with a LAND waypoint but a VTOL transition and land. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
b14e5568d3
commit
8de675ec88
|
@ -568,7 +568,7 @@ MissionFeasibilityChecker::checkVTOLLanding(const mission_s &mission, bool land_
|
|||
}
|
||||
}
|
||||
|
||||
if (missionitem.nav_cmd == NAV_CMD_LAND) {
|
||||
if (missionitem.nav_cmd == NAV_CMD_LAND || missionitem.nav_cmd == NAV_CMD_VTOL_LAND) {
|
||||
mission_item_s missionitem_previous {};
|
||||
|
||||
if (i > 0) {
|
||||
|
|
Loading…
Reference in New Issue