mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-08-17 22:29:21 +08:00
fix(mavlink): add DO_REPOSITION to the command_has_location() list (#27543)
This commit is contained in:
@@ -537,6 +537,7 @@ MavlinkReceiver::command_has_location(uint16_t command)
|
||||
case MAV_CMD_NAV_VTOL_TAKEOFF: // 84
|
||||
case MAV_CMD_DO_SET_HOME: // 179
|
||||
case MAV_CMD_DO_LAND_START: // 189
|
||||
case MAV_CMD_DO_REPOSITION: // 192
|
||||
case MAV_CMD_DO_SET_ROI_LOCATION: // 195
|
||||
case MAV_CMD_DO_SET_ROI: // 201
|
||||
case MAV_CMD_PAYLOAD_PREPARE_DEPLOY: // 30001
|
||||
@@ -557,7 +558,6 @@ MavlinkReceiver::command_has_location(uint16_t command)
|
||||
// case MAV_CMD_NAV_VTOL_LAND: // 85
|
||||
// case MAV_CMD_NAV_PAYLOAD_PLACE: // 94
|
||||
// case MAV_CMD_DO_RETURN_PATH_START: // 188
|
||||
// case MAV_CMD_DO_REPOSITION: // 192
|
||||
// case MAV_CMD_OVERRIDE_GOTO: // 252
|
||||
// case MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE: // 4001
|
||||
// case MAV_CMD_CONDITION_GATE: // 4501
|
||||
|
||||
Reference in New Issue
Block a user