Sub: Add MAV_CMD_DO_SET_CAM_TRIGG_DIST support.
This commit is contained in:
parent
2cd6ff6dd5
commit
66b4c821c9
@ -1208,6 +1208,10 @@ void GCS_MAVLINK_Sub::handleMessage(mavlink_message_t* msg)
|
|||||||
}
|
}
|
||||||
result = MAV_RESULT_ACCEPTED;
|
result = MAV_RESULT_ACCEPTED;
|
||||||
break;
|
break;
|
||||||
|
case MAV_CMD_DO_SET_CAM_TRIGG_DIST:
|
||||||
|
sub.camera.set_trigger_distance(packet.param1);
|
||||||
|
result = MAV_RESULT_ACCEPTED;
|
||||||
|
break;
|
||||||
#endif // CAMERA == ENABLED
|
#endif // CAMERA == ENABLED
|
||||||
case MAV_CMD_DO_MOUNT_CONTROL:
|
case MAV_CMD_DO_MOUNT_CONTROL:
|
||||||
#if MOUNT == ENABLED
|
#if MOUNT == ENABLED
|
||||||
|
Loading…
Reference in New Issue
Block a user