Messages V2#
MAV_CMD_CONDITION_DELAY#
(Message code: 112)
Delay the next navigation command. Same as MAV_CMD_NAV_DELAY.
Param: Label |
Description |
---|---|
1: Delay |
Delay (s) |
2: |
Empty |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
Note
This command is equivalent to MAV_CMD_NAV_DELAY
MAV_CMD_DO_CHANGE_SPEED#
Message code: 178)
Change speed.
Param: Label |
Description |
---|---|
1: Speed Type |
Speed type (1 = Ground Speed) |
2: Speed |
Speed (-1 indicates no change) (m/s) |
3: Throttle |
Throttle (-1 indicates no change) (%) Ignored |
4: Relative |
0: absolute, 1: relative |
5: |
Empty |
6: |
Empty |
7: |
Empty |
Note
Only ground speed is supported for Speed Type. Throttle changes are not supported.
MAV_CMD_DO_SET_ROI_LOCATION#
(Message code: 195)
Set the view mode to ROI. The orientation of the following waypoints will be towards this ROI location.
Param: Label |
Description |
---|---|
1: Gimbal Device ID |
Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components Ignored |
2: |
Empty |
3: |
Empty |
4: |
Empty |
5: Latitude |
Latitude of ROI location |
6: Longitude |
Longitude of ROI location |
7: Altitude |
Altitude of ROI location |
MAV_CMD_DO_SET_ROI_NONE#
(Message code: 197)
Set the view mode to default (traveling).
Todo
add link to view mode type enum
Param: Label |
Description |
---|---|
1: Gimbal device ID |
Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components Ignored |
2: |
Empty |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_DO_SET_ROI#
(Message code: 201)
Set the region of interest (ROI) for the front camera.
Param: Label |
Description |
---|---|
1: ROI Mode |
Region of interest mode.
|
2: WP Index |
Waypoint index/ target ID (depends on param 1) |
3: ROI Index |
Region of interest index |
4: |
Empty |
5: Pitch / Latitude |
MAV_ROI_WPNEXT: camera pitch value / MAV_ROI_LOCATION: latitude |
6: Roll / Longitude |
MAV_ROI_WPNEXT: camera roll value Ignored MAV_ROI_LOCATION: longitude |
7: Yaw / Altitude |
MAV_ROI_WPNEXT: camera yaw offset / MAV_ROI_LOCATION: altitude |
MAV_CMD_DO_MOUNT_CONTROL#
(Message code: 205)
Control camera orientation.
Param: Label |
Description |
---|---|
1: Pitch |
Camera pitch angle (deg) (min: -90, max: 90) |
2: Roll |
Camera roll angle (deg) Ignored |
3: Yaw |
Camera yaw angle relative to the front (deg) |
4: Altitude |
Altitude depending on mount mode (m) Ignored |
5: Latitude |
Latitude, set if appropriate mount mode Ignored |
6: Longitude |
Longitude, set if appropriate mount mode Ignored |
7: Mode |
Mount mode. MAV_MOUNT_MODE (MAV_MOUNT_MODE_MAVLINK_TARGETING = 2) |
Note
Only MAV_MOUNT_MODE_MAVLINK_TARGETING is supported for mount mode. Only pitch and yaw angle are supported.
MAV_CMD_DO_SET_CAM_TRIGG_DIST#
(Message code: 206)
Start/Stop GPS lapse.
Param: Label |
Description |
---|---|
1: Distance |
Camera trigger distance. 0 to stop triggering (m) |
2: Shutter |
Camera shutter integration time. -1 or 0 to ignore (ms) Ignored |
3: Trigger |
Trigger camera once immediately. (0 = no trigger, 1 = trigger) Ignored |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
Note
Default Trigger mode is 1.
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL#
(Message code: 214)
Start/Stop timelapse.
Param: Label |
Description |
---|---|
1: Trigger Cycle |
Camera trigger cycle time. -1 or 0 to ignore (ms) |
2: Shutter Integration |
Camera shutter integration time. Should be less than trigger cycle time. -1 or 0 to ignore (ms) Ignored |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_IMAGE_START_CAPTURE#
(Message code: 2000)
Start image capture sequence.
Param: Label |
Description |
---|---|
1: |
Reserved |
2: Interval |
Desired elapsed time between two consecutive pictures (s) |
3: Capture count |
Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE |
4: Sequence Number |
Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1) Ignored |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_IMAGE_STOP_CAPTURE#
(Message code: 2001)
Stop image capture sequence.
Param: Label |
Description |
---|---|
1: |
Reserved (Set to 0) Ignored |
2: |
Empty |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_VIDEO_START_CAPTURE#
(Message code: 2500)
Start video recording.
All parameters are ignored.
Param: Label |
Description |
---|---|
1: Stream ID |
Video Stream ID (0 for all streams) Ignored |
2: Status Frequency |
Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency) (Hz) Ignored |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_VIDEO_STOP_CAPTURE#
(Message code: 2501)
Stop video recording.
All parameters are ignored.
Param: Label |
Description |
---|---|
1: Stream ID |
Video Stream ID (0 for all streams) Ignored |
2: |
Empty |
3: |
Empty |
4: |
Empty |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_PANORAMA_CREATE#
(Message code: 2800)
Create a panorama at the current position.
Param: Label |
Description |
---|---|
1: Horizontal Angle |
Horizontal viewing angle (deg) |
2: Vertical Angle |
Vertical viewing angle (deg) |
3: Horizontal Speed |
Speed of the horizontal movement (deg/s) |
4: Vertical Speed |
Speed of the vertical movement (deg/s) |
5: |
Empty |
6: |
Empty |
7: |
Empty |
MAV_CMD_SET_VIEW_MODE#
(Message code: 50000)
Parrot specific command.
Set the view mode.
Param: Label |
Description |
---|---|
1: Yaw View Mode |
Yaw view mode type (see enum MAV_VIEW_MODE_TYPE) |
2: ROI index |
ROI index if View Mode is ROI |
3: Pitch View Mode |
Pitch view mode type (see enum MAV_PITCH_VIEW_MODE_TYPE) |
4: |
Ignored |
5: |
Ignored |
6: |
Ignored |
7: |
Ignored |
MAV_CMD_SET_STILL_CAPTURE_MODE#
(Message code: 50001)
Parrot specific command.
Set the still capture mode.
Param: Label |
Description |
---|---|
1: Capture mode |
Ignored |
2: Interval |
Ignored |
3: Capture format |
Set capture format for next actions (see enum MAV_STILL_CAPTURE_MODE_TYPE)
|
4: |
Ignored |
5: |
Ignored |
6: |
Ignored |
7: |
Ignored |