mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-14 04:38:30 -04:00
AP_Mission: allow NAV_VTOL_TAKEOFF in is_takoff_next()
This commit is contained in:
parent
d010bc8b55
commit
0fd3fac65f
@ -161,6 +161,7 @@ bool AP_Mission::is_takeoff_next(uint16_t cmd_index)
|
|||||||
}
|
}
|
||||||
switch (cmd.id) {
|
switch (cmd.id) {
|
||||||
// any of these are considered a takeoff command:
|
// any of these are considered a takeoff command:
|
||||||
|
case MAV_CMD_NAV_VTOL_TAKEOFF:
|
||||||
case MAV_CMD_NAV_TAKEOFF:
|
case MAV_CMD_NAV_TAKEOFF:
|
||||||
case MAV_CMD_NAV_TAKEOFF_LOCAL:
|
case MAV_CMD_NAV_TAKEOFF_LOCAL:
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user