Sub: Add MAV_CMD_DO_SET_CAM_TRIGG_DIST support.

This commit is contained in:
Paulo Neves 2017-05-27 10:15:10 +02:00 committed by jaxxzer
parent 2cd6ff6dd5
commit 66b4c821c9

View File

@ -1208,6 +1208,10 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
}
result = MAV_RESULT_ACCEPTED;
break;
case MAV_CMD_DO_SET_CAM_TRIGG_DIST:
sub.camera.set_trigger_distance(packet.param1);
result = MAV_RESULT_ACCEPTED;
break;
#endif // CAMERA == ENABLED
case MAV_CMD_DO_MOUNT_CONTROL:
#if MOUNT == ENABLED