5
0
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:
Andrew Tridgell 2022-05-17 08:08:58 +10:00
parent c093c5d945
commit 1e31dc61a8

View File

@ -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;