|
|
|
@ -402,12 +402,6 @@ MAV_RESULT GCS_MAVLINK_Tracker::handle_command_long_packet(const mavlink_command
@@ -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); |
|
|
|
|
} |
|
|
|
|