Tracker: handle MAV_CMD_ACCELCAL_VEHICLE_POS in GCS base class

This commit is contained in:
Peter Barker 2018-07-04 13:44:48 +10:00 committed by Peter Barker
parent b62639e07c
commit e85ca5856c
1 changed files with 0 additions and 6 deletions

View File

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