Rover: support MAV_CMD_ACCELCAL_VEHICLE_POS

This commit is contained in:
Francisco Ferreira 2016-11-12 09:49:28 +00:00 committed by Tom Pittenger
parent e763896b6a
commit e870c4bf99

View File

@ -1082,6 +1082,15 @@ void GCS_MAVLINK_Rover::handleMessage(mavlink_message_t* msg)
break;
}
case MAV_CMD_ACCELCAL_VEHICLE_POS:
result = MAV_RESULT_FAILED;
if (rover.ins.get_acal()->gcs_vehicle_position(packet.param1)) {
result = MAV_RESULT_ACCEPTED;
}
break;
default:
break;
}