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