mirror of https://github.com/ArduPilot/ardupilot
Tracker: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class
This commit is contained in:
parent
b62639e07c
commit
e85ca5856c
|
@ -402,12 +402,6 @@ MAV_RESULT GCS_MAVLINK_Tracker::handle_command_long_packet(const mavlink_command
|
|||
tracker.set_mode(AUTO, MODE_REASON_GCS_COMMAND);
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
|
||||
case MAV_CMD_ACCELCAL_VEHICLE_POS:
|
||||
if (!tracker.ins.get_acal()->gcs_vehicle_position(packet.param1)) {
|
||||
return MAV_RESULT_FAILED;
|
||||
}
|
||||
return MAV_RESULT_ACCEPTED;
|
||||
|
||||
default:
|
||||
return GCS_MAVLINK::handle_command_long_packet(packet);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue