Commit b592a4fc authored by PX4BuildBot's avatar PX4BuildBot

autogenerated headers for rev...

autogenerated headers for rev https://github.com/mavlink/mavlink/tree/d513909e94258a61556322632551e6a8c8895411
parent 9a80d62f
...@@ -40,11 +40,11 @@ extern "C" { ...@@ -40,11 +40,11 @@ extern "C" {
typedef enum MAV_CMD typedef enum MAV_CMD
{ {
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -52,15 +52,15 @@ typedef enum MAV_CMD ...@@ -52,15 +52,15 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -68,7 +68,7 @@ typedef enum MAV_CMD ...@@ -68,7 +68,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -79,14 +79,14 @@ typedef enum MAV_CMD ...@@ -79,14 +79,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -94,14 +94,14 @@ typedef enum MAV_CMD ...@@ -94,14 +94,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -131,11 +131,11 @@ typedef enum MAV_CMD ...@@ -131,11 +131,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -144,7 +144,7 @@ typedef enum MAV_CMD ...@@ -144,7 +144,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -168,9 +168,9 @@ typedef enum MAV_CMD ...@@ -168,9 +168,9 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
...@@ -57,11 +57,11 @@ typedef enum ACCELCAL_VEHICLE_POS ...@@ -57,11 +57,11 @@ typedef enum ACCELCAL_VEHICLE_POS
typedef enum MAV_CMD typedef enum MAV_CMD
{ {
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -69,16 +69,16 @@ typedef enum MAV_CMD ...@@ -69,16 +69,16 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_ALTITUDE_WAIT=83, /* Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up. |1: Altitude (m).| 2: Descent speed (m/s).| 3: Wiggle Time (s).| 4: Empty.| 5: Empty.| 6: Empty.| 7: Empty.| */ MAV_CMD_NAV_ALTITUDE_WAIT=83, /* Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up. |1: Altitude (m).| 2: Descent speed (m/s).| 3: Wiggle Time (s).| 4: Empty.| 5: Empty.| 6: Empty.| 7: Empty.| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -86,7 +86,7 @@ typedef enum MAV_CMD ...@@ -86,7 +86,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -97,14 +97,14 @@ typedef enum MAV_CMD ...@@ -97,14 +97,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -112,7 +112,7 @@ typedef enum MAV_CMD ...@@ -112,7 +112,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
...@@ -121,7 +121,7 @@ typedef enum MAV_CMD ...@@ -121,7 +121,7 @@ typedef enum MAV_CMD
MAV_CMD_DO_AUTOTUNE_ENABLE=212, /* Enable/disable autotune. |1: Enable (1: enable, 0:disable).| 2: Empty.| 3: Empty.| 4: Empty.| 5: Empty.| 6: Empty.| 7: Empty.| */ MAV_CMD_DO_AUTOTUNE_ENABLE=212, /* Enable/disable autotune. |1: Enable (1: enable, 0:disable).| 2: Empty.| 3: Empty.| 4: Empty.| 5: Empty.| 6: Empty.| 7: Empty.| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -151,11 +151,11 @@ typedef enum MAV_CMD ...@@ -151,11 +151,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -164,7 +164,7 @@ typedef enum MAV_CMD ...@@ -164,7 +164,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -188,9 +188,9 @@ typedef enum MAV_CMD ...@@ -188,9 +188,9 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
...@@ -84,11 +84,11 @@ typedef enum MAV_CMD ...@@ -84,11 +84,11 @@ typedef enum MAV_CMD
MAV_CMD_AQ_TELEMETRY=2, /* Start/stop AutoQuad telemetry values stream. |1: Start or stop (1 or 0)| 2: Stream frequency in us| 3: Dataset ID (refer to aq_mavlink.h::mavlinkCustomDataSets enum in AQ flight controller code)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_AQ_TELEMETRY=2, /* Start/stop AutoQuad telemetry values stream. |1: Start or stop (1 or 0)| 2: Stream frequency in us| 3: Dataset ID (refer to aq_mavlink.h::mavlinkCustomDataSets enum in AQ flight controller code)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_AQ_REQUEST_VERSION=4, /* Request AutoQuad firmware version number. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_AQ_REQUEST_VERSION=4, /* Request AutoQuad firmware version number. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -96,15 +96,15 @@ typedef enum MAV_CMD ...@@ -96,15 +96,15 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -112,7 +112,7 @@ typedef enum MAV_CMD ...@@ -112,7 +112,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -123,14 +123,14 @@ typedef enum MAV_CMD ...@@ -123,14 +123,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -138,14 +138,14 @@ typedef enum MAV_CMD ...@@ -138,14 +138,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -175,11 +175,11 @@ typedef enum MAV_CMD ...@@ -175,11 +175,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -188,7 +188,7 @@ typedef enum MAV_CMD ...@@ -188,7 +188,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -212,9 +212,9 @@ typedef enum MAV_CMD ...@@ -212,9 +212,9 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
...@@ -435,11 +435,11 @@ typedef enum UAVCAN_NODE_MODE ...@@ -435,11 +435,11 @@ typedef enum UAVCAN_NODE_MODE
typedef enum MAV_CMD typedef enum MAV_CMD
{ {
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -447,15 +447,15 @@ typedef enum MAV_CMD ...@@ -447,15 +447,15 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -463,7 +463,7 @@ typedef enum MAV_CMD ...@@ -463,7 +463,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -474,14 +474,14 @@ typedef enum MAV_CMD ...@@ -474,14 +474,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -489,14 +489,14 @@ typedef enum MAV_CMD ...@@ -489,14 +489,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -526,11 +526,11 @@ typedef enum MAV_CMD ...@@ -526,11 +526,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -539,7 +539,7 @@ typedef enum MAV_CMD ...@@ -539,7 +539,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -563,9 +563,9 @@ typedef enum MAV_CMD ...@@ -563,9 +563,9 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
...@@ -57,11 +57,11 @@ typedef enum MAV_CMD ...@@ -57,11 +57,11 @@ typedef enum MAV_CMD
{ {
MAV_CMD_PREFLIGHT_STORAGE_ADVANCED=0, /* Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. |1: Storage action: Action defined by MAV_PREFLIGHT_STORAGE_ACTION_ADVANCED| 2: Storage area as defined by parameter database| 3: Storage flags as defined by parameter database| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_PREFLIGHT_STORAGE_ADVANCED=0, /* Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. |1: Storage action: Action defined by MAV_PREFLIGHT_STORAGE_ACTION_ADVANCED| 2: Storage area as defined by parameter database| 3: Storage flags as defined by parameter database| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -69,15 +69,15 @@ typedef enum MAV_CMD ...@@ -69,15 +69,15 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -85,7 +85,7 @@ typedef enum MAV_CMD ...@@ -85,7 +85,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -96,14 +96,14 @@ typedef enum MAV_CMD ...@@ -96,14 +96,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -111,14 +111,14 @@ typedef enum MAV_CMD ...@@ -111,14 +111,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -148,11 +148,11 @@ typedef enum MAV_CMD ...@@ -148,11 +148,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -161,7 +161,7 @@ typedef enum MAV_CMD ...@@ -161,7 +161,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -185,9 +185,9 @@ typedef enum MAV_CMD ...@@ -185,9 +185,9 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
...@@ -232,7 +232,6 @@ ...@@ -232,7 +232,6 @@
<description>Mission failure.</description> <description>Mission failure.</description>
</entry> </entry>
</enum> </enum>
<!-- WARNING: MAV_ACTION Enum is no longer supported - has been removed. Please use MAV_CMD -->
<enum name="MAV_MODE_FLAG"> <enum name="MAV_MODE_FLAG">
<description>These flags encode the MAV mode.</description> <description>These flags encode the MAV mode.</description>
<entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED"> <entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED">
......
...@@ -40,11 +40,11 @@ extern "C" { ...@@ -40,11 +40,11 @@ extern "C" {
typedef enum MAV_CMD typedef enum MAV_CMD
{ {
MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 3: 0 radius in meters to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| 4: Desired yaw angle at waypoint (rotary wing). NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: n meters. If positive loiter clockwise, else counter-clockwise| 4: Desired yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |1: Empty| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: red yaw angle.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |1: Turns| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |1: Seconds (decimal)| 2: Empty| 3: Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_LAND=21, /* Land at location. |1: Minimum target altitude if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */ MAV_CMD_NAV_LAND=21, /* Land at location. |1: de if landing is aborted (0 = undefined/use system default).| 2: Precision land mode.| 3: Empty.| 4: Desired yaw angle. NaN for unchanged.| 5: Latitude.| 6: Longitude.| 7: Landing altitude (ground level in current frame).| */
MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor| 2: Empty| 3: Empty| 4: Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */ MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |1: Landing target number (if available)| 2: Maximum accepted offset from desired landing position [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| 3: Landing descend rate [ms^-1]| 4: Desired yaw angle [rad]| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis / ground level position [m]| */
MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */ MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |1: Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| 2: Empty| 3: Takeoff ascend rate [ms^-1]| 4: Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| 5: Y-axis position [m]| 6: X-axis position [m]| 7: Z-axis position [m]| */
...@@ -52,15 +52,15 @@ typedef enum MAV_CMD ...@@ -52,15 +52,15 @@ typedef enum MAV_CMD
MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */ MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |1: Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Desired altitude in meters| */
MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |1: Heading Required (0 = False)| 2: Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| 3: Empty| 4: Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */ MAV_CMD_DO_FOLLOW=32, /* Being following a target |1: System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| 2: RESERVED| 3: RESERVED| 4: altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| 5: altitude| 6: RESERVED| 7: TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */ MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |1: Camera q1 (where 0 is on the ray from the camera to the tracking device)| 2: Camera q2| 3: Camera q3| 4: Camera q4| 5: altitude offset from target (m)| 6: X offset from target (m)| 7: Y offset from target (m)| */
MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */ MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting any value NaN results in using defaults. |1: Radius of the circle in meters. positive: Orbit clockwise. negative: Orbit counter-clockwise.| 2: Velocity tangential in m/s. NaN: Vehicle configuration default.| 3: Yaw behavior of the vehicle. 0: vehicle front points to the center (default). 1: Hold last heading. 2: Leave yaw uncontrolled.| 4: Reserved (e.g. for dynamic center beacon options)| 5: Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 6: Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| 7: Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle position or current center if already orbiting.| */
MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */ MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: x the location of the fixed ROI (see MAV_FRAME)| 6: y| 7: z| */
MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |1: 0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 2: 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| 3: Empty| 4: Yaw angle at goal, in compass degrees, [0..360]| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */ MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |1: Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude/X of goal| 6: Longitude/Y of goal| 7: Altitude/Z of goal| */
MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: Empty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. |1: ty| 2: Front transition heading.| 3: Empty| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */ MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |1: Empty| 2: Empty| 3: Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| 4: Yaw angle in degrees. NaN for unchanged.| 5: Latitude| 6: Longitude| 7: Altitude (ground level)| */
MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |1: 0.5f on)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |1: Delay in seconds (decimal, -1 to enable time-of-day fields)| 2: hour (24h format, UTC, -1 to ignore)| 3: minute (24h format, UTC, -1 to ignore)| 4: second (24h format, UTC)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |1: Maximum distance to descend.| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |1: Delay in seconds (decimal)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -68,7 +68,7 @@ typedef enum MAV_CMD ...@@ -68,7 +68,7 @@ typedef enum MAV_CMD
MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |1: Distance (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |1: target angle: [0-360], 0 is north| 2: speed during yaw change:[deg per second]| 3: direction: negative: counter clockwise, positive: clockwise [-1,1]| 4: relative offset or absolute angle: [ 1,0]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_MODE=176, /* Set system mode. |1: Mode, as defined by ENUM MAV_MODE| 2: ific, please refer to the individual autopilot specifications for details.| 3: Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |1: Sequence number| 2: Repeat count| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |1: Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| 2: Speed (m/s, -1 indicates no change)| 3: Throttle ( Percent, -1 indicates no change)| 4: absolute or relative [0,1]| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |1: Use current (1=use current location, 0=use specified location)| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
...@@ -79,14 +79,14 @@ typedef enum MAV_CMD ...@@ -79,14 +79,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |1: Servo number| 2: PWM (microseconds, 1000 to 2000 typical)| 3: Cycle count| 4: Cycle time (seconds)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |1: 0.5| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |1: Altitude in meters| 2: Mav frame of new altitude (see MAV_FRAME)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Empty| */ MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used. The Latitude/Longitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: itude| 6: Longitude| 7: Empty| */
MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |1: Break altitude (meters)| 2: Landing speed (m/s)| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |1: Altitude (meters)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */ MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |1: Ground speed, less than 0 (-1) for default| 2: Bitmask of option flags, see the MAV_DO_REPOSITION_FLAGS enum.| 3: Reserved| 4: Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| 5: Latitude (deg * 1E7)| 6: Longitude (deg * 1E7)| 7: Altitude (meters)| */
MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: d current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |1: and VTOL planes). A plane should loiter with the default loiter radius.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |1: Direction (0=Forward, 1=Reverse)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */ MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: yaw offset from next waypoint| */ MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: pitch offset from next waypoint| 6: roll offset from next waypoint| 7: waypoint| */
MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Empty| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |1: Camera ID (-1 for all)| 2: Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| 3: 0: single images every n seconds (decimal)| 4: Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */ MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |1: Region of interest mode. (see MAV_ROI enum)| 2: Waypoint index/ target ID. (see MAV_ROI enum)| 3: ROI index (allows a vehicle to manage multiple ROI's)| 4: Empty| 5: MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| 6: MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| 7: MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
...@@ -94,14 +94,14 @@ typedef enum MAV_CMD ...@@ -94,14 +94,14 @@ typedef enum MAV_CMD
MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */ MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |1: Session control e.g. show/hide lens| 2: Zoom's absolute position| 3: Zooming step value to offset zoom from the current position| 4: Focus Locking, Unlocking or Re-locking| 5: Shooting Command| 6: Command Identity| 7: Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */ MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |1: Mount operation mode (see MAV_MOUNT_MODE enum)| 2: stabilize roll? (1 = yes, 0 = no)| 3: stabilize pitch? (1 = yes, 0 = no)| 4: stabilize yaw? (1 = yes, 0 = no)| 5: roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 6: pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| 7: yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */ MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |1: pitch depending on mount mode (degrees or degrees/second depending on pitch input).| 2: roll depending on mount mode (degrees or degrees/second depending on roll input).| 3: yaw depending on mount mode (degrees or degrees/second depending on yaw input).| 4: alt in meters depending on mount mode.| 5: latitude in degrees * 1E7, set if appropriate mount mode.| 6: longitude in degrees * 1E7, set if appropriate mount mode.| 7: MAV_MOUNT_MODE enum value| */
MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: ra shutter integration time (milliseconds). -1 or 0 to ignore| 3: Trigger camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger distance (meters). 0 to stop triggering.| 2: Camera shutter integration time (milliseconds). -1 or 0 to ignore| 3: er camera once immediately. (0 = no trigger, 1 = trigger)| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |1: enable? (0=disable, 1=enable, 2=disable_floor_only)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |1: action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */ MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |1: motor number (a number from 1 to max number of motors on the vehicle)| 2: throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| 3: throttle| 4: timeout (in seconds)| 5: motor count (number of motors to test to test in sequence, waiting for the timeout above between them; 0=1 motor, 1=1 motor, 2=2 motors...)| 6: motor test order (See MOTOR_TEST_ORDER enum)| 7: Empty| */
MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |1: inverted (0=normal, 1=inverted)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |1: yaw angle to adjust steering by in centidegress| 2: speed - normalized to 0 .. 1| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |1: Camera trigger cycle time (milliseconds). -1 or 0 to ignore.| 2: Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: m #1, w (1 in null-rotation)| 2: q2 - quaternion param #2, x (0 in null-rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |1: q1 - quaternion param #1, w (1 in null-rotation)| 2: -rotation)| 3: q3 - quaternion param #3, y (0 in null-rotation)| 4: q4 - quaternion param #4, z (0 in null-rotation)| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |1: System ID| 2: Component ID| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |1: Timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout.| 2: Altitude (MSL) min, in meters - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| 3: Altitude (MSL) max, in meters - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| 4: Horizontal move limit, in meters - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| 5: Empty| 6: Empty| 7: Empty| */
MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |1: 0: Stop engine, 1:Start Engine| 2: 0: Warm start, 1:Cold start. Controls use of choke where applicable| 3: Height delay (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -131,11 +131,11 @@ typedef enum MAV_CMD ...@@ -131,11 +131,11 @@ typedef enum MAV_CMD
MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |1: 0: No Action 1: Reset all settings| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |1: Reserved (Set to 0)| 2: Camera mode| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Zoom type| 2: Zoom value. The range of valid values depend on the zoom type.| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: us type| 2: Focus value| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). Use NaN for reserved values. |1: Focus type| 2: Focus value| 3: remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |1: Tag.| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |1: Target tag to jump to.| 2: Repeat count| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| 3: Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| 4: Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1). Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted. Use 0 to ignore it.| 5: Reserved (all remaining params)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |1: Reserved (Set to 0)| 2: ved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURE message. Use NaN for reserved values. |1: Sequence number for missing CAMERA_IMAGE_CAPTURE message| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |1: Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 2: 1 to reset the trigger sequence, -1 or 0 to ignore| 3: 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NaN for reserved values. |1: Video Stream ID (0 for all streams)| 2: Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| 3: Reserved (all remaining params)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -144,7 +144,7 @@ typedef enum MAV_CMD ...@@ -144,7 +144,7 @@ typedef enum MAV_CMD
MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |1: Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| 2: Reserved (all remaining params)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: Format: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |1: mat: 0: ULog| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */ MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |1: Landing gear ID (default: 0, -1 for all)| 2: Landing gear position (Down: 0, Up: 1, NaN for no change)| 3: Reserved, set to NaN| 4: Reserved, set to NaN| 5: Reserved, set to NaN| 6: Reserved, set to NaN| 7: Reserved, set to NaN| */
MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */ MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |1: Control transmission over high latency telemetry (0: stop, 1: start)| 2: Empty| 3: Empty| 4: Empty| 5: Empty| 6: Empty| 7: Empty| */
...@@ -168,7 +168,7 @@ typedef enum MAV_CMD ...@@ -168,7 +168,7 @@ typedef enum MAV_CMD
MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
|1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */ |1: radius in meters| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Reserved| */
MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
|1: Reserved| 2: ed| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */ |1: Reserved| 2: Reserved| 3: Reserved| 4: Reserved| 5: Latitude| 6: Longitude| 7: Altitude| */
MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */ MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |1: Reserved (set to 0)| 2: Reserved (set to 0)| 3: Reserved (set to 0)| 4: Reserved (set to 0)| 5: Reserved (set to 0)| 6: Reserved (set to 0)| 7: Reserved (set to 0)| */
MAV_CMD_DO_NOTHING=10001, /* Does nothing. |1: 1 to arm, 0 to disarm| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_DO_NOTHING=10001, /* Does nothing. |1: 1 to arm, 0 to disarm| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_RETURN_TO_BASE=10011, /* Return vehicle to base. |1: 0: return to base, 1: track mobile base| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_RETURN_TO_BASE=10011, /* Return vehicle to base. |1: 0: return to base, 1: track mobile base| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
...@@ -176,7 +176,7 @@ typedef enum MAV_CMD ...@@ -176,7 +176,7 @@ typedef enum MAV_CMD
MAV_CMD_TURN_LIGHT=10013, /* Turns the vehicle's visible or infrared lights on or off. |1: 0: visible lights, 1: infrared lights| 2: 0: turn on, 1: turn off| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_TURN_LIGHT=10013, /* Turns the vehicle's visible or infrared lights on or off. |1: 0: visible lights, 1: infrared lights| 2: 0: turn on, 1: turn off| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_GET_MID_LEVEL_COMMANDS=10014, /* Requests vehicle to send current mid-level commands to ground station. |1: Reserved (default:0)| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_GET_MID_LEVEL_COMMANDS=10014, /* Requests vehicle to send current mid-level commands to ground station. |1: Reserved (default:0)| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_MIDLEVEL_STORAGE=10015, /* Requests storage of mid-level commands. |1: Mid-level command storage: 0: read from flash/EEPROM, 1: write to flash/EEPROM| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */ MAV_CMD_MIDLEVEL_STORAGE=10015, /* Requests storage of mid-level commands. |1: Mid-level command storage: 0: read from flash/EEPROM, 1: write to flash/EEPROM| 2: Reserved (default:0)| 3: Reserved (default:0)| 4: Reserved (default:0)| 5: Reserved (default:0)| 6: Reserved (default:0)| 7: Reserved (default:0)| */
MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: Desired approach vector in degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */ MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |1: Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| 2: system can define the approach vector at will.| 3: Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| 4: Minimum altitude clearance to the release position in meters. A negative value indicates the system can define the clearance at will.| 5: Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 6: Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| 7: Altitude (MSL), in meters| */
MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */ MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |1: Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| 2: Reserved| 3: Reserved| 4: Reserved| 5: Reserved| 6: Reserved| 7: Reserved| */
MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */ MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |1: User defined| 2: User defined| 3: User defined| 4: User defined| 5: Latitude unscaled| 6: Longitude unscaled| 7: Altitude (MSL), in meters| */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment