mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-26 00:43:34 +08:00
navigator/mavlink: photos and videos at waypoints
This adds the capability to forward the commands - MAV_CMD_VIDEO_START_CAPTURE - MAV_CMD_VIDEO_STOP_CAPTURE - MAV_CMD_IMAGE_START_CAPTURE - MAV_CMD_IMAGE_STOP_CAPTURE at waypoints which will then be sent over mavlink to component id 100 aka MAV_COMP_ID_CAMERA.
This commit is contained in:
@@ -70,6 +70,10 @@ enum NAV_CMD {
|
||||
NAV_CMD_DO_MOUNT_CONFIGURE=204,
|
||||
NAV_CMD_DO_MOUNT_CONTROL=205,
|
||||
NAV_CMD_DO_SET_CAM_TRIGG_DIST=206,
|
||||
NAV_CMD_IMAGE_START_CAPTURE=2000,
|
||||
NAV_CMD_IMAGE_STOP_CAPTURE=2001,
|
||||
NAV_CMD_VIDEO_START_CAPTURE=2500,
|
||||
NAV_CMD_VIDEO_STOP_CAPTURE=2501,
|
||||
NAV_CMD_DO_VTOL_TRANSITION=3000,
|
||||
NAV_CMD_INVALID=UINT16_MAX /* ensure that casting a large number results in a specific error */
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user