Merge pull request #10476 from radiolinkW/RADIOLINKF722
[inav.git] / lib / main / MAVLink / common / common.h
blobec5fc7218d255d4a0a7e3e5d698c6006a3e06604
1 /** @file
2 * @brief MAVLink comm protocol generated from common.xml
3 * @see http://mavlink.org
4 */
5 #pragma once
6 #ifndef MAVLINK_COMMON_H
7 #define MAVLINK_COMMON_H
9 #ifndef MAVLINK_H
10 #error Wrong include order: MAVLINK_COMMON.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
11 #endif
13 #undef MAVLINK_THIS_XML_IDX
14 #define MAVLINK_THIS_XML_IDX 0
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
20 // MESSAGE LENGTHS AND CRCS
22 #ifndef MAVLINK_MESSAGE_LENGTHS
23 #define MAVLINK_MESSAGE_LENGTHS {}
24 #endif
26 #ifndef MAVLINK_MESSAGE_CRCS
27 #define MAVLINK_MESSAGE_CRCS {{0, 50, 9, 9, 0, 0, 0}, {1, 124, 31, 31, 0, 0, 0}, {2, 137, 12, 12, 0, 0, 0}, {4, 237, 14, 14, 3, 12, 13}, {5, 217, 28, 28, 1, 0, 0}, {6, 104, 3, 3, 0, 0, 0}, {7, 119, 32, 32, 0, 0, 0}, {8, 117, 36, 36, 0, 0, 0}, {11, 89, 6, 6, 1, 4, 0}, {19, 137, 24, 24, 3, 4, 5}, {20, 214, 20, 20, 3, 2, 3}, {21, 159, 2, 2, 3, 0, 1}, {22, 220, 25, 25, 0, 0, 0}, {23, 168, 23, 23, 3, 4, 5}, {24, 24, 30, 52, 0, 0, 0}, {25, 23, 101, 101, 0, 0, 0}, {26, 170, 22, 24, 0, 0, 0}, {27, 144, 26, 29, 0, 0, 0}, {28, 67, 16, 16, 0, 0, 0}, {29, 115, 14, 16, 0, 0, 0}, {30, 39, 28, 28, 0, 0, 0}, {31, 246, 32, 48, 0, 0, 0}, {32, 185, 28, 28, 0, 0, 0}, {33, 104, 28, 28, 0, 0, 0}, {34, 237, 22, 22, 0, 0, 0}, {35, 244, 22, 22, 0, 0, 0}, {36, 222, 21, 37, 0, 0, 0}, {37, 212, 6, 7, 3, 4, 5}, {38, 9, 6, 7, 3, 4, 5}, {39, 254, 37, 38, 3, 32, 33}, {40, 230, 4, 5, 3, 2, 3}, {41, 28, 4, 4, 3, 2, 3}, {42, 28, 2, 2, 0, 0, 0}, {43, 132, 2, 3, 3, 0, 1}, {44, 221, 4, 5, 3, 2, 3}, {45, 232, 2, 3, 3, 0, 1}, {46, 11, 2, 2, 0, 0, 0}, {47, 153, 3, 4, 3, 0, 1}, {48, 41, 13, 21, 1, 12, 0}, {49, 39, 12, 20, 0, 0, 0}, {50, 78, 37, 37, 3, 18, 19}, {51, 196, 4, 5, 3, 2, 3}, {52, 132, 7, 7, 0, 0, 0}, {54, 15, 27, 27, 3, 24, 25}, {55, 3, 25, 25, 0, 0, 0}, {61, 167, 72, 72, 0, 0, 0}, {62, 183, 26, 26, 0, 0, 0}, {63, 119, 181, 181, 0, 0, 0}, {64, 191, 225, 225, 0, 0, 0}, {65, 118, 42, 42, 0, 0, 0}, {66, 148, 6, 6, 3, 2, 3}, {67, 21, 4, 4, 0, 0, 0}, {69, 243, 11, 11, 1, 10, 0}, {70, 124, 18, 38, 3, 16, 17}, {73, 38, 37, 38, 3, 32, 33}, {74, 20, 20, 20, 0, 0, 0}, {75, 158, 35, 35, 3, 30, 31}, {76, 152, 33, 33, 3, 30, 31}, {77, 143, 3, 10, 3, 8, 9}, {80, 14, 4, 4, 3, 2, 3}, {81, 106, 22, 22, 0, 0, 0}, {82, 49, 39, 39, 3, 36, 37}, {83, 22, 37, 37, 0, 0, 0}, {84, 143, 53, 53, 3, 50, 51}, {85, 140, 51, 51, 0, 0, 0}, {86, 5, 53, 53, 3, 50, 51}, {87, 150, 51, 51, 0, 0, 0}, {89, 231, 28, 28, 0, 0, 0}, {90, 183, 56, 56, 0, 0, 0}, {91, 63, 42, 42, 0, 0, 0}, {92, 54, 33, 33, 0, 0, 0}, {93, 47, 81, 81, 0, 0, 0}, {100, 175, 26, 34, 0, 0, 0}, {101, 102, 32, 117, 0, 0, 0}, {102, 158, 32, 117, 0, 0, 0}, {103, 208, 20, 57, 0, 0, 0}, {104, 56, 32, 116, 0, 0, 0}, {105, 93, 62, 63, 0, 0, 0}, {106, 138, 44, 44, 0, 0, 0}, {107, 108, 64, 65, 0, 0, 0}, {108, 32, 84, 84, 0, 0, 0}, {109, 185, 9, 9, 0, 0, 0}, {110, 84, 254, 254, 3, 1, 2}, {111, 34, 16, 16, 0, 0, 0}, {112, 174, 12, 12, 0, 0, 0}, {113, 124, 36, 39, 0, 0, 0}, {114, 237, 44, 44, 0, 0, 0}, {115, 4, 64, 64, 0, 0, 0}, {116, 76, 22, 24, 0, 0, 0}, {117, 128, 6, 6, 3, 4, 5}, {118, 56, 14, 14, 0, 0, 0}, {119, 116, 12, 12, 3, 10, 11}, {120, 134, 97, 97, 0, 0, 0}, {121, 237, 2, 2, 3, 0, 1}, {122, 203, 2, 2, 3, 0, 1}, {123, 250, 113, 113, 3, 0, 1}, {124, 87, 35, 37, 0, 0, 0}, {125, 203, 6, 6, 0, 0, 0}, {126, 220, 79, 79, 0, 0, 0}, {127, 25, 35, 35, 0, 0, 0}, {128, 226, 35, 35, 0, 0, 0}, {129, 46, 22, 24, 0, 0, 0}, {130, 29, 13, 13, 0, 0, 0}, {131, 223, 255, 255, 0, 0, 0}, {132, 85, 14, 39, 0, 0, 0}, {133, 6, 18, 18, 0, 0, 0}, {134, 229, 43, 43, 0, 0, 0}, {135, 203, 8, 8, 0, 0, 0}, {136, 1, 22, 22, 0, 0, 0}, {137, 195, 14, 16, 0, 0, 0}, {138, 109, 36, 120, 0, 0, 0}, {139, 168, 43, 43, 3, 41, 42}, {140, 181, 41, 41, 0, 0, 0}, {141, 47, 32, 32, 0, 0, 0}, {142, 72, 243, 243, 0, 0, 0}, {143, 131, 14, 16, 0, 0, 0}, {144, 127, 93, 93, 0, 0, 0}, {146, 103, 100, 100, 0, 0, 0}, {147, 154, 36, 54, 0, 0, 0}, {148, 178, 60, 78, 0, 0, 0}, {149, 200, 30, 60, 0, 0, 0}, {162, 189, 8, 9, 0, 0, 0}, {192, 36, 44, 54, 0, 0, 0}, {225, 208, 65, 65, 0, 0, 0}, {230, 163, 42, 42, 0, 0, 0}, {231, 105, 40, 40, 0, 0, 0}, {232, 151, 63, 65, 0, 0, 0}, {233, 35, 182, 182, 0, 0, 0}, {234, 150, 40, 40, 0, 0, 0}, {235, 179, 42, 42, 0, 0, 0}, {241, 90, 32, 32, 0, 0, 0}, {242, 104, 52, 60, 0, 0, 0}, {243, 85, 53, 61, 1, 52, 0}, {244, 95, 6, 6, 0, 0, 0}, {245, 130, 2, 2, 0, 0, 0}, {246, 184, 38, 38, 0, 0, 0}, {247, 81, 19, 19, 0, 0, 0}, {248, 8, 254, 254, 3, 3, 4}, {249, 204, 36, 36, 0, 0, 0}, {250, 49, 30, 30, 0, 0, 0}, {251, 170, 18, 18, 0, 0, 0}, {252, 44, 18, 18, 0, 0, 0}, {253, 83, 51, 54, 0, 0, 0}, {254, 46, 9, 9, 0, 0, 0}, {256, 71, 42, 42, 3, 8, 9}, {257, 131, 9, 9, 0, 0, 0}, {258, 187, 32, 232, 3, 0, 1}, {259, 92, 235, 235, 0, 0, 0}, {260, 146, 5, 13, 0, 0, 0}, {261, 179, 27, 60, 0, 0, 0}, {262, 12, 18, 22, 0, 0, 0}, {263, 133, 255, 255, 0, 0, 0}, {264, 49, 28, 28, 0, 0, 0}, {265, 26, 16, 20, 0, 0, 0}, {266, 193, 255, 255, 3, 2, 3}, {267, 35, 255, 255, 3, 2, 3}, {268, 14, 4, 4, 3, 2, 3}, {269, 109, 213, 213, 0, 0, 0}, {270, 59, 19, 19, 0, 0, 0}, {271, 22, 52, 52, 0, 0, 0}, {275, 126, 31, 31, 0, 0, 0}, {276, 18, 49, 49, 0, 0, 0}, {280, 70, 33, 33, 0, 0, 0}, {281, 48, 13, 13, 0, 0, 0}, {282, 123, 35, 35, 3, 32, 33}, {283, 74, 144, 144, 0, 0, 0}, {284, 99, 32, 32, 3, 30, 31}, {285, 137, 40, 40, 3, 38, 39}, {286, 210, 53, 53, 3, 50, 51}, {287, 1, 23, 23, 3, 20, 21}, {288, 20, 23, 23, 3, 20, 21}, {290, 221, 42, 42, 0, 0, 0}, {291, 10, 57, 57, 0, 0, 0}, {299, 19, 96, 98, 0, 0, 0}, {300, 217, 22, 22, 0, 0, 0}, {301, 243, 58, 58, 0, 0, 0}, {310, 28, 17, 17, 0, 0, 0}, {311, 95, 116, 116, 0, 0, 0}, {320, 243, 20, 20, 3, 2, 3}, {321, 88, 2, 2, 3, 0, 1}, {322, 243, 149, 149, 0, 0, 0}, {323, 78, 147, 147, 3, 0, 1}, {324, 132, 146, 146, 0, 0, 0}, {330, 23, 158, 167, 0, 0, 0}, {331, 91, 230, 232, 0, 0, 0}, {332, 236, 239, 239, 0, 0, 0}, {333, 231, 109, 109, 0, 0, 0}, {334, 72, 10, 10, 0, 0, 0}, {335, 225, 24, 24, 0, 0, 0}, {336, 245, 84, 84, 0, 0, 0}, {339, 199, 5, 5, 0, 0, 0}, {340, 99, 70, 70, 0, 0, 0}, {350, 232, 20, 252, 0, 0, 0}, {360, 11, 25, 25, 0, 0, 0}, {370, 75, 87, 87, 0, 0, 0}, {373, 117, 42, 42, 0, 0, 0}, {375, 251, 140, 140, 0, 0, 0}, {380, 232, 20, 20, 0, 0, 0}, {385, 147, 133, 133, 3, 2, 3}, {390, 156, 238, 238, 0, 0, 0}, {395, 163, 156, 156, 0, 0, 0}, {400, 110, 254, 254, 3, 4, 5}, {401, 183, 6, 6, 3, 4, 5}, {9000, 113, 137, 137, 0, 0, 0}, {9005, 117, 34, 34, 0, 0, 0}, {12900, 114, 44, 44, 3, 0, 1}, {12901, 254, 59, 59, 3, 30, 31}, {12902, 49, 53, 53, 3, 4, 5}, {12903, 249, 46, 46, 3, 0, 1}, {12904, 203, 46, 46, 3, 20, 21}, {12905, 49, 43, 43, 3, 0, 1}, {12915, 62, 254, 254, 3, 0, 1}}
28 #endif
30 #include "../protocol.h"
32 #define MAVLINK_ENABLED_COMMON
34 // ENUM DEFINITIONS
37 /** @brief These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65. */
38 #ifndef HAVE_ENUM_FIRMWARE_VERSION_TYPE
39 #define HAVE_ENUM_FIRMWARE_VERSION_TYPE
40 typedef enum FIRMWARE_VERSION_TYPE
42 FIRMWARE_VERSION_TYPE_DEV=0, /* development release | */
43 FIRMWARE_VERSION_TYPE_ALPHA=64, /* alpha release | */
44 FIRMWARE_VERSION_TYPE_BETA=128, /* beta release | */
45 FIRMWARE_VERSION_TYPE_RC=192, /* release candidate | */
46 FIRMWARE_VERSION_TYPE_OFFICIAL=255, /* official stable release | */
47 FIRMWARE_VERSION_TYPE_ENUM_END=256, /* | */
48 } FIRMWARE_VERSION_TYPE;
49 #endif
51 /** @brief Flags to report failure cases over the high latency telemetry. */
52 #ifndef HAVE_ENUM_HL_FAILURE_FLAG
53 #define HAVE_ENUM_HL_FAILURE_FLAG
54 typedef enum HL_FAILURE_FLAG
56 HL_FAILURE_FLAG_GPS=1, /* GPS failure. | */
57 HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE=2, /* Differential pressure sensor failure. | */
58 HL_FAILURE_FLAG_ABSOLUTE_PRESSURE=4, /* Absolute pressure sensor failure. | */
59 HL_FAILURE_FLAG_3D_ACCEL=8, /* Accelerometer sensor failure. | */
60 HL_FAILURE_FLAG_3D_GYRO=16, /* Gyroscope sensor failure. | */
61 HL_FAILURE_FLAG_3D_MAG=32, /* Magnetometer sensor failure. | */
62 HL_FAILURE_FLAG_TERRAIN=64, /* Terrain subsystem failure. | */
63 HL_FAILURE_FLAG_BATTERY=128, /* Battery failure/critical low battery. | */
64 HL_FAILURE_FLAG_RC_RECEIVER=256, /* RC receiver failure/no rc connection. | */
65 HL_FAILURE_FLAG_OFFBOARD_LINK=512, /* Offboard link failure. | */
66 HL_FAILURE_FLAG_ENGINE=1024, /* Engine failure. | */
67 HL_FAILURE_FLAG_GEOFENCE=2048, /* Geofence violation. | */
68 HL_FAILURE_FLAG_ESTIMATOR=4096, /* Estimator failure, for example measurement rejection or large variances. | */
69 HL_FAILURE_FLAG_MISSION=8192, /* Mission failure. | */
70 HL_FAILURE_FLAG_ENUM_END=8193, /* | */
71 } HL_FAILURE_FLAG;
72 #endif
74 /** @brief Actions that may be specified in MAV_CMD_OVERRIDE_GOTO to override mission execution. */
75 #ifndef HAVE_ENUM_MAV_GOTO
76 #define HAVE_ENUM_MAV_GOTO
77 typedef enum MAV_GOTO
79 MAV_GOTO_DO_HOLD=0, /* Hold at the current position. | */
80 MAV_GOTO_DO_CONTINUE=1, /* Continue with the next item in mission execution. | */
81 MAV_GOTO_HOLD_AT_CURRENT_POSITION=2, /* Hold at the current position of the system | */
82 MAV_GOTO_HOLD_AT_SPECIFIED_POSITION=3, /* Hold at the position specified in the parameters of the DO_HOLD action | */
83 MAV_GOTO_ENUM_END=4, /* | */
84 } MAV_GOTO;
85 #endif
87 /** @brief These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it
88 simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override. */
89 #ifndef HAVE_ENUM_MAV_MODE
90 #define HAVE_ENUM_MAV_MODE
91 typedef enum MAV_MODE
93 MAV_MODE_PREFLIGHT=0, /* System is not ready to fly, booting, calibrating, etc. No flag is set. | */
94 MAV_MODE_MANUAL_DISARMED=64, /* System is allowed to be active, under manual (RC) control, no stabilization | */
95 MAV_MODE_TEST_DISARMED=66, /* UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | */
96 MAV_MODE_STABILIZE_DISARMED=80, /* System is allowed to be active, under assisted RC control. | */
97 MAV_MODE_GUIDED_DISARMED=88, /* System is allowed to be active, under autonomous control, manual setpoint | */
98 MAV_MODE_AUTO_DISARMED=92, /* System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | */
99 MAV_MODE_MANUAL_ARMED=192, /* System is allowed to be active, under manual (RC) control, no stabilization | */
100 MAV_MODE_TEST_ARMED=194, /* UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | */
101 MAV_MODE_STABILIZE_ARMED=208, /* System is allowed to be active, under assisted RC control. | */
102 MAV_MODE_GUIDED_ARMED=216, /* System is allowed to be active, under autonomous control, manual setpoint | */
103 MAV_MODE_AUTO_ARMED=220, /* System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints) | */
104 MAV_MODE_ENUM_END=221, /* | */
105 } MAV_MODE;
106 #endif
108 /** @brief These encode the sensors whose status is sent as part of the SYS_STATUS message. */
109 #ifndef HAVE_ENUM_MAV_SYS_STATUS_SENSOR
110 #define HAVE_ENUM_MAV_SYS_STATUS_SENSOR
111 typedef enum MAV_SYS_STATUS_SENSOR
113 MAV_SYS_STATUS_SENSOR_3D_GYRO=1, /* 0x01 3D gyro | */
114 MAV_SYS_STATUS_SENSOR_3D_ACCEL=2, /* 0x02 3D accelerometer | */
115 MAV_SYS_STATUS_SENSOR_3D_MAG=4, /* 0x04 3D magnetometer | */
116 MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE=8, /* 0x08 absolute pressure | */
117 MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE=16, /* 0x10 differential pressure | */
118 MAV_SYS_STATUS_SENSOR_GPS=32, /* 0x20 GPS | */
119 MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW=64, /* 0x40 optical flow | */
120 MAV_SYS_STATUS_SENSOR_VISION_POSITION=128, /* 0x80 computer vision position | */
121 MAV_SYS_STATUS_SENSOR_LASER_POSITION=256, /* 0x100 laser based position | */
122 MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH=512, /* 0x200 external ground truth (Vicon or Leica) | */
123 MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL=1024, /* 0x400 3D angular rate control | */
124 MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION=2048, /* 0x800 attitude stabilization | */
125 MAV_SYS_STATUS_SENSOR_YAW_POSITION=4096, /* 0x1000 yaw position | */
126 MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL=8192, /* 0x2000 z/altitude control | */
127 MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL=16384, /* 0x4000 x/y position control | */
128 MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS=32768, /* 0x8000 motor outputs / control | */
129 MAV_SYS_STATUS_SENSOR_RC_RECEIVER=65536, /* 0x10000 rc receiver | */
130 MAV_SYS_STATUS_SENSOR_3D_GYRO2=131072, /* 0x20000 2nd 3D gyro | */
131 MAV_SYS_STATUS_SENSOR_3D_ACCEL2=262144, /* 0x40000 2nd 3D accelerometer | */
132 MAV_SYS_STATUS_SENSOR_3D_MAG2=524288, /* 0x80000 2nd 3D magnetometer | */
133 MAV_SYS_STATUS_GEOFENCE=1048576, /* 0x100000 geofence | */
134 MAV_SYS_STATUS_AHRS=2097152, /* 0x200000 AHRS subsystem health | */
135 MAV_SYS_STATUS_TERRAIN=4194304, /* 0x400000 Terrain subsystem health | */
136 MAV_SYS_STATUS_REVERSE_MOTOR=8388608, /* 0x800000 Motors are reversed | */
137 MAV_SYS_STATUS_LOGGING=16777216, /* 0x1000000 Logging | */
138 MAV_SYS_STATUS_SENSOR_BATTERY=33554432, /* 0x2000000 Battery | */
139 MAV_SYS_STATUS_SENSOR_PROXIMITY=67108864, /* 0x4000000 Proximity | */
140 MAV_SYS_STATUS_SENSOR_SATCOM=134217728, /* 0x8000000 Satellite Communication | */
141 MAV_SYS_STATUS_PREARM_CHECK=268435456, /* 0x10000000 pre-arm check status. Always healthy when armed | */
142 MAV_SYS_STATUS_OBSTACLE_AVOIDANCE=536870912, /* 0x20000000 Avoidance/collision prevention | */
143 MAV_SYS_STATUS_SENSOR_PROPULSION=1073741824, /* 0x40000000 propulsion (actuator, esc, motor or propellor) | */
144 MAV_SYS_STATUS_SENSOR_ENUM_END=1073741825, /* | */
145 } MAV_SYS_STATUS_SENSOR;
146 #endif
148 /** @brief */
149 #ifndef HAVE_ENUM_MAV_FRAME
150 #define HAVE_ENUM_MAV_FRAME
151 typedef enum MAV_FRAME
153 MAV_FRAME_GLOBAL=0, /* Global (WGS84) coordinate frame + MSL altitude. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL). | */
154 MAV_FRAME_LOCAL_NED=1, /* Local coordinate frame, Z-down (x: North, y: East, z: Down). | */
155 MAV_FRAME_MISSION=2, /* NOT a coordinate frame, indicates a mission command. | */
156 MAV_FRAME_GLOBAL_RELATIVE_ALT=3, /* Global (WGS84) coordinate frame + altitude relative to the home position. First value / x: latitude, second value / y: longitude, third value / z: positive altitude with 0 being at the altitude of the home location. | */
157 MAV_FRAME_LOCAL_ENU=4, /* Local coordinate frame, Z-up (x: East, y: North, z: Up). | */
158 MAV_FRAME_GLOBAL_INT=5, /* Global (WGS84) coordinate frame (scaled) + MSL altitude. First value / x: latitude in degrees*1.0e-7, second value / y: longitude in degrees*1.0e-7, third value / z: positive altitude over mean sea level (MSL). | */
159 MAV_FRAME_GLOBAL_RELATIVE_ALT_INT=6, /* Global (WGS84) coordinate frame (scaled) + altitude relative to the home position. First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude with 0 being at the altitude of the home location. | */
160 MAV_FRAME_LOCAL_OFFSET_NED=7, /* Offset to the current local frame. Anything expressed in this frame should be added to the current local frame position. | */
161 MAV_FRAME_BODY_NED=8, /* Setpoint in body NED frame. This makes sense if all position control is externalized - e.g. useful to command 2 m/s^2 acceleration to the right. | */
162 MAV_FRAME_BODY_OFFSET_NED=9, /* Offset in body NED frame. This makes sense if adding setpoints to the current flight path, to avoid an obstacle - e.g. useful to command 2 m/s^2 acceleration to the east. | */
163 MAV_FRAME_GLOBAL_TERRAIN_ALT=10, /* Global (WGS84) coordinate frame with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees, second value / y: longitude in degrees, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | */
164 MAV_FRAME_GLOBAL_TERRAIN_ALT_INT=11, /* Global (WGS84) coordinate frame (scaled) with AGL altitude (at the waypoint coordinate). First value / x: latitude in degrees*10e-7, second value / y: longitude in degrees*10e-7, third value / z: positive altitude in meters with 0 being at ground level in terrain model. | */
165 MAV_FRAME_BODY_FRD=12, /* Body fixed frame of reference, Z-down (x: Forward, y: Right, z: Down). | */
166 MAV_FRAME_RESERVED_13=13, /* MAV_FRAME_BODY_FLU - Body fixed frame of reference, Z-up (x: Forward, y: Left, z: Up). | */
167 MAV_FRAME_RESERVED_14=14, /* MAV_FRAME_MOCAP_NED - Odometry local coordinate frame of data given by a motion capture system, Z-down (x: North, y: East, z: Down). | */
168 MAV_FRAME_RESERVED_15=15, /* MAV_FRAME_MOCAP_ENU - Odometry local coordinate frame of data given by a motion capture system, Z-up (x: East, y: North, z: Up). | */
169 MAV_FRAME_RESERVED_16=16, /* MAV_FRAME_VISION_NED - Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: North, y: East, z: Down). | */
170 MAV_FRAME_RESERVED_17=17, /* MAV_FRAME_VISION_ENU - Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: East, y: North, z: Up). | */
171 MAV_FRAME_RESERVED_18=18, /* MAV_FRAME_ESTIM_NED - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: North, y: East, z: Down). | */
172 MAV_FRAME_RESERVED_19=19, /* MAV_FRAME_ESTIM_ENU - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: East, y: North, z: Up). | */
173 MAV_FRAME_LOCAL_FRD=20, /* Forward, Right, Down coordinate frame. This is a local frame with Z-down and arbitrary F/R alignment (i.e. not aligned with NED/earth frame). | */
174 MAV_FRAME_LOCAL_FLU=21, /* Forward, Left, Up coordinate frame. This is a local frame with Z-up and arbitrary F/L alignment (i.e. not aligned with ENU/earth frame). | */
175 MAV_FRAME_ENUM_END=22, /* | */
176 } MAV_FRAME;
177 #endif
179 /** @brief */
180 #ifndef HAVE_ENUM_MAVLINK_DATA_STREAM_TYPE
181 #define HAVE_ENUM_MAVLINK_DATA_STREAM_TYPE
182 typedef enum MAVLINK_DATA_STREAM_TYPE
184 MAVLINK_DATA_STREAM_IMG_JPEG=0, /* | */
185 MAVLINK_DATA_STREAM_IMG_BMP=1, /* | */
186 MAVLINK_DATA_STREAM_IMG_RAW8U=2, /* | */
187 MAVLINK_DATA_STREAM_IMG_RAW32U=3, /* | */
188 MAVLINK_DATA_STREAM_IMG_PGM=4, /* | */
189 MAVLINK_DATA_STREAM_IMG_PNG=5, /* | */
190 MAVLINK_DATA_STREAM_TYPE_ENUM_END=6, /* | */
191 } MAVLINK_DATA_STREAM_TYPE;
192 #endif
194 /** @brief */
195 #ifndef HAVE_ENUM_FENCE_ACTION
196 #define HAVE_ENUM_FENCE_ACTION
197 typedef enum FENCE_ACTION
199 FENCE_ACTION_NONE=0, /* Disable fenced mode | */
200 FENCE_ACTION_GUIDED=1, /* Switched to guided mode to return point (fence point 0) | */
201 FENCE_ACTION_REPORT=2, /* Report fence breach, but don't take action | */
202 FENCE_ACTION_GUIDED_THR_PASS=3, /* Switched to guided mode to return point (fence point 0) with manual throttle control | */
203 FENCE_ACTION_RTL=4, /* Switch to RTL (return to launch) mode and head for the return point. | */
204 FENCE_ACTION_ENUM_END=5, /* | */
205 } FENCE_ACTION;
206 #endif
208 /** @brief */
209 #ifndef HAVE_ENUM_FENCE_BREACH
210 #define HAVE_ENUM_FENCE_BREACH
211 typedef enum FENCE_BREACH
213 FENCE_BREACH_NONE=0, /* No last fence breach | */
214 FENCE_BREACH_MINALT=1, /* Breached minimum altitude | */
215 FENCE_BREACH_MAXALT=2, /* Breached maximum altitude | */
216 FENCE_BREACH_BOUNDARY=3, /* Breached fence boundary | */
217 FENCE_BREACH_ENUM_END=4, /* | */
218 } FENCE_BREACH;
219 #endif
221 /** @brief Actions being taken to mitigate/prevent fence breach */
222 #ifndef HAVE_ENUM_FENCE_MITIGATE
223 #define HAVE_ENUM_FENCE_MITIGATE
224 typedef enum FENCE_MITIGATE
226 FENCE_MITIGATE_UNKNOWN=0, /* Unknown | */
227 FENCE_MITIGATE_NONE=1, /* No actions being taken | */
228 FENCE_MITIGATE_VEL_LIMIT=2, /* Velocity limiting active to prevent breach | */
229 FENCE_MITIGATE_ENUM_END=3, /* | */
230 } FENCE_MITIGATE;
231 #endif
233 /** @brief Enumeration of possible mount operation modes. This message is used by obsolete/deprecated gimbal messages. */
234 #ifndef HAVE_ENUM_MAV_MOUNT_MODE
235 #define HAVE_ENUM_MAV_MOUNT_MODE
236 typedef enum MAV_MOUNT_MODE
238 MAV_MOUNT_MODE_RETRACT=0, /* Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization | */
239 MAV_MOUNT_MODE_NEUTRAL=1, /* Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. | */
240 MAV_MOUNT_MODE_MAVLINK_TARGETING=2, /* Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization | */
241 MAV_MOUNT_MODE_RC_TARGETING=3, /* Load neutral position and start RC Roll,Pitch,Yaw control with stabilization | */
242 MAV_MOUNT_MODE_GPS_POINT=4, /* Load neutral position and start to point to Lat,Lon,Alt | */
243 MAV_MOUNT_MODE_SYSID_TARGET=5, /* Gimbal tracks system with specified system ID | */
244 MAV_MOUNT_MODE_HOME_LOCATION=6, /* Gimbal tracks home location | */
245 MAV_MOUNT_MODE_ENUM_END=7, /* | */
246 } MAV_MOUNT_MODE;
247 #endif
249 /** @brief Gimbal device (low level) capability flags (bitmap) */
250 #ifndef HAVE_ENUM_GIMBAL_DEVICE_CAP_FLAGS
251 #define HAVE_ENUM_GIMBAL_DEVICE_CAP_FLAGS
252 typedef enum GIMBAL_DEVICE_CAP_FLAGS
254 GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT=1, /* Gimbal device supports a retracted position | */
255 GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL=2, /* Gimbal device supports a horizontal, forward looking position, stabilized | */
256 GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS=4, /* Gimbal device supports rotating around roll axis. | */
257 GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW=8, /* Gimbal device supports to follow a roll angle relative to the vehicle | */
258 GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK=16, /* Gimbal device supports locking to an roll angle (generally that's the default with roll stabilized) | */
259 GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS=32, /* Gimbal device supports rotating around pitch axis. | */
260 GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW=64, /* Gimbal device supports to follow a pitch angle relative to the vehicle | */
261 GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK=128, /* Gimbal device supports locking to an pitch angle (generally that's the default with pitch stabilized) | */
262 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS=256, /* Gimbal device supports rotating around yaw axis. | */
263 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW=512, /* Gimbal device supports to follow a yaw angle relative to the vehicle (generally that's the default) | */
264 GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK=1024, /* Gimbal device supports locking to an absolute heading (often this is an option available) | */
265 GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW=2048, /* Gimbal device supports yawing/panning infinetely (e.g. using slip disk). | */
266 GIMBAL_DEVICE_CAP_FLAGS_ENUM_END=2049, /* | */
267 } GIMBAL_DEVICE_CAP_FLAGS;
268 #endif
270 /** @brief Gimbal manager high level capability flags (bitmap). The first 16 bits are identical to the GIMBAL_DEVICE_CAP_FLAGS which are identical with GIMBAL_DEVICE_FLAGS. However, the gimbal manager does not need to copy the flags from the gimbal but can also enhance the capabilities and thus add flags. */
271 #ifndef HAVE_ENUM_GIMBAL_MANAGER_CAP_FLAGS
272 #define HAVE_ENUM_GIMBAL_MANAGER_CAP_FLAGS
273 typedef enum GIMBAL_MANAGER_CAP_FLAGS
275 GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT=1, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT. | */
276 GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL=2, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL. | */
277 GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS=4, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS. | */
278 GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW=8, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW. | */
279 GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK=16, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK. | */
280 GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS=32, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS. | */
281 GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW=64, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW. | */
282 GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK=128, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK. | */
283 GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS=256, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS. | */
284 GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW=512, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW. | */
285 GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK=1024, /* Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK. | */
286 GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW=2048, /* Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW. | */
287 GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL=65536, /* Gimbal manager supports to point to a local position. | */
288 GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL=131072, /* Gimbal manager supports to point to a global latitude, longitude, altitude position. | */
289 GIMBAL_MANAGER_CAP_FLAGS_ENUM_END=131073, /* | */
290 } GIMBAL_MANAGER_CAP_FLAGS;
291 #endif
293 /** @brief Flags for gimbal device (lower level) operation. */
294 #ifndef HAVE_ENUM_GIMBAL_DEVICE_FLAGS
295 #define HAVE_ENUM_GIMBAL_DEVICE_FLAGS
296 typedef enum GIMBAL_DEVICE_FLAGS
298 GIMBAL_DEVICE_FLAGS_RETRACT=1, /* Set to retracted safe position (no stabilization), takes presedence over all other flags. | */
299 GIMBAL_DEVICE_FLAGS_NEUTRAL=2, /* Set to neutral position (horizontal, forward looking, with stabiliziation), takes presedence over all other flags except RETRACT. | */
300 GIMBAL_DEVICE_FLAGS_ROLL_LOCK=4, /* Lock roll angle to absolute angle relative to horizon (not relative to drone). This is generally the default with a stabilizing gimbal. | */
301 GIMBAL_DEVICE_FLAGS_PITCH_LOCK=8, /* Lock pitch angle to absolute angle relative to horizon (not relative to drone). This is generally the default. | */
302 GIMBAL_DEVICE_FLAGS_YAW_LOCK=16, /* Lock yaw angle to absolute angle relative to North (not relative to drone). If this flag is set, the quaternion is in the Earth frame with the x-axis pointing North (yaw absolute). If this flag is not set, the quaternion frame is in the Earth frame rotated so that the x-axis is pointing forward (yaw relative to vehicle). | */
303 GIMBAL_DEVICE_FLAGS_ENUM_END=17, /* | */
304 } GIMBAL_DEVICE_FLAGS;
305 #endif
307 /** @brief Flags for high level gimbal manager operation The first 16 bytes are identical to the GIMBAL_DEVICE_FLAGS. */
308 #ifndef HAVE_ENUM_GIMBAL_MANAGER_FLAGS
309 #define HAVE_ENUM_GIMBAL_MANAGER_FLAGS
310 typedef enum GIMBAL_MANAGER_FLAGS
312 GIMBAL_MANAGER_FLAGS_RETRACT=1, /* Based on GIMBAL_DEVICE_FLAGS_RETRACT | */
313 GIMBAL_MANAGER_FLAGS_NEUTRAL=2, /* Based on GIMBAL_DEVICE_FLAGS_NEUTRAL | */
314 GIMBAL_MANAGER_FLAGS_ROLL_LOCK=4, /* Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK | */
315 GIMBAL_MANAGER_FLAGS_PITCH_LOCK=8, /* Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK | */
316 GIMBAL_MANAGER_FLAGS_YAW_LOCK=16, /* Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK | */
317 GIMBAL_MANAGER_FLAGS_ENUM_END=17, /* | */
318 } GIMBAL_MANAGER_FLAGS;
319 #endif
321 /** @brief Gimbal device (low level) error flags (bitmap, 0 means no error) */
322 #ifndef HAVE_ENUM_GIMBAL_DEVICE_ERROR_FLAGS
323 #define HAVE_ENUM_GIMBAL_DEVICE_ERROR_FLAGS
324 typedef enum GIMBAL_DEVICE_ERROR_FLAGS
326 GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT=1, /* Gimbal device is limited by hardware roll limit. | */
327 GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT=2, /* Gimbal device is limited by hardware pitch limit. | */
328 GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT=4, /* Gimbal device is limited by hardware yaw limit. | */
329 GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR=8, /* There is an error with the gimbal encoders. | */
330 GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR=16, /* There is an error with the gimbal power source. | */
331 GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR=32, /* There is an error with the gimbal motor's. | */
332 GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR=64, /* There is an error with the gimbal's software. | */
333 GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR=128, /* There is an error with the gimbal's communication. | */
334 GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING=256, /* Gimbal is currently calibrating. | */
335 GIMBAL_DEVICE_ERROR_FLAGS_ENUM_END=257, /* | */
336 } GIMBAL_DEVICE_ERROR_FLAGS;
337 #endif
339 /** @brief Gripper actions. */
340 #ifndef HAVE_ENUM_GRIPPER_ACTIONS
341 #define HAVE_ENUM_GRIPPER_ACTIONS
342 typedef enum GRIPPER_ACTIONS
344 GRIPPER_ACTION_RELEASE=0, /* Gripper release cargo. | */
345 GRIPPER_ACTION_GRAB=1, /* Gripper grab onto cargo. | */
346 GRIPPER_ACTIONS_ENUM_END=2, /* | */
347 } GRIPPER_ACTIONS;
348 #endif
350 /** @brief Winch actions. */
351 #ifndef HAVE_ENUM_WINCH_ACTIONS
352 #define HAVE_ENUM_WINCH_ACTIONS
353 typedef enum WINCH_ACTIONS
355 WINCH_RELAXED=0, /* Relax winch. | */
356 WINCH_RELATIVE_LENGTH_CONTROL=1, /* Wind or unwind specified length of cable, optionally using specified rate. | */
357 WINCH_RATE_CONTROL=2, /* Wind or unwind cable at specified rate. | */
358 WINCH_ACTIONS_ENUM_END=3, /* | */
359 } WINCH_ACTIONS;
360 #endif
362 /** @brief Generalized UAVCAN node health */
363 #ifndef HAVE_ENUM_UAVCAN_NODE_HEALTH
364 #define HAVE_ENUM_UAVCAN_NODE_HEALTH
365 typedef enum UAVCAN_NODE_HEALTH
367 UAVCAN_NODE_HEALTH_OK=0, /* The node is functioning properly. | */
368 UAVCAN_NODE_HEALTH_WARNING=1, /* A critical parameter went out of range or the node has encountered a minor failure. | */
369 UAVCAN_NODE_HEALTH_ERROR=2, /* The node has encountered a major failure. | */
370 UAVCAN_NODE_HEALTH_CRITICAL=3, /* The node has suffered a fatal malfunction. | */
371 UAVCAN_NODE_HEALTH_ENUM_END=4, /* | */
372 } UAVCAN_NODE_HEALTH;
373 #endif
375 /** @brief Generalized UAVCAN node mode */
376 #ifndef HAVE_ENUM_UAVCAN_NODE_MODE
377 #define HAVE_ENUM_UAVCAN_NODE_MODE
378 typedef enum UAVCAN_NODE_MODE
380 UAVCAN_NODE_MODE_OPERATIONAL=0, /* The node is performing its primary functions. | */
381 UAVCAN_NODE_MODE_INITIALIZATION=1, /* The node is initializing; this mode is entered immediately after startup. | */
382 UAVCAN_NODE_MODE_MAINTENANCE=2, /* The node is under maintenance. | */
383 UAVCAN_NODE_MODE_SOFTWARE_UPDATE=3, /* The node is in the process of updating its software. | */
384 UAVCAN_NODE_MODE_OFFLINE=7, /* The node is no longer available online. | */
385 UAVCAN_NODE_MODE_ENUM_END=8, /* | */
386 } UAVCAN_NODE_MODE;
387 #endif
389 /** @brief Indicates the ESC connection type. */
390 #ifndef HAVE_ENUM_ESC_CONNECTION_TYPE
391 #define HAVE_ENUM_ESC_CONNECTION_TYPE
392 typedef enum ESC_CONNECTION_TYPE
394 ESC_CONNECTION_TYPE_PPM=0, /* Traditional PPM ESC. | */
395 ESC_CONNECTION_TYPE_SERIAL=1, /* Serial Bus connected ESC. | */
396 ESC_CONNECTION_TYPE_ONESHOT=2, /* One Shot PPM ESC. | */
397 ESC_CONNECTION_TYPE_I2C=3, /* I2C ESC. | */
398 ESC_CONNECTION_TYPE_CAN=4, /* CAN-Bus ESC. | */
399 ESC_CONNECTION_TYPE_DSHOT=5, /* DShot ESC. | */
400 ESC_CONNECTION_TYPE_ENUM_END=6, /* | */
401 } ESC_CONNECTION_TYPE;
402 #endif
404 /** @brief Flags to report ESC failures. */
405 #ifndef HAVE_ENUM_ESC_FAILURE_FLAGS
406 #define HAVE_ENUM_ESC_FAILURE_FLAGS
407 typedef enum ESC_FAILURE_FLAGS
409 ESC_FAILURE_NONE=0, /* No ESC failure. | */
410 ESC_FAILURE_OVER_CURRENT=1, /* Over current failure. | */
411 ESC_FAILURE_OVER_VOLTAGE=2, /* Over voltage failure. | */
412 ESC_FAILURE_OVER_TEMPERATURE=4, /* Over temperature failure. | */
413 ESC_FAILURE_OVER_RPM=8, /* Over RPM failure. | */
414 ESC_FAILURE_INCONSISTENT_CMD=16, /* Inconsistent command failure i.e. out of bounds. | */
415 ESC_FAILURE_MOTOR_STUCK=32, /* Motor stuck failure. | */
416 ESC_FAILURE_GENERIC=64, /* Generic ESC failure. | */
417 ESC_FAILURE_FLAGS_ENUM_END=65, /* | */
418 } ESC_FAILURE_FLAGS;
419 #endif
421 /** @brief Flags to indicate the status of camera storage. */
422 #ifndef HAVE_ENUM_STORAGE_STATUS
423 #define HAVE_ENUM_STORAGE_STATUS
424 typedef enum STORAGE_STATUS
426 STORAGE_STATUS_EMPTY=0, /* Storage is missing (no microSD card loaded for example.) | */
427 STORAGE_STATUS_UNFORMATTED=1, /* Storage present but unformatted. | */
428 STORAGE_STATUS_READY=2, /* Storage present and ready. | */
429 STORAGE_STATUS_NOT_SUPPORTED=3, /* Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored. | */
430 STORAGE_STATUS_ENUM_END=4, /* | */
431 } STORAGE_STATUS;
432 #endif
434 /** @brief Flags to indicate the type of storage. */
435 #ifndef HAVE_ENUM_STORAGE_TYPE
436 #define HAVE_ENUM_STORAGE_TYPE
437 typedef enum STORAGE_TYPE
439 STORAGE_TYPE_UNKNOWN=0, /* Storage type is not known. | */
440 STORAGE_TYPE_USB_STICK=1, /* Storage type is USB device. | */
441 STORAGE_TYPE_SD=2, /* Storage type is SD card. | */
442 STORAGE_TYPE_MICROSD=3, /* Storage type is microSD card. | */
443 STORAGE_TYPE_CF=4, /* Storage type is CFast. | */
444 STORAGE_TYPE_CFE=5, /* Storage type is CFexpress. | */
445 STORAGE_TYPE_XQD=6, /* Storage type is XQD. | */
446 STORAGE_TYPE_HD=7, /* Storage type is HD mass storage type. | */
447 STORAGE_TYPE_OTHER=254, /* Storage type is other, not listed type. | */
448 STORAGE_TYPE_ENUM_END=255, /* | */
449 } STORAGE_TYPE;
450 #endif
452 /** @brief Yaw behaviour during orbit flight. */
453 #ifndef HAVE_ENUM_ORBIT_YAW_BEHAVIOUR
454 #define HAVE_ENUM_ORBIT_YAW_BEHAVIOUR
455 typedef enum ORBIT_YAW_BEHAVIOUR
457 ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER=0, /* Vehicle front points to the center (default). | */
458 ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING=1, /* Vehicle front holds heading when message received. | */
459 ORBIT_YAW_BEHAVIOUR_UNCONTROLLED=2, /* Yaw uncontrolled. | */
460 ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE=3, /* Vehicle front follows flight path (tangential to circle). | */
461 ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED=4, /* Yaw controlled by RC input. | */
462 ORBIT_YAW_BEHAVIOUR_ENUM_END=5, /* | */
463 } ORBIT_YAW_BEHAVIOUR;
464 #endif
466 /** @brief Possible responses from a WIFI_CONFIG_AP message. */
467 #ifndef HAVE_ENUM_WIFI_CONFIG_AP_RESPONSE
468 #define HAVE_ENUM_WIFI_CONFIG_AP_RESPONSE
469 typedef enum WIFI_CONFIG_AP_RESPONSE
471 WIFI_CONFIG_AP_RESPONSE_UNDEFINED=0, /* Undefined response. Likely an indicative of a system that doesn't support this request. | */
472 WIFI_CONFIG_AP_RESPONSE_ACCEPTED=1, /* Changes accepted. | */
473 WIFI_CONFIG_AP_RESPONSE_REJECTED=2, /* Changes rejected. | */
474 WIFI_CONFIG_AP_RESPONSE_MODE_ERROR=3, /* Invalid Mode. | */
475 WIFI_CONFIG_AP_RESPONSE_SSID_ERROR=4, /* Invalid SSID. | */
476 WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR=5, /* Invalid Password. | */
477 WIFI_CONFIG_AP_RESPONSE_ENUM_END=6, /* | */
478 } WIFI_CONFIG_AP_RESPONSE;
479 #endif
481 /** @brief Possible responses from a CELLULAR_CONFIG message. */
482 #ifndef HAVE_ENUM_CELLULAR_CONFIG_RESPONSE
483 #define HAVE_ENUM_CELLULAR_CONFIG_RESPONSE
484 typedef enum CELLULAR_CONFIG_RESPONSE
486 CELLULAR_CONFIG_RESPONSE_ACCEPTED=0, /* Changes accepted. | */
487 CELLULAR_CONFIG_RESPONSE_APN_ERROR=1, /* Invalid APN. | */
488 CELLULAR_CONFIG_RESPONSE_PIN_ERROR=2, /* Invalid PIN. | */
489 CELLULAR_CONFIG_RESPONSE_REJECTED=3, /* Changes rejected. | */
490 CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED=4, /* PUK is required to unblock SIM card. | */
491 CELLULAR_CONFIG_RESPONSE_ENUM_END=5, /* | */
492 } CELLULAR_CONFIG_RESPONSE;
493 #endif
495 /** @brief WiFi Mode. */
496 #ifndef HAVE_ENUM_WIFI_CONFIG_AP_MODE
497 #define HAVE_ENUM_WIFI_CONFIG_AP_MODE
498 typedef enum WIFI_CONFIG_AP_MODE
500 WIFI_CONFIG_AP_MODE_UNDEFINED=0, /* WiFi mode is undefined. | */
501 WIFI_CONFIG_AP_MODE_AP=1, /* WiFi configured as an access point. | */
502 WIFI_CONFIG_AP_MODE_STATION=2, /* WiFi configured as a station connected to an existing local WiFi network. | */
503 WIFI_CONFIG_AP_MODE_DISABLED=3, /* WiFi disabled. | */
504 WIFI_CONFIG_AP_MODE_ENUM_END=4, /* | */
505 } WIFI_CONFIG_AP_MODE;
506 #endif
508 /** @brief Possible values for COMPONENT_INFORMATION.comp_metadata_type. */
509 #ifndef HAVE_ENUM_COMP_METADATA_TYPE
510 #define HAVE_ENUM_COMP_METADATA_TYPE
511 typedef enum COMP_METADATA_TYPE
513 COMP_METADATA_TYPE_VERSION=0, /* Version information which also includes information on other optional supported COMP_METADATA_TYPE's. Must be supported. Only downloadable from vehicle. | */
514 COMP_METADATA_TYPE_PARAMETER=1, /* Parameter meta data. | */
515 COMP_METADATA_TYPE_COMMANDS=2, /* Meta data which specifies the commands the vehicle supports. (WIP) | */
516 COMP_METADATA_TYPE_ENUM_END=3, /* | */
517 } COMP_METADATA_TYPE;
518 #endif
520 /** @brief Possible transport layers to set and get parameters via mavlink during a parameter transaction. */
521 #ifndef HAVE_ENUM_PARAM_TRANSACTION_TRANSPORT
522 #define HAVE_ENUM_PARAM_TRANSACTION_TRANSPORT
523 typedef enum PARAM_TRANSACTION_TRANSPORT
525 PARAM_TRANSACTION_TRANSPORT_PARAM=0, /* Transaction over param transport. | */
526 PARAM_TRANSACTION_TRANSPORT_PARAM_EXT=1, /* Transaction over param_ext transport. | */
527 PARAM_TRANSACTION_TRANSPORT_ENUM_END=2, /* | */
528 } PARAM_TRANSACTION_TRANSPORT;
529 #endif
531 /** @brief Possible parameter transaction actions. */
532 #ifndef HAVE_ENUM_PARAM_TRANSACTION_ACTION
533 #define HAVE_ENUM_PARAM_TRANSACTION_ACTION
534 typedef enum PARAM_TRANSACTION_ACTION
536 PARAM_TRANSACTION_ACTION_START=0, /* Commit the current parameter transaction. | */
537 PARAM_TRANSACTION_ACTION_COMMIT=1, /* Commit the current parameter transaction. | */
538 PARAM_TRANSACTION_ACTION_CANCEL=2, /* Cancel the current parameter transaction. | */
539 PARAM_TRANSACTION_ACTION_ENUM_END=3, /* | */
540 } PARAM_TRANSACTION_ACTION;
541 #endif
543 /** @brief Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. NaN and INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component's current yaw or latitude rather than a specific value). See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries */
544 #ifndef HAVE_ENUM_MAV_CMD
545 #define HAVE_ENUM_MAV_CMD
546 typedef enum MAV_CMD
548 MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Acceptance radius (if the sphere with this radius is hit, the waypoint counts as reached)| 0 to pass through the WP, if > 0 radius to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| Desired yaw angle at waypoint (rotary wing). NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
549 MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |Empty| Empty| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise| Desired yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
550 MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |Number of turns.| Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
551 MAV_CMD_NAV_LOITER_TIME=19, /* Loiter at the specified latitude, longitude and altitude for a certain amount of time. Multicopter vehicles stop at the point (within a vehicle-specific acceptance radius). Forward-only moving vehicles (e.g. fixed-wing) circle the point with the specified radius/direction. If the Heading Required parameter (2) is non-zero forward moving aircraft will only leave the loiter circle once heading towards the next waypoint. |Loiter time (only starts once Lat, Lon and Alt is reached).| Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise.| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
552 MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
553 MAV_CMD_NAV_LAND=21, /* Land at location. |Minimum target altitude if landing is aborted (0 = undefined/use system default).| Precision land mode.| Empty.| Desired yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude.| Longitude.| Landing altitude (ground level in current frame).| */
554 MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand. Vehicles that support multiple takeoff modes (e.g. VTOL quadplane) should take off using the currently configured mode. |Minimum pitch (if airspeed sensor present), desired pitch without sensor| Empty| Empty| Yaw angle (if magnetometer present), ignored without magnetometer. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
555 MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |Landing target number (if available)| Maximum accepted offset from desired landing position - 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| Landing descend rate| Desired yaw angle| Y-axis position| X-axis position| Z-axis / ground level position| */
556 MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |Minimum pitch (if airspeed sensor present), desired pitch without sensor| Empty| Takeoff ascend rate| Yaw angle (if magnetometer or another yaw estimation source present), ignored without one of these| Y-axis position| X-axis position| Z-axis position| */
557 MAV_CMD_NAV_FOLLOW=25, /* Vehicle following, i.e. this waypoint represents the position of a moving vehicle |Following logic to use (e.g. loitering or sinusoidal following) - depends on specific autopilot implementation| Ground speed of vehicle to be followed| Radius around waypoint. If positive loiter clockwise, else counter-clockwise| Desired yaw angle.| Latitude| Longitude| Altitude| */
558 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. |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.| Empty| Empty| Empty| Empty| Empty| Desired altitude| */
559 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. |Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| Empty| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
560 MAV_CMD_DO_FOLLOW=32, /* Begin following a target |System ID (of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode.| Reserved| Reserved| Altitude mode: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home.| Altitude above home. (used if mode=2)| Reserved| Time to land in which the MAV should go to the default position hold mode after a message RX timeout.| */
561 MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target| X offset from target| Y offset from target| */
562 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. |Radius of the circle. positive: Orbit clockwise. negative: Orbit counter-clockwise.| Tangential Velocity. NaN: Vehicle configuration default.| Yaw behavior of the vehicle.| Reserved (e.g. for dynamic center beacon options)| 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.| 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.| 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.| */
563 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 vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode.| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
564 MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 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| Empty| Yaw angle at goal| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
565 MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Empty| Empty| Empty| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
566 MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that dont support both VTOL and fixed-wing flight (multicopters, boats,etc.). |Empty| Front transition heading.| Empty| Yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
567 MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |Empty| Empty| Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| Yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude (ground level)| */
568 MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |On / Off (> 0.5f on)| Empty| Empty| Empty| Empty| Empty| Empty| */
569 MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |Delay (-1 to enable time-of-day fields)| hour (24h format, UTC, -1 to ignore)| minute (24h format, UTC, -1 to ignore)| second (24h format, UTC, -1 to ignore)| Empty| Empty| Empty| */
570 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. |Maximum distance to descend.| Empty| Empty| Empty| Latitude| Longitude| Altitude| */
571 MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
572 MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |Delay| Empty| Empty| Empty| Empty| Empty| Empty| */
573 MAV_CMD_CONDITION_CHANGE_ALT=113, /* Ascend/descend to target altitude at specified rate. Delay mission state machine until desired altitude reached. |Descent / Ascend rate.| Empty| Empty| Empty| Empty| Empty| Target Altitude| */
574 MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |Distance.| Empty| Empty| Empty| Empty| Empty| Empty| */
575 MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |target angle, 0 is north| angular speed| direction: -1: counter clockwise, 1: clockwise| 0: absolute angle, 1: relative offset| Empty| Empty| Empty| */
576 MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
577 MAV_CMD_DO_SET_MODE=176, /* Set system mode. |Mode| Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| Empty| Empty| Empty| Empty| */
578 MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |Sequence number| Repeat count| Empty| Empty| Empty| Empty| Empty| */
579 MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |Speed type (0=Airspeed, 1=Ground Speed, 2=Climb Speed, 3=Descent Speed)| Speed (-1 indicates no change)| Throttle (-1 indicates no change)| 0: absolute, 1: relative| Empty| Empty| Empty| */
580 MAV_CMD_DO_SET_HOME=179, /* Changes the home location either to the current location or a specified location. |Use current (1=use current location, 0=use specified location)| Empty| Empty| Yaw angle. NaN to use default heading| Latitude| Longitude| Altitude| */
581 MAV_CMD_DO_SET_PARAMETER=180, /* Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. |Parameter number| Parameter value| Empty| Empty| Empty| Empty| Empty| */
582 MAV_CMD_DO_SET_RELAY=181, /* Set a relay to a condition. |Relay instance number.| Setting. (1=on, 0=off, others possible depending on system hardware)| Empty| Empty| Empty| Empty| Empty| */
583 MAV_CMD_DO_REPEAT_RELAY=182, /* Cycle a relay on and off for a desired number of cycles with a desired period. |Relay instance number.| Cycle count.| Cycle time.| Empty| Empty| Empty| Empty| */
584 MAV_CMD_DO_SET_SERVO=183, /* Set a servo to a desired PWM value. |Servo instance number.| Pulse Width Modulation.| Empty| Empty| Empty| Empty| Empty| */
585 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. |Servo instance number.| Pulse Width Modulation.| Cycle count.| Cycle time.| Empty| Empty| Empty| */
586 MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |Flight termination activated if > 0.5| Empty| Empty| Empty| Empty| Empty| Empty| */
587 MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |Altitude.| Frame of new altitude.| Empty| Empty| Empty| Empty| Empty| */
588 MAV_CMD_DO_SET_ACTUATOR=187, /* Sets actuators (e.g. servos) to a desired value. The actuator numbers are mapped to specific outputs (e.g. on any MAIN or AUX PWM or UAVCAN) using a flight-stack specific mechanism (i.e. a parameter). |Actuator 1 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 2 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 3 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 4 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 5 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 6 value, scaled from [-1 to 1]. NaN to ignore.| Index of actuator set (i.e if set to 1, Actuator 1 becomes Actuator 7)| */
589 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. |Empty| Empty| Empty| Empty| Latitude| Longitude| Empty| */
590 MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |Break altitude| Landing speed| Empty| Empty| Empty| Empty| Empty| */
591 MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |Altitude| Empty| Empty| Empty| Empty| Empty| Empty| */
592 MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. |Ground speed, less than 0 (-1) for default| Bitmask of option flags.| Reserved| Yaw heading. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.). For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| Latitude| Longitude| Altitude| */
593 MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |0: Pause current mission or reposition command, hold 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.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
594 MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |Direction (0=Forward, 1=Reverse)| Empty| Empty| Empty| Empty| Empty| Empty| */
595 MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal is not to react to this message. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Latitude of ROI location| Longitude of ROI location| Altitude of ROI location| */
596 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 vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Pitch offset from next waypoint, positive pitching up| Roll offset from next waypoint, positive rolling to the right| Yaw offset from next waypoint, positive yawing to the right| */
597 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 vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. After this command the gimbal manager should go back to manual input if available, and otherwise assume a neutral position. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Empty| Empty| Empty| */
598 MAV_CMD_DO_SET_ROI_SYSID=198, /* Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. |System ID| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
599 MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |Camera ID (-1 for all)| Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| Transmission mode: 0: video stream, >0: single images every n seconds| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
600 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 vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode.| Waypoint index/ target ID (depends on param 1).| Region of interest index. (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
601 MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* Configure 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 ). |Modes: P, TV, AV, M, Etc.| Shutter speed: Divisor number for one second.| Aperture: F stop number.| ISO number e.g. 80, 100, 200, Etc.| Exposure type enumerator.| Command Identity.| Main engine cut-off time before camera trigger. (0 means no cut-off)| */
602 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 ). |Session control e.g. show/hide lens| Zoom's absolute position| Zooming step value to offset zoom from the current position| Focus Locking, Unlocking or Re-locking| Shooting Command| Command Identity| Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
603 MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
604 MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |pitch depending on mount mode (degrees or degrees/second depending on pitch input).| roll depending on mount mode (degrees or degrees/second depending on roll input).| yaw depending on mount mode (degrees or degrees/second depending on yaw input).| altitude depending on mount mode.| latitude, set if appropriate mount mode.| longitude, set if appropriate mount mode.| Mount mode.| */
605 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. |Camera trigger distance. 0 to stop triggering.| Camera shutter integration time. -1 or 0 to ignore| Trigger camera once immediately. (0 = no trigger, 1 = trigger)| Empty| Empty| Empty| Empty| */
606 MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |enable? (0=disable, 1=enable, 2=disable_floor_only)| Empty| Empty| Empty| Empty| Empty| Empty| */
607 MAV_CMD_DO_PARACHUTE=208, /* Mission item/command to release a parachute or enable/disable auto release. |Action| Empty| Empty| Empty| Empty| Empty| Empty| */
608 MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test. |Motor instance number. (from 1 to max number of motors on the vehicle)| Throttle type.| Throttle.| Timeout.| 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...)| Motor test order.| Empty| */
609 MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight. |Inverted flight. (0=normal, 1=inverted)| Empty| Empty| Empty| Empty| Empty| Empty| */
610 MAV_CMD_DO_GRIPPER=211, /* Mission command to operate a gripper. |Gripper instance number.| Gripper action to perform.| Empty| Empty| Empty| Empty| Empty| */
611 MAV_CMD_DO_AUTOTUNE_ENABLE=212, /* Enable/disable autotune. |Enable (1: enable, 0:disable).| Empty.| Empty.| Empty.| Empty.| Empty.| Empty.| */
612 MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change. |Yaw angle to adjust steering by.| Speed.| Final angle. (0=absolute, 1=relative)| Empty| Empty| Empty| Empty| */
613 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. |Camera trigger cycle time. -1 or 0 to ignore.| Camera shutter integration time. Should be less than trigger cycle time. -1 or 0 to ignore.| Empty| Empty| Empty| Empty| Empty| */
614 MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |quaternion param q1, w (1 in null-rotation)| quaternion param q2, x (0 in null-rotation)| quaternion param q3, y (0 in null-rotation)| quaternion param q4, z (0 in null-rotation)| Empty| Empty| Empty| */
615 MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |System ID| Component ID| Empty| Empty| Empty| Empty| Empty| */
616 MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout.| Altitude (MSL) min - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| Altitude (MSL) max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| Horizontal move limit - 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.| Empty| Empty| Empty| */
617 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 |0: Stop engine, 1:Start Engine| 0: Warm start, 1:Cold start. Controls use of choke where applicable| Height delay. 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.| Empty| Empty| Empty| Empty| */
618 MAV_CMD_DO_SET_MISSION_CURRENT=224, /* Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between). |Mission sequence value to set| Empty| Empty| Empty| Empty| Empty| Empty| */
619 MAV_CMD_DO_LAST=240, /* NOP - This command is only used to mark the upper limit of the DO commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
620 MAV_CMD_PREFLIGHT_CALIBRATION=241, /* Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero. |1: gyro calibration, 3: gyro temperature calibration| 1: magnetometer calibration| 1: ground pressure calibration| 1: radio RC calibration, 2: RC trim calibration| 1: accelerometer calibration, 2: board level calibration, 3: accelerometer temperature calibration, 4: simple accelerometer calibration| 1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration| 1: ESC calibration, 3: barometer temperature calibration| */
621 MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS=242, /* Set sensor offsets. This command will be only accepted if in pre-flight mode. |Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer, 6: third magnetometer| X axis offset (or generic dimension 1), in the sensor's raw units| Y axis offset (or generic dimension 2), in the sensor's raw units| Z axis offset (or generic dimension 3), in the sensor's raw units| Generic dimension 4, in the sensor's raw units| Generic dimension 5, in the sensor's raw units| Generic dimension 6, in the sensor's raw units| */
622 MAV_CMD_PREFLIGHT_UAVCAN=243, /* Trigger UAVCAN configuration (actuator ID assignment and direction mapping). Note that this maps to the legacy UAVCAN v0 function UAVCAN_ENUMERATE, which is intended to be executed just once during initial vehicle configuration (it is not a normal pre-flight command and has been poorly named). |1: Trigger actuator ID assignment and direction mapping. 0: Cancel command.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
623 MAV_CMD_PREFLIGHT_STORAGE=245, /* Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. |Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults| Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM, 2: Reset to defaults| Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, > 1: logging rate (e.g. set to 1000 for 1000 Hz logging)| Reserved| Empty| Empty| Empty| */
624 MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN=246, /* Request the reboot or shutdown of system components. |0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot, 3: Reboot autopilot and keep it in the bootloader until upgraded.| 0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer, 3: Reboot onboard computer and keep it in the bootloader until upgraded.| WIP: 0: Do nothing for camera, 1: Reboot onboard camera, 2: Shutdown onboard camera, 3: Reboot onboard camera and keep it in the bootloader until upgraded| WIP: 0: Do nothing for mount (e.g. gimbal), 1: Reboot mount, 2: Shutdown mount, 3: Reboot mount and keep it in the bootloader until upgraded| Reserved (set to 0)| Reserved (set to 0)| WIP: ID (e.g. camera ID -1 for all IDs)| */
625 MAV_CMD_DO_UPGRADE=247, /* Request a target system to start an upgrade of one (or all) of its components. For example, the command might be sent to a companion computer to cause it to upgrade a connected flight controller. The system doing the upgrade will report progress using the normal command protocol sequence for a long running operation. Command protocol information: https://mavlink.io/en/services/command.html. |Component id of the component to be upgraded. If set to 0, all components should be upgraded.| 0: Do not reboot component after the action is executed, 1: Reboot component after the action is executed.| Reserved| Reserved| Reserved| Reserved| WIP: upgrade progress report rate (can be used for more granular control).| */
626 MAV_CMD_OVERRIDE_GOTO=252, /* Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position. |MAV_GOTO_DO_HOLD: pause mission and either hold or move to specified position (depending on param2), MAV_GOTO_DO_CONTINUE: resume mission.| MAV_GOTO_HOLD_AT_CURRENT_POSITION: hold at current position, MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position.| Coordinate frame of hold point.| Desired yaw angle.| Latitude/X position.| Longitude/Y position.| Altitude/Z position.| */
627 MAV_CMD_OBLIQUE_SURVEY=260, /* Mission command to set a Camera Auto Mount Pivoting Oblique Survey (Replaces CAM_TRIGG_DIST for this purpose). The camera is triggered each time this distance is exceeded, then the mount moves to the next position. Params 4~6 set-up the angle limits and number of positions for oblique survey, where mount-enabled vehicles automatically roll the camera between shots to emulate an oblique camera setup (providing an increased HFOV). This command can also be used to set the shutter integration time for the camera. |Camera trigger distance. 0 to stop triggering.| Camera shutter integration time. 0 to ignore| The minimum interval in which the camera is capable of taking subsequent pictures repeatedly. 0 to ignore.| Total number of roll positions at which the camera will capture photos (images captures spread evenly across the limits defined by param5).| Angle limits that the camera can be rolled to left and right of center.| Fixed pitch angle that the camera will hold in oblique mode if the mount is actuated in the pitch axis.| Empty| */
628 MAV_CMD_MISSION_START=300, /* start running a mission |first_item: the first mission item to run| last_item: the last mission item to run (after this item is run, the mission ends)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
629 MAV_CMD_COMPONENT_ARM_DISARM=400, /* Arms / Disarms a component |0: disarm, 1: arm| 0: arm-disarm unless prevented by safety checks (i.e. when landed), 21196: force arming/disarming (e.g. allow arming to override preflight checks and disarming in flight)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
630 MAV_CMD_ILLUMINATOR_ON_OFF=405, /* Turns illuminators ON/OFF. An illuminator is a light source that is used for lighting up dark areas external to the sytstem: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light). |0: Illuminators OFF, 1: Illuminators ON| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
631 MAV_CMD_GET_HOME_POSITION=410, /* Request the home position from the vehicle. |Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
632 MAV_CMD_INJECT_FAILURE=420, /* Inject artificial failure for testing purposes. Note that autopilots should implement an additional protection before accepting this command such as a specific param setting. |The unit which is affected by the failure.| The type how the failure manifests itself.| Instance affected by failure (0 to signal all).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
633 MAV_CMD_START_RX_PAIR=500, /* Starts receiver pairing. |0:Spektrum.| RC type.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
634 MAV_CMD_GET_MESSAGE_INTERVAL=510, /* Request the interval between messages for a particular MAVLink message ID. The receiver should ACK the command and then emit its response in a MESSAGE_INTERVAL message. |The MAVLink message ID| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
635 MAV_CMD_SET_MESSAGE_INTERVAL=511, /* Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM. |The MAVLink message ID| The interval between two messages. Set to -1 to disable and 0 to request default rate.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Target address of message stream (if message has target address fields). 0: Flight-stack default (recommended), 1: address of requestor, 2: broadcast.| */
636 MAV_CMD_REQUEST_MESSAGE=512, /* Request the target system(s) emit a single instance of a specified message (i.e. a "one-shot" version of MAV_CMD_SET_MESSAGE_INTERVAL). |The MAVLink message ID of the requested message.| Use for index ID, if required. Otherwise, the use of this parameter (if any) must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| Target address for requested message (if message has target address fields). 0: Flight-stack default, 1: address of requestor, 2: broadcast.| */
637 MAV_CMD_REQUEST_PROTOCOL_VERSION=519, /* Request MAVLink protocol version compatibility. All receivers should ACK the command and then emit their capabilities in an PROTOCOL_VERSION message |1: Request supported protocol versions by all nodes on the network| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
638 MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES=520, /* Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message |1: Request autopilot version| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
639 MAV_CMD_REQUEST_CAMERA_INFORMATION=521, /* Request camera information (CAMERA_INFORMATION). |0: No action 1: Request camera capabilities| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
640 MAV_CMD_REQUEST_CAMERA_SETTINGS=522, /* Request camera settings (CAMERA_SETTINGS). |0: No Action 1: Request camera settings| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
641 MAV_CMD_REQUEST_STORAGE_INFORMATION=525, /* Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. |Storage ID (0 for all, 1 for first, 2 for second, etc.)| 0: No Action 1: Request storage information| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
642 MAV_CMD_STORAGE_FORMAT=526, /* Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage. |Storage ID (1 for first, 2 for second, etc.)| Format storage (and reset image log). 0: No action 1: Format storage| Reset Image Log (without formatting storage medium). This will reset CAMERA_CAPTURE_STATUS.image_count and CAMERA_IMAGE_CAPTURED.image_index. 0: No action 1: Reset Image Log| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
643 MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS=527, /* Request camera capture status (CAMERA_CAPTURE_STATUS) |0: No Action 1: Request camera capture status| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
644 MAV_CMD_REQUEST_FLIGHT_INFORMATION=528, /* Request flight information (FLIGHT_INFORMATION) |1: Request flight information| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
645 MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |0: No Action 1: Reset all settings| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
646 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. |Reserved (Set to 0)| Camera mode| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
647 MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). |Zoom type| Zoom value. The range of valid values depend on the zoom type.| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
648 MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). |Focus type| Focus value| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
649 MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |Tag.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
650 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. |Target tag to jump to.| Repeat count.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
651 MAV_CMD_PARAM_TRANSACTION=900, /* Request to start or end a parameter transaction. Multiple kinds of transport layers can be used to exchange parameters in the transaction (param, param_ext and mavftp). The command response can either be a success/failure or an in progress in case the receiving side takes some time to apply the parameters. |Action to be performed (start, commit, cancel, etc.)| Possible transport layers to set and get parameters via mavlink during a parameter transaction.| Identifier for a specific transaction.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
652 MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW=1000, /* High level setpoint to be sent to a gimbal manager to set a gimbal attitude. It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: a gimbal is never to react to this command but only the gimbal manager. |Pitch angle (positive to pitch up, relative to vehicle for FOLLOW mode, relative to world horizon for LOCK mode).| Yaw angle (positive to yaw to the right, relative to vehicle for FOLLOW mode, absolute to North for LOCK mode).| Pitch rate (positive to pitch up).| Yaw rate (positive to yaw to the right).| Gimbal manager flags to use.| Reserved (default:0)| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| */
653 MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE=1001, /* Gimbal configuration to set which sysid/compid is in primary and secondary control. |Sysid for primary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Compid for primary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Sysid for secondary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Compid for secondary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Reserved (default:0)| Reserved (default:0)| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| */
654 MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. Sends CAMERA_IMAGE_CAPTURED after each capture. Use NaN for reserved values. |Reserved (Set to 0)| Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1), otherwise set to 0. Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted.| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| */
655 MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NaN for reserved values. |Reserved (Set to 0)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
656 MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURED message. |Sequence number for missing CAMERA_IMAGE_CAPTURED message| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
657 MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 1 to reset the trigger sequence, -1 or 0 to ignore| 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
658 MAV_CMD_CAMERA_TRACK_POINT=2004, /* If the camera supports point visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_POINT is set), this command allows to initiate the tracking. |Point to track x value (normalized 0..1, 0 is left, 1 is right).| Point to track y value (normalized 0..1, 0 is top, 1 is bottom).| Point radius (normalized 0..1, 0 is image left, 1 is image right).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
659 MAV_CMD_CAMERA_TRACK_RECTANGLE=2005, /* If the camera supports rectangle visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE is set), this command allows to initiate the tracking. |Top left corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).| Top left corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).| Bottom right corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).| Bottom right corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
660 MAV_CMD_CAMERA_STOP_TRACKING=2010, /* Stops ongoing tracking. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
661 MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). |Video Stream ID (0 for all streams)| Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| */
662 MAV_CMD_VIDEO_STOP_CAPTURE=2501, /* Stop the current video capture (recording). |Video Stream ID (0 for all streams)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| */
663 MAV_CMD_VIDEO_START_STREAMING=2502, /* Start video streaming |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
664 MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
665 MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
666 MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
667 MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |Format: 0: ULog| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
668 MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
669 MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |Landing gear ID (default: 0, -1 for all)| Landing gear position (Down: 0, Up: 1, NaN for no change)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| */
670 MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |Control transmission over high latency telemetry (0: stop, 1: start)| Empty| Empty| Empty| Empty| Empty| Empty| */
671 MAV_CMD_PANORAMA_CREATE=2800, /* Create a panorama at the current position |Viewing angle horizontal of the panorama (+- 0.5 the total angle)| Viewing angle vertical of panorama.| Speed of the horizontal rotation.| Speed of the vertical rotation.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
672 MAV_CMD_DO_VTOL_TRANSITION=3000, /* Request VTOL transition |The target VTOL state. Only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
673 MAV_CMD_ARM_AUTHORIZATION_REQUEST=3001, /* Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the progress of command_ack message should be set with period of time that this authorization is valid in seconds or in case it was denied it should be set with one of the reasons in ARM_AUTH_DENIED_REASON.
674 |Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
675 MAV_CMD_SET_GUIDED_SUBMODE_STANDARD=4000, /* This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes.
676 |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
677 MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE=4001, /* This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position.
678 |Radius of desired circle in CIRCLE_MODE| User defined| User defined| User defined| Target latitude of center of circle in CIRCLE_MODE| Target longitude of center of circle in CIRCLE_MODE| Reserved (default:0)| */
679 MAV_CMD_CONDITION_GATE=4501, /* Delay mission state machine until gate has been reached. |Geometry: 0: orthogonal to path between previous and next waypoint.| Altitude: 0: ignore altitude| Empty| Empty| Latitude| Longitude| Altitude| */
680 MAV_CMD_NAV_FENCE_RETURN_POINT=5000, /* Fence return point (there can only be one such point in a geofence definition). If rally points are supported they should be used instead. |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
681 MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION=5001, /* Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required.
682 |Polygon vertex count| Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group, must be the same for all points in each polygon| Reserved| Reserved| Latitude| Longitude| Reserved| */
683 MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION=5002, /* Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required.
684 |Polygon vertex count| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
685 MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION=5003, /* Circular fence area. The vehicle must stay inside this area.
686 |Radius.| Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group| Reserved| Reserved| Latitude| Longitude| Reserved| */
687 MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
688 |Radius.| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
689 MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
690 |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
691 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. |Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
692 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. |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.| Desired approach vector in compass heading. A negative value indicates the system can define the approach vector at will.| 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.| Minimum altitude clearance to the release position. A negative value indicates the system can define the clearance at will.| Latitude. Note, if used in MISSION_ITEM (deprecated) the units are degrees (unscaled)| Longitude. Note, if used in MISSION_ITEM (deprecated) the units are degrees (unscaled)| Altitude (MSL)| */
693 MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |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.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
694 MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
695 MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
696 MAV_CMD_WAYPOINT_USER_3=31002, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
697 MAV_CMD_WAYPOINT_USER_4=31003, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
698 MAV_CMD_WAYPOINT_USER_5=31004, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
699 MAV_CMD_SPATIAL_USER_1=31005, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
700 MAV_CMD_SPATIAL_USER_2=31006, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
701 MAV_CMD_SPATIAL_USER_3=31007, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
702 MAV_CMD_SPATIAL_USER_4=31008, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
703 MAV_CMD_SPATIAL_USER_5=31009, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
704 MAV_CMD_USER_1=31010, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
705 MAV_CMD_USER_2=31011, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
706 MAV_CMD_USER_3=31012, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
707 MAV_CMD_USER_4=31013, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
708 MAV_CMD_USER_5=31014, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
709 MAV_CMD_FIXED_MAG_CAL_YAW=42006, /* Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location. |Yaw of vehicle in earth frame.| CompassMask, 0 for all.| Latitude.| Longitude.| Empty.| Empty.| Empty.| */
710 MAV_CMD_DO_WINCH=42600, /* Command to operate winch. |Winch instance number.| Action to perform.| Length of cable to release (negative to wind).| Release rate (negative to wind).| Empty.| Empty.| Empty.| */
711 MAV_CMD_ENUM_END=42601, /* | */
712 } MAV_CMD;
713 #endif
715 /** @brief A data stream is not a fixed set of messages, but rather a
716 recommendation to the autopilot software. Individual autopilots may or may not obey
717 the recommended messages. */
718 #ifndef HAVE_ENUM_MAV_DATA_STREAM
719 #define HAVE_ENUM_MAV_DATA_STREAM
720 typedef enum MAV_DATA_STREAM
722 MAV_DATA_STREAM_ALL=0, /* Enable all data streams | */
723 MAV_DATA_STREAM_RAW_SENSORS=1, /* Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. | */
724 MAV_DATA_STREAM_EXTENDED_STATUS=2, /* Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS | */
725 MAV_DATA_STREAM_RC_CHANNELS=3, /* Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW | */
726 MAV_DATA_STREAM_RAW_CONTROLLER=4, /* Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. | */
727 MAV_DATA_STREAM_POSITION=6, /* Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages. | */
728 MAV_DATA_STREAM_EXTRA1=10, /* Dependent on the autopilot | */
729 MAV_DATA_STREAM_EXTRA2=11, /* Dependent on the autopilot | */
730 MAV_DATA_STREAM_EXTRA3=12, /* Dependent on the autopilot | */
731 MAV_DATA_STREAM_ENUM_END=13, /* | */
732 } MAV_DATA_STREAM;
733 #endif
735 /** @brief The ROI (region of interest) for the vehicle. This can be
736 be used by the vehicle for camera/vehicle attitude alignment (see
737 MAV_CMD_NAV_ROI). */
738 #ifndef HAVE_ENUM_MAV_ROI
739 #define HAVE_ENUM_MAV_ROI
740 typedef enum MAV_ROI
742 MAV_ROI_NONE=0, /* No region of interest. | */
743 MAV_ROI_WPNEXT=1, /* Point toward next waypoint, with optional pitch/roll/yaw offset. | */
744 MAV_ROI_WPINDEX=2, /* Point toward given waypoint. | */
745 MAV_ROI_LOCATION=3, /* Point toward fixed location. | */
746 MAV_ROI_TARGET=4, /* Point toward of given id. | */
747 MAV_ROI_ENUM_END=5, /* | */
748 } MAV_ROI;
749 #endif
751 /** @brief ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission. */
752 #ifndef HAVE_ENUM_MAV_CMD_ACK
753 #define HAVE_ENUM_MAV_CMD_ACK
754 typedef enum MAV_CMD_ACK
756 MAV_CMD_ACK_OK=0, /* Command / mission item is ok. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
757 MAV_CMD_ACK_ERR_FAIL=1, /* Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
758 MAV_CMD_ACK_ERR_ACCESS_DENIED=2, /* The system is refusing to accept this command from this source / communication partner. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
759 MAV_CMD_ACK_ERR_NOT_SUPPORTED=3, /* Command or mission item is not supported, other commands would be accepted. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
760 MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED=4, /* The coordinate frame of this command / mission item is not supported. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
761 MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE=5, /* The coordinate frame of this command is ok, but he coordinate values exceed the safety limits of this system. This is a generic error, please use the more specific error messages below if possible. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
762 MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE=6, /* The X or latitude value is out of range. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
763 MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE=7, /* The Y or longitude value is out of range. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
764 MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE=8, /* The Z or altitude value is out of range. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
765 MAV_CMD_ACK_ENUM_END=9, /* | */
766 } MAV_CMD_ACK;
767 #endif
769 /** @brief Specifies the datatype of a MAVLink parameter. */
770 #ifndef HAVE_ENUM_MAV_PARAM_TYPE
771 #define HAVE_ENUM_MAV_PARAM_TYPE
772 typedef enum MAV_PARAM_TYPE
774 MAV_PARAM_TYPE_UINT8=1, /* 8-bit unsigned integer | */
775 MAV_PARAM_TYPE_INT8=2, /* 8-bit signed integer | */
776 MAV_PARAM_TYPE_UINT16=3, /* 16-bit unsigned integer | */
777 MAV_PARAM_TYPE_INT16=4, /* 16-bit signed integer | */
778 MAV_PARAM_TYPE_UINT32=5, /* 32-bit unsigned integer | */
779 MAV_PARAM_TYPE_INT32=6, /* 32-bit signed integer | */
780 MAV_PARAM_TYPE_UINT64=7, /* 64-bit unsigned integer | */
781 MAV_PARAM_TYPE_INT64=8, /* 64-bit signed integer | */
782 MAV_PARAM_TYPE_REAL32=9, /* 32-bit floating-point | */
783 MAV_PARAM_TYPE_REAL64=10, /* 64-bit floating-point | */
784 MAV_PARAM_TYPE_ENUM_END=11, /* | */
785 } MAV_PARAM_TYPE;
786 #endif
788 /** @brief Specifies the datatype of a MAVLink extended parameter. */
789 #ifndef HAVE_ENUM_MAV_PARAM_EXT_TYPE
790 #define HAVE_ENUM_MAV_PARAM_EXT_TYPE
791 typedef enum MAV_PARAM_EXT_TYPE
793 MAV_PARAM_EXT_TYPE_UINT8=1, /* 8-bit unsigned integer | */
794 MAV_PARAM_EXT_TYPE_INT8=2, /* 8-bit signed integer | */
795 MAV_PARAM_EXT_TYPE_UINT16=3, /* 16-bit unsigned integer | */
796 MAV_PARAM_EXT_TYPE_INT16=4, /* 16-bit signed integer | */
797 MAV_PARAM_EXT_TYPE_UINT32=5, /* 32-bit unsigned integer | */
798 MAV_PARAM_EXT_TYPE_INT32=6, /* 32-bit signed integer | */
799 MAV_PARAM_EXT_TYPE_UINT64=7, /* 64-bit unsigned integer | */
800 MAV_PARAM_EXT_TYPE_INT64=8, /* 64-bit signed integer | */
801 MAV_PARAM_EXT_TYPE_REAL32=9, /* 32-bit floating-point | */
802 MAV_PARAM_EXT_TYPE_REAL64=10, /* 64-bit floating-point | */
803 MAV_PARAM_EXT_TYPE_CUSTOM=11, /* Custom Type | */
804 MAV_PARAM_EXT_TYPE_ENUM_END=12, /* | */
805 } MAV_PARAM_EXT_TYPE;
806 #endif
808 /** @brief Result from a MAVLink command (MAV_CMD) */
809 #ifndef HAVE_ENUM_MAV_RESULT
810 #define HAVE_ENUM_MAV_RESULT
811 typedef enum MAV_RESULT
813 MAV_RESULT_ACCEPTED=0, /* Command is valid (is supported and has valid parameters), and was executed. | */
814 MAV_RESULT_TEMPORARILY_REJECTED=1, /* Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can't arm because have not got GPS lock, etc.). Retrying later should work. | */
815 MAV_RESULT_DENIED=2, /* Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work. | */
816 MAV_RESULT_UNSUPPORTED=3, /* Command is not supported (unknown). | */
817 MAV_RESULT_FAILED=4, /* Command is valid, but execution has failed. This is used to indicate any non-temporary or unexpected problem, i.e. any problem that must be fixed before the command can succeed/be retried. For example, attempting to write a file when out of memory, attempting to arm when sensors are not calibrated, etc. | */
818 MAV_RESULT_IN_PROGRESS=5, /* Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation. | */
819 MAV_RESULT_CANCELLED=6, /* Command has been cancelled (as a result of receiving a COMMAND_CANCEL message). | */
820 MAV_RESULT_ENUM_END=7, /* | */
821 } MAV_RESULT;
822 #endif
824 /** @brief Result of mission operation (in a MISSION_ACK message). */
825 #ifndef HAVE_ENUM_MAV_MISSION_RESULT
826 #define HAVE_ENUM_MAV_MISSION_RESULT
827 typedef enum MAV_MISSION_RESULT
829 MAV_MISSION_ACCEPTED=0, /* mission accepted OK | */
830 MAV_MISSION_ERROR=1, /* Generic error / not accepting mission commands at all right now. | */
831 MAV_MISSION_UNSUPPORTED_FRAME=2, /* Coordinate frame is not supported. | */
832 MAV_MISSION_UNSUPPORTED=3, /* Command is not supported. | */
833 MAV_MISSION_NO_SPACE=4, /* Mission items exceed storage space. | */
834 MAV_MISSION_INVALID=5, /* One of the parameters has an invalid value. | */
835 MAV_MISSION_INVALID_PARAM1=6, /* param1 has an invalid value. | */
836 MAV_MISSION_INVALID_PARAM2=7, /* param2 has an invalid value. | */
837 MAV_MISSION_INVALID_PARAM3=8, /* param3 has an invalid value. | */
838 MAV_MISSION_INVALID_PARAM4=9, /* param4 has an invalid value. | */
839 MAV_MISSION_INVALID_PARAM5_X=10, /* x / param5 has an invalid value. | */
840 MAV_MISSION_INVALID_PARAM6_Y=11, /* y / param6 has an invalid value. | */
841 MAV_MISSION_INVALID_PARAM7=12, /* z / param7 has an invalid value. | */
842 MAV_MISSION_INVALID_SEQUENCE=13, /* Mission item received out of sequence | */
843 MAV_MISSION_DENIED=14, /* Not accepting any mission commands from this communication partner. | */
844 MAV_MISSION_OPERATION_CANCELLED=15, /* Current mission operation cancelled (e.g. mission upload, mission download). | */
845 MAV_MISSION_RESULT_ENUM_END=16, /* | */
846 } MAV_MISSION_RESULT;
847 #endif
849 /** @brief Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/. */
850 #ifndef HAVE_ENUM_MAV_SEVERITY
851 #define HAVE_ENUM_MAV_SEVERITY
852 typedef enum MAV_SEVERITY
854 MAV_SEVERITY_EMERGENCY=0, /* System is unusable. This is a "panic" condition. | */
855 MAV_SEVERITY_ALERT=1, /* Action should be taken immediately. Indicates error in non-critical systems. | */
856 MAV_SEVERITY_CRITICAL=2, /* Action must be taken immediately. Indicates failure in a primary system. | */
857 MAV_SEVERITY_ERROR=3, /* Indicates an error in secondary/redundant systems. | */
858 MAV_SEVERITY_WARNING=4, /* Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning. | */
859 MAV_SEVERITY_NOTICE=5, /* An unusual event has occurred, though not an error condition. This should be investigated for the root cause. | */
860 MAV_SEVERITY_INFO=6, /* Normal operational messages. Useful for logging. No action is required for these messages. | */
861 MAV_SEVERITY_DEBUG=7, /* Useful non-operational messages that can assist in debugging. These should not occur during normal operation. | */
862 MAV_SEVERITY_ENUM_END=8, /* | */
863 } MAV_SEVERITY;
864 #endif
866 /** @brief Power supply status flags (bitmask) */
867 #ifndef HAVE_ENUM_MAV_POWER_STATUS
868 #define HAVE_ENUM_MAV_POWER_STATUS
869 typedef enum MAV_POWER_STATUS
871 MAV_POWER_STATUS_BRICK_VALID=1, /* main brick power supply valid | */
872 MAV_POWER_STATUS_SERVO_VALID=2, /* main servo power supply valid for FMU | */
873 MAV_POWER_STATUS_USB_CONNECTED=4, /* USB power is connected | */
874 MAV_POWER_STATUS_PERIPH_OVERCURRENT=8, /* peripheral supply is in over-current state | */
875 MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT=16, /* hi-power peripheral supply is in over-current state | */
876 MAV_POWER_STATUS_CHANGED=32, /* Power status has changed since boot | */
877 MAV_POWER_STATUS_ENUM_END=33, /* | */
878 } MAV_POWER_STATUS;
879 #endif
881 /** @brief SERIAL_CONTROL device types */
882 #ifndef HAVE_ENUM_SERIAL_CONTROL_DEV
883 #define HAVE_ENUM_SERIAL_CONTROL_DEV
884 typedef enum SERIAL_CONTROL_DEV
886 SERIAL_CONTROL_DEV_TELEM1=0, /* First telemetry port | */
887 SERIAL_CONTROL_DEV_TELEM2=1, /* Second telemetry port | */
888 SERIAL_CONTROL_DEV_GPS1=2, /* First GPS port | */
889 SERIAL_CONTROL_DEV_GPS2=3, /* Second GPS port | */
890 SERIAL_CONTROL_DEV_SHELL=10, /* system shell | */
891 SERIAL_CONTROL_SERIAL0=100, /* SERIAL0 | */
892 SERIAL_CONTROL_SERIAL1=101, /* SERIAL1 | */
893 SERIAL_CONTROL_SERIAL2=102, /* SERIAL2 | */
894 SERIAL_CONTROL_SERIAL3=103, /* SERIAL3 | */
895 SERIAL_CONTROL_SERIAL4=104, /* SERIAL4 | */
896 SERIAL_CONTROL_SERIAL5=105, /* SERIAL5 | */
897 SERIAL_CONTROL_SERIAL6=106, /* SERIAL6 | */
898 SERIAL_CONTROL_SERIAL7=107, /* SERIAL7 | */
899 SERIAL_CONTROL_SERIAL8=108, /* SERIAL8 | */
900 SERIAL_CONTROL_SERIAL9=109, /* SERIAL9 | */
901 SERIAL_CONTROL_DEV_ENUM_END=110, /* | */
902 } SERIAL_CONTROL_DEV;
903 #endif
905 /** @brief SERIAL_CONTROL flags (bitmask) */
906 #ifndef HAVE_ENUM_SERIAL_CONTROL_FLAG
907 #define HAVE_ENUM_SERIAL_CONTROL_FLAG
908 typedef enum SERIAL_CONTROL_FLAG
910 SERIAL_CONTROL_FLAG_REPLY=1, /* Set if this is a reply | */
911 SERIAL_CONTROL_FLAG_RESPOND=2, /* Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message | */
912 SERIAL_CONTROL_FLAG_EXCLUSIVE=4, /* Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set | */
913 SERIAL_CONTROL_FLAG_BLOCKING=8, /* Block on writes to the serial port | */
914 SERIAL_CONTROL_FLAG_MULTI=16, /* Send multiple replies until port is drained | */
915 SERIAL_CONTROL_FLAG_ENUM_END=17, /* | */
916 } SERIAL_CONTROL_FLAG;
917 #endif
919 /** @brief Enumeration of distance sensor types */
920 #ifndef HAVE_ENUM_MAV_DISTANCE_SENSOR
921 #define HAVE_ENUM_MAV_DISTANCE_SENSOR
922 typedef enum MAV_DISTANCE_SENSOR
924 MAV_DISTANCE_SENSOR_LASER=0, /* Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units | */
925 MAV_DISTANCE_SENSOR_ULTRASOUND=1, /* Ultrasound rangefinder, e.g. MaxBotix units | */
926 MAV_DISTANCE_SENSOR_INFRARED=2, /* Infrared rangefinder, e.g. Sharp units | */
927 MAV_DISTANCE_SENSOR_RADAR=3, /* Radar type, e.g. uLanding units | */
928 MAV_DISTANCE_SENSOR_UNKNOWN=4, /* Broken or unknown type, e.g. analog units | */
929 MAV_DISTANCE_SENSOR_ENUM_END=5, /* | */
930 } MAV_DISTANCE_SENSOR;
931 #endif
933 /** @brief Enumeration of sensor orientation, according to its rotations */
934 #ifndef HAVE_ENUM_MAV_SENSOR_ORIENTATION
935 #define HAVE_ENUM_MAV_SENSOR_ORIENTATION
936 typedef enum MAV_SENSOR_ORIENTATION
938 MAV_SENSOR_ROTATION_NONE=0, /* Roll: 0, Pitch: 0, Yaw: 0 | */
939 MAV_SENSOR_ROTATION_YAW_45=1, /* Roll: 0, Pitch: 0, Yaw: 45 | */
940 MAV_SENSOR_ROTATION_YAW_90=2, /* Roll: 0, Pitch: 0, Yaw: 90 | */
941 MAV_SENSOR_ROTATION_YAW_135=3, /* Roll: 0, Pitch: 0, Yaw: 135 | */
942 MAV_SENSOR_ROTATION_YAW_180=4, /* Roll: 0, Pitch: 0, Yaw: 180 | */
943 MAV_SENSOR_ROTATION_YAW_225=5, /* Roll: 0, Pitch: 0, Yaw: 225 | */
944 MAV_SENSOR_ROTATION_YAW_270=6, /* Roll: 0, Pitch: 0, Yaw: 270 | */
945 MAV_SENSOR_ROTATION_YAW_315=7, /* Roll: 0, Pitch: 0, Yaw: 315 | */
946 MAV_SENSOR_ROTATION_ROLL_180=8, /* Roll: 180, Pitch: 0, Yaw: 0 | */
947 MAV_SENSOR_ROTATION_ROLL_180_YAW_45=9, /* Roll: 180, Pitch: 0, Yaw: 45 | */
948 MAV_SENSOR_ROTATION_ROLL_180_YAW_90=10, /* Roll: 180, Pitch: 0, Yaw: 90 | */
949 MAV_SENSOR_ROTATION_ROLL_180_YAW_135=11, /* Roll: 180, Pitch: 0, Yaw: 135 | */
950 MAV_SENSOR_ROTATION_PITCH_180=12, /* Roll: 0, Pitch: 180, Yaw: 0 | */
951 MAV_SENSOR_ROTATION_ROLL_180_YAW_225=13, /* Roll: 180, Pitch: 0, Yaw: 225 | */
952 MAV_SENSOR_ROTATION_ROLL_180_YAW_270=14, /* Roll: 180, Pitch: 0, Yaw: 270 | */
953 MAV_SENSOR_ROTATION_ROLL_180_YAW_315=15, /* Roll: 180, Pitch: 0, Yaw: 315 | */
954 MAV_SENSOR_ROTATION_ROLL_90=16, /* Roll: 90, Pitch: 0, Yaw: 0 | */
955 MAV_SENSOR_ROTATION_ROLL_90_YAW_45=17, /* Roll: 90, Pitch: 0, Yaw: 45 | */
956 MAV_SENSOR_ROTATION_ROLL_90_YAW_90=18, /* Roll: 90, Pitch: 0, Yaw: 90 | */
957 MAV_SENSOR_ROTATION_ROLL_90_YAW_135=19, /* Roll: 90, Pitch: 0, Yaw: 135 | */
958 MAV_SENSOR_ROTATION_ROLL_270=20, /* Roll: 270, Pitch: 0, Yaw: 0 | */
959 MAV_SENSOR_ROTATION_ROLL_270_YAW_45=21, /* Roll: 270, Pitch: 0, Yaw: 45 | */
960 MAV_SENSOR_ROTATION_ROLL_270_YAW_90=22, /* Roll: 270, Pitch: 0, Yaw: 90 | */
961 MAV_SENSOR_ROTATION_ROLL_270_YAW_135=23, /* Roll: 270, Pitch: 0, Yaw: 135 | */
962 MAV_SENSOR_ROTATION_PITCH_90=24, /* Roll: 0, Pitch: 90, Yaw: 0 | */
963 MAV_SENSOR_ROTATION_PITCH_270=25, /* Roll: 0, Pitch: 270, Yaw: 0 | */
964 MAV_SENSOR_ROTATION_PITCH_180_YAW_90=26, /* Roll: 0, Pitch: 180, Yaw: 90 | */
965 MAV_SENSOR_ROTATION_PITCH_180_YAW_270=27, /* Roll: 0, Pitch: 180, Yaw: 270 | */
966 MAV_SENSOR_ROTATION_ROLL_90_PITCH_90=28, /* Roll: 90, Pitch: 90, Yaw: 0 | */
967 MAV_SENSOR_ROTATION_ROLL_180_PITCH_90=29, /* Roll: 180, Pitch: 90, Yaw: 0 | */
968 MAV_SENSOR_ROTATION_ROLL_270_PITCH_90=30, /* Roll: 270, Pitch: 90, Yaw: 0 | */
969 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180=31, /* Roll: 90, Pitch: 180, Yaw: 0 | */
970 MAV_SENSOR_ROTATION_ROLL_270_PITCH_180=32, /* Roll: 270, Pitch: 180, Yaw: 0 | */
971 MAV_SENSOR_ROTATION_ROLL_90_PITCH_270=33, /* Roll: 90, Pitch: 270, Yaw: 0 | */
972 MAV_SENSOR_ROTATION_ROLL_180_PITCH_270=34, /* Roll: 180, Pitch: 270, Yaw: 0 | */
973 MAV_SENSOR_ROTATION_ROLL_270_PITCH_270=35, /* Roll: 270, Pitch: 270, Yaw: 0 | */
974 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90=36, /* Roll: 90, Pitch: 180, Yaw: 90 | */
975 MAV_SENSOR_ROTATION_ROLL_90_YAW_270=37, /* Roll: 90, Pitch: 0, Yaw: 270 | */
976 MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293=38, /* Roll: 90, Pitch: 68, Yaw: 293 | */
977 MAV_SENSOR_ROTATION_PITCH_315=39, /* Pitch: 315 | */
978 MAV_SENSOR_ROTATION_ROLL_90_PITCH_315=40, /* Roll: 90, Pitch: 315 | */
979 MAV_SENSOR_ROTATION_CUSTOM=100, /* Custom orientation | */
980 MAV_SENSOR_ORIENTATION_ENUM_END=101, /* | */
981 } MAV_SENSOR_ORIENTATION;
982 #endif
984 /** @brief Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability. */
985 #ifndef HAVE_ENUM_MAV_PROTOCOL_CAPABILITY
986 #define HAVE_ENUM_MAV_PROTOCOL_CAPABILITY
987 typedef enum MAV_PROTOCOL_CAPABILITY
989 MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT=1, /* Autopilot supports MISSION float message type. | */
990 MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT=2, /* Autopilot supports the new param float message type. | */
991 MAV_PROTOCOL_CAPABILITY_MISSION_INT=4, /* Autopilot supports MISSION_ITEM_INT scaled integer message type. | */
992 MAV_PROTOCOL_CAPABILITY_COMMAND_INT=8, /* Autopilot supports COMMAND_INT scaled integer message type. | */
993 MAV_PROTOCOL_CAPABILITY_PARAM_UNION=16, /* Autopilot supports the new param union message type. | */
994 MAV_PROTOCOL_CAPABILITY_FTP=32, /* Autopilot supports the new FILE_TRANSFER_PROTOCOL message type. | */
995 MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET=64, /* Autopilot supports commanding attitude offboard. | */
996 MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED=128, /* Autopilot supports commanding position and velocity targets in local NED frame. | */
997 MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT=256, /* Autopilot supports commanding position and velocity targets in global scaled integers. | */
998 MAV_PROTOCOL_CAPABILITY_TERRAIN=512, /* Autopilot supports terrain protocol / data handling. | */
999 MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET=1024, /* Autopilot supports direct actuator control. | */
1000 MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION=2048, /* Autopilot supports the flight termination command. | */
1001 MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION=4096, /* Autopilot supports onboard compass calibration. | */
1002 MAV_PROTOCOL_CAPABILITY_MAVLINK2=8192, /* Autopilot supports MAVLink version 2. | */
1003 MAV_PROTOCOL_CAPABILITY_MISSION_FENCE=16384, /* Autopilot supports mission fence protocol. | */
1004 MAV_PROTOCOL_CAPABILITY_MISSION_RALLY=32768, /* Autopilot supports mission rally point protocol. | */
1005 MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION=65536, /* Autopilot supports the flight information protocol. | */
1006 MAV_PROTOCOL_CAPABILITY_ENUM_END=65537, /* | */
1007 } MAV_PROTOCOL_CAPABILITY;
1008 #endif
1010 /** @brief Type of mission items being requested/sent in mission protocol. */
1011 #ifndef HAVE_ENUM_MAV_MISSION_TYPE
1012 #define HAVE_ENUM_MAV_MISSION_TYPE
1013 typedef enum MAV_MISSION_TYPE
1015 MAV_MISSION_TYPE_MISSION=0, /* Items are mission commands for main mission. | */
1016 MAV_MISSION_TYPE_FENCE=1, /* Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items. | */
1017 MAV_MISSION_TYPE_RALLY=2, /* Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items. | */
1018 MAV_MISSION_TYPE_ALL=255, /* Only used in MISSION_CLEAR_ALL to clear all mission types. | */
1019 MAV_MISSION_TYPE_ENUM_END=256, /* | */
1020 } MAV_MISSION_TYPE;
1021 #endif
1023 /** @brief Enumeration of estimator types */
1024 #ifndef HAVE_ENUM_MAV_ESTIMATOR_TYPE
1025 #define HAVE_ENUM_MAV_ESTIMATOR_TYPE
1026 typedef enum MAV_ESTIMATOR_TYPE
1028 MAV_ESTIMATOR_TYPE_UNKNOWN=0, /* Unknown type of the estimator. | */
1029 MAV_ESTIMATOR_TYPE_NAIVE=1, /* This is a naive estimator without any real covariance feedback. | */
1030 MAV_ESTIMATOR_TYPE_VISION=2, /* Computer vision based estimate. Might be up to scale. | */
1031 MAV_ESTIMATOR_TYPE_VIO=3, /* Visual-inertial estimate. | */
1032 MAV_ESTIMATOR_TYPE_GPS=4, /* Plain GPS estimate. | */
1033 MAV_ESTIMATOR_TYPE_GPS_INS=5, /* Estimator integrating GPS and inertial sensing. | */
1034 MAV_ESTIMATOR_TYPE_MOCAP=6, /* Estimate from external motion capturing system. | */
1035 MAV_ESTIMATOR_TYPE_LIDAR=7, /* Estimator based on lidar sensor input. | */
1036 MAV_ESTIMATOR_TYPE_AUTOPILOT=8, /* Estimator on autopilot. | */
1037 MAV_ESTIMATOR_TYPE_ENUM_END=9, /* | */
1038 } MAV_ESTIMATOR_TYPE;
1039 #endif
1041 /** @brief Enumeration of battery types */
1042 #ifndef HAVE_ENUM_MAV_BATTERY_TYPE
1043 #define HAVE_ENUM_MAV_BATTERY_TYPE
1044 typedef enum MAV_BATTERY_TYPE
1046 MAV_BATTERY_TYPE_UNKNOWN=0, /* Not specified. | */
1047 MAV_BATTERY_TYPE_LIPO=1, /* Lithium polymer battery | */
1048 MAV_BATTERY_TYPE_LIFE=2, /* Lithium-iron-phosphate battery | */
1049 MAV_BATTERY_TYPE_LION=3, /* Lithium-ION battery | */
1050 MAV_BATTERY_TYPE_NIMH=4, /* Nickel metal hydride battery | */
1051 MAV_BATTERY_TYPE_ENUM_END=5, /* | */
1052 } MAV_BATTERY_TYPE;
1053 #endif
1055 /** @brief Enumeration of battery functions */
1056 #ifndef HAVE_ENUM_MAV_BATTERY_FUNCTION
1057 #define HAVE_ENUM_MAV_BATTERY_FUNCTION
1058 typedef enum MAV_BATTERY_FUNCTION
1060 MAV_BATTERY_FUNCTION_UNKNOWN=0, /* Battery function is unknown | */
1061 MAV_BATTERY_FUNCTION_ALL=1, /* Battery supports all flight systems | */
1062 MAV_BATTERY_FUNCTION_PROPULSION=2, /* Battery for the propulsion system | */
1063 MAV_BATTERY_FUNCTION_AVIONICS=3, /* Avionics battery | */
1064 MAV_BATTERY_TYPE_PAYLOAD=4, /* Payload battery | */
1065 MAV_BATTERY_FUNCTION_ENUM_END=5, /* | */
1066 } MAV_BATTERY_FUNCTION;
1067 #endif
1069 /** @brief Enumeration for battery charge states. */
1070 #ifndef HAVE_ENUM_MAV_BATTERY_CHARGE_STATE
1071 #define HAVE_ENUM_MAV_BATTERY_CHARGE_STATE
1072 typedef enum MAV_BATTERY_CHARGE_STATE
1074 MAV_BATTERY_CHARGE_STATE_UNDEFINED=0, /* Low battery state is not provided | */
1075 MAV_BATTERY_CHARGE_STATE_OK=1, /* Battery is not in low state. Normal operation. | */
1076 MAV_BATTERY_CHARGE_STATE_LOW=2, /* Battery state is low, warn and monitor close. | */
1077 MAV_BATTERY_CHARGE_STATE_CRITICAL=3, /* Battery state is critical, return or abort immediately. | */
1078 MAV_BATTERY_CHARGE_STATE_EMERGENCY=4, /* Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage. | */
1079 MAV_BATTERY_CHARGE_STATE_FAILED=5, /* Battery failed, damage unavoidable. Possible causes (faults) are listed in MAV_BATTERY_FAULT. | */
1080 MAV_BATTERY_CHARGE_STATE_UNHEALTHY=6, /* Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in MAV_BATTERY_FAULT. | */
1081 MAV_BATTERY_CHARGE_STATE_CHARGING=7, /* Battery is charging. | */
1082 MAV_BATTERY_CHARGE_STATE_ENUM_END=8, /* | */
1083 } MAV_BATTERY_CHARGE_STATE;
1084 #endif
1086 /** @brief Battery mode. Note, the normal operation mode (i.e. when flying) should be reported as MAV_BATTERY_MODE_UNKNOWN to allow message trimming in normal flight. */
1087 #ifndef HAVE_ENUM_MAV_BATTERY_MODE
1088 #define HAVE_ENUM_MAV_BATTERY_MODE
1089 typedef enum MAV_BATTERY_MODE
1091 MAV_BATTERY_MODE_UNKNOWN=0, /* Battery mode not supported/unknown battery mode/normal operation. | */
1092 MAV_BATTERY_MODE_AUTO_DISCHARGING=1, /* Battery is auto discharging (towards storage level). | */
1093 MAV_BATTERY_MODE_HOT_SWAP=2, /* Battery in hot-swap mode (current limited to prevent spikes that might damage sensitive electrical circuits). | */
1094 MAV_BATTERY_MODE_ENUM_END=3, /* | */
1095 } MAV_BATTERY_MODE;
1096 #endif
1098 /** @brief Smart battery supply status/fault flags (bitmask) for health indication. The battery must also report either MAV_BATTERY_CHARGE_STATE_FAILED or MAV_BATTERY_CHARGE_STATE_UNHEALTHY if any of these are set. */
1099 #ifndef HAVE_ENUM_MAV_BATTERY_FAULT
1100 #define HAVE_ENUM_MAV_BATTERY_FAULT
1101 typedef enum MAV_BATTERY_FAULT
1103 MAV_BATTERY_FAULT_DEEP_DISCHARGE=1, /* Battery has deep discharged. | */
1104 MAV_BATTERY_FAULT_SPIKES=2, /* Voltage spikes. | */
1105 MAV_BATTERY_FAULT_CELL_FAIL=4, /* One or more cells have failed. Battery should also report MAV_BATTERY_CHARGE_STATE_FAILE (and should not be used). | */
1106 MAV_BATTERY_FAULT_OVER_CURRENT=8, /* Over-current fault. | */
1107 MAV_BATTERY_FAULT_OVER_TEMPERATURE=16, /* Over-temperature fault. | */
1108 MAV_BATTERY_FAULT_UNDER_TEMPERATURE=32, /* Under-temperature fault. | */
1109 MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE=64, /* Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage). | */
1110 MAV_BATTERY_FAULT_ENUM_END=65, /* | */
1111 } MAV_BATTERY_FAULT;
1112 #endif
1114 /** @brief Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly). */
1115 #ifndef HAVE_ENUM_MAV_GENERATOR_STATUS_FLAG
1116 #define HAVE_ENUM_MAV_GENERATOR_STATUS_FLAG
1117 typedef enum MAV_GENERATOR_STATUS_FLAG
1119 MAV_GENERATOR_STATUS_FLAG_OFF=1, /* Generator is off. | */
1120 MAV_GENERATOR_STATUS_FLAG_READY=2, /* Generator is ready to start generating power. | */
1121 MAV_GENERATOR_STATUS_FLAG_GENERATING=4, /* Generator is generating power. | */
1122 MAV_GENERATOR_STATUS_FLAG_CHARGING=8, /* Generator is charging the batteries (generating enough power to charge and provide the load). | */
1123 MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER=16, /* Generator is operating at a reduced maximum power. | */
1124 MAV_GENERATOR_STATUS_FLAG_MAXPOWER=32, /* Generator is providing the maximum output. | */
1125 MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING=64, /* Generator is near the maximum operating temperature, cooling is insufficient. | */
1126 MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT=128, /* Generator hit the maximum operating temperature and shutdown. | */
1127 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING=256, /* Power electronics are near the maximum operating temperature, cooling is insufficient. | */
1128 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT=512, /* Power electronics hit the maximum operating temperature and shutdown. | */
1129 MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT=1024, /* Power electronics experienced a fault and shutdown. | */
1130 MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT=2048, /* The power source supplying the generator failed e.g. mechanical generator stopped, tether is no longer providing power, solar cell is in shade, hydrogen reaction no longer happening. | */
1131 MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING=4096, /* Generator controller having communication problems. | */
1132 MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING=8192, /* Power electronic or generator cooling system error. | */
1133 MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT=16384, /* Generator controller power rail experienced a fault. | */
1134 MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT=32768, /* Generator controller exceeded the overcurrent threshold and shutdown to prevent damage. | */
1135 MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT=65536, /* Generator controller detected a high current going into the batteries and shutdown to prevent battery damage. | */
1136 MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT=131072, /* Generator controller exceeded it's overvoltage threshold and shutdown to prevent it exceeding the voltage rating. | */
1137 MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT=262144, /* Batteries are under voltage (generator will not start). | */
1138 MAV_GENERATOR_STATUS_FLAG_START_INHIBITED=524288, /* Generator start is inhibited by e.g. a safety switch. | */
1139 MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED=1048576, /* Generator requires maintenance. | */
1140 MAV_GENERATOR_STATUS_FLAG_WARMING_UP=2097152, /* Generator is not ready to generate yet. | */
1141 MAV_GENERATOR_STATUS_FLAG_IDLE=4194304, /* Generator is idle. | */
1142 MAV_GENERATOR_STATUS_FLAG_ENUM_END=4194305, /* | */
1143 } MAV_GENERATOR_STATUS_FLAG;
1144 #endif
1146 /** @brief Enumeration of VTOL states */
1147 #ifndef HAVE_ENUM_MAV_VTOL_STATE
1148 #define HAVE_ENUM_MAV_VTOL_STATE
1149 typedef enum MAV_VTOL_STATE
1151 MAV_VTOL_STATE_UNDEFINED=0, /* MAV is not configured as VTOL | */
1152 MAV_VTOL_STATE_TRANSITION_TO_FW=1, /* VTOL is in transition from multicopter to fixed-wing | */
1153 MAV_VTOL_STATE_TRANSITION_TO_MC=2, /* VTOL is in transition from fixed-wing to multicopter | */
1154 MAV_VTOL_STATE_MC=3, /* VTOL is in multicopter state | */
1155 MAV_VTOL_STATE_FW=4, /* VTOL is in fixed-wing state | */
1156 MAV_VTOL_STATE_ENUM_END=5, /* | */
1157 } MAV_VTOL_STATE;
1158 #endif
1160 /** @brief Enumeration of landed detector states */
1161 #ifndef HAVE_ENUM_MAV_LANDED_STATE
1162 #define HAVE_ENUM_MAV_LANDED_STATE
1163 typedef enum MAV_LANDED_STATE
1165 MAV_LANDED_STATE_UNDEFINED=0, /* MAV landed state is unknown | */
1166 MAV_LANDED_STATE_ON_GROUND=1, /* MAV is landed (on ground) | */
1167 MAV_LANDED_STATE_IN_AIR=2, /* MAV is in air | */
1168 MAV_LANDED_STATE_TAKEOFF=3, /* MAV currently taking off | */
1169 MAV_LANDED_STATE_LANDING=4, /* MAV currently landing | */
1170 MAV_LANDED_STATE_ENUM_END=5, /* | */
1171 } MAV_LANDED_STATE;
1172 #endif
1174 /** @brief Enumeration of the ADSB altimeter types */
1175 #ifndef HAVE_ENUM_ADSB_ALTITUDE_TYPE
1176 #define HAVE_ENUM_ADSB_ALTITUDE_TYPE
1177 typedef enum ADSB_ALTITUDE_TYPE
1179 ADSB_ALTITUDE_TYPE_PRESSURE_QNH=0, /* Altitude reported from a Baro source using QNH reference | */
1180 ADSB_ALTITUDE_TYPE_GEOMETRIC=1, /* Altitude reported from a GNSS source | */
1181 ADSB_ALTITUDE_TYPE_ENUM_END=2, /* | */
1182 } ADSB_ALTITUDE_TYPE;
1183 #endif
1185 /** @brief ADSB classification for the type of vehicle emitting the transponder signal */
1186 #ifndef HAVE_ENUM_ADSB_EMITTER_TYPE
1187 #define HAVE_ENUM_ADSB_EMITTER_TYPE
1188 typedef enum ADSB_EMITTER_TYPE
1190 ADSB_EMITTER_TYPE_NO_INFO=0, /* | */
1191 ADSB_EMITTER_TYPE_LIGHT=1, /* | */
1192 ADSB_EMITTER_TYPE_SMALL=2, /* | */
1193 ADSB_EMITTER_TYPE_LARGE=3, /* | */
1194 ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE=4, /* | */
1195 ADSB_EMITTER_TYPE_HEAVY=5, /* | */
1196 ADSB_EMITTER_TYPE_HIGHLY_MANUV=6, /* | */
1197 ADSB_EMITTER_TYPE_ROTOCRAFT=7, /* | */
1198 ADSB_EMITTER_TYPE_UNASSIGNED=8, /* | */
1199 ADSB_EMITTER_TYPE_GLIDER=9, /* | */
1200 ADSB_EMITTER_TYPE_LIGHTER_AIR=10, /* | */
1201 ADSB_EMITTER_TYPE_PARACHUTE=11, /* | */
1202 ADSB_EMITTER_TYPE_ULTRA_LIGHT=12, /* | */
1203 ADSB_EMITTER_TYPE_UNASSIGNED2=13, /* | */
1204 ADSB_EMITTER_TYPE_UAV=14, /* | */
1205 ADSB_EMITTER_TYPE_SPACE=15, /* | */
1206 ADSB_EMITTER_TYPE_UNASSGINED3=16, /* | */
1207 ADSB_EMITTER_TYPE_EMERGENCY_SURFACE=17, /* | */
1208 ADSB_EMITTER_TYPE_SERVICE_SURFACE=18, /* | */
1209 ADSB_EMITTER_TYPE_POINT_OBSTACLE=19, /* | */
1210 ADSB_EMITTER_TYPE_ENUM_END=20, /* | */
1211 } ADSB_EMITTER_TYPE;
1212 #endif
1214 /** @brief These flags indicate status such as data validity of each data source. Set = data valid */
1215 #ifndef HAVE_ENUM_ADSB_FLAGS
1216 #define HAVE_ENUM_ADSB_FLAGS
1217 typedef enum ADSB_FLAGS
1219 ADSB_FLAGS_VALID_COORDS=1, /* | */
1220 ADSB_FLAGS_VALID_ALTITUDE=2, /* | */
1221 ADSB_FLAGS_VALID_HEADING=4, /* | */
1222 ADSB_FLAGS_VALID_VELOCITY=8, /* | */
1223 ADSB_FLAGS_VALID_CALLSIGN=16, /* | */
1224 ADSB_FLAGS_VALID_SQUAWK=32, /* | */
1225 ADSB_FLAGS_SIMULATED=64, /* | */
1226 ADSB_FLAGS_VERTICAL_VELOCITY_VALID=128, /* | */
1227 ADSB_FLAGS_BARO_VALID=256, /* | */
1228 ADSB_FLAGS_SOURCE_UAT=32768, /* | */
1229 ADSB_FLAGS_ENUM_END=32769, /* | */
1230 } ADSB_FLAGS;
1231 #endif
1233 /** @brief Bitmap of options for the MAV_CMD_DO_REPOSITION */
1234 #ifndef HAVE_ENUM_MAV_DO_REPOSITION_FLAGS
1235 #define HAVE_ENUM_MAV_DO_REPOSITION_FLAGS
1236 typedef enum MAV_DO_REPOSITION_FLAGS
1238 MAV_DO_REPOSITION_FLAGS_CHANGE_MODE=1, /* The aircraft should immediately transition into guided. This should not be set for follow me applications | */
1239 MAV_DO_REPOSITION_FLAGS_ENUM_END=2, /* | */
1240 } MAV_DO_REPOSITION_FLAGS;
1241 #endif
1243 /** @brief Flags in ESTIMATOR_STATUS message */
1244 #ifndef HAVE_ENUM_ESTIMATOR_STATUS_FLAGS
1245 #define HAVE_ENUM_ESTIMATOR_STATUS_FLAGS
1246 typedef enum ESTIMATOR_STATUS_FLAGS
1248 ESTIMATOR_ATTITUDE=1, /* True if the attitude estimate is good | */
1249 ESTIMATOR_VELOCITY_HORIZ=2, /* True if the horizontal velocity estimate is good | */
1250 ESTIMATOR_VELOCITY_VERT=4, /* True if the vertical velocity estimate is good | */
1251 ESTIMATOR_POS_HORIZ_REL=8, /* True if the horizontal position (relative) estimate is good | */
1252 ESTIMATOR_POS_HORIZ_ABS=16, /* True if the horizontal position (absolute) estimate is good | */
1253 ESTIMATOR_POS_VERT_ABS=32, /* True if the vertical position (absolute) estimate is good | */
1254 ESTIMATOR_POS_VERT_AGL=64, /* True if the vertical position (above ground) estimate is good | */
1255 ESTIMATOR_CONST_POS_MODE=128, /* True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow) | */
1256 ESTIMATOR_PRED_POS_HORIZ_REL=256, /* True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate | */
1257 ESTIMATOR_PRED_POS_HORIZ_ABS=512, /* True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate | */
1258 ESTIMATOR_GPS_GLITCH=1024, /* True if the EKF has detected a GPS glitch | */
1259 ESTIMATOR_ACCEL_ERROR=2048, /* True if the EKF has detected bad accelerometer data | */
1260 ESTIMATOR_STATUS_FLAGS_ENUM_END=2049, /* | */
1261 } ESTIMATOR_STATUS_FLAGS;
1262 #endif
1264 /** @brief */
1265 #ifndef HAVE_ENUM_MOTOR_TEST_ORDER
1266 #define HAVE_ENUM_MOTOR_TEST_ORDER
1267 typedef enum MOTOR_TEST_ORDER
1269 MOTOR_TEST_ORDER_DEFAULT=0, /* default autopilot motor test method | */
1270 MOTOR_TEST_ORDER_SEQUENCE=1, /* motor numbers are specified as their index in a predefined vehicle-specific sequence | */
1271 MOTOR_TEST_ORDER_BOARD=2, /* motor numbers are specified as the output as labeled on the board | */
1272 MOTOR_TEST_ORDER_ENUM_END=3, /* | */
1273 } MOTOR_TEST_ORDER;
1274 #endif
1276 /** @brief */
1277 #ifndef HAVE_ENUM_MOTOR_TEST_THROTTLE_TYPE
1278 #define HAVE_ENUM_MOTOR_TEST_THROTTLE_TYPE
1279 typedef enum MOTOR_TEST_THROTTLE_TYPE
1281 MOTOR_TEST_THROTTLE_PERCENT=0, /* throttle as a percentage from 0 ~ 100 | */
1282 MOTOR_TEST_THROTTLE_PWM=1, /* throttle as an absolute PWM value (normally in range of 1000~2000) | */
1283 MOTOR_TEST_THROTTLE_PILOT=2, /* throttle pass-through from pilot's transmitter | */
1284 MOTOR_TEST_COMPASS_CAL=3, /* per-motor compass calibration test | */
1285 MOTOR_TEST_THROTTLE_TYPE_ENUM_END=4, /* | */
1286 } MOTOR_TEST_THROTTLE_TYPE;
1287 #endif
1289 /** @brief */
1290 #ifndef HAVE_ENUM_GPS_INPUT_IGNORE_FLAGS
1291 #define HAVE_ENUM_GPS_INPUT_IGNORE_FLAGS
1292 typedef enum GPS_INPUT_IGNORE_FLAGS
1294 GPS_INPUT_IGNORE_FLAG_ALT=1, /* ignore altitude field | */
1295 GPS_INPUT_IGNORE_FLAG_HDOP=2, /* ignore hdop field | */
1296 GPS_INPUT_IGNORE_FLAG_VDOP=4, /* ignore vdop field | */
1297 GPS_INPUT_IGNORE_FLAG_VEL_HORIZ=8, /* ignore horizontal velocity field (vn and ve) | */
1298 GPS_INPUT_IGNORE_FLAG_VEL_VERT=16, /* ignore vertical velocity field (vd) | */
1299 GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY=32, /* ignore speed accuracy field | */
1300 GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY=64, /* ignore horizontal accuracy field | */
1301 GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY=128, /* ignore vertical accuracy field | */
1302 GPS_INPUT_IGNORE_FLAGS_ENUM_END=129, /* | */
1303 } GPS_INPUT_IGNORE_FLAGS;
1304 #endif
1306 /** @brief Possible actions an aircraft can take to avoid a collision. */
1307 #ifndef HAVE_ENUM_MAV_COLLISION_ACTION
1308 #define HAVE_ENUM_MAV_COLLISION_ACTION
1309 typedef enum MAV_COLLISION_ACTION
1311 MAV_COLLISION_ACTION_NONE=0, /* Ignore any potential collisions | */
1312 MAV_COLLISION_ACTION_REPORT=1, /* Report potential collision | */
1313 MAV_COLLISION_ACTION_ASCEND_OR_DESCEND=2, /* Ascend or Descend to avoid threat | */
1314 MAV_COLLISION_ACTION_MOVE_HORIZONTALLY=3, /* Move horizontally to avoid threat | */
1315 MAV_COLLISION_ACTION_MOVE_PERPENDICULAR=4, /* Aircraft to move perpendicular to the collision's velocity vector | */
1316 MAV_COLLISION_ACTION_RTL=5, /* Aircraft to fly directly back to its launch point | */
1317 MAV_COLLISION_ACTION_HOVER=6, /* Aircraft to stop in place | */
1318 MAV_COLLISION_ACTION_ENUM_END=7, /* | */
1319 } MAV_COLLISION_ACTION;
1320 #endif
1322 /** @brief Aircraft-rated danger from this threat. */
1323 #ifndef HAVE_ENUM_MAV_COLLISION_THREAT_LEVEL
1324 #define HAVE_ENUM_MAV_COLLISION_THREAT_LEVEL
1325 typedef enum MAV_COLLISION_THREAT_LEVEL
1327 MAV_COLLISION_THREAT_LEVEL_NONE=0, /* Not a threat | */
1328 MAV_COLLISION_THREAT_LEVEL_LOW=1, /* Craft is mildly concerned about this threat | */
1329 MAV_COLLISION_THREAT_LEVEL_HIGH=2, /* Craft is panicking, and may take actions to avoid threat | */
1330 MAV_COLLISION_THREAT_LEVEL_ENUM_END=3, /* | */
1331 } MAV_COLLISION_THREAT_LEVEL;
1332 #endif
1334 /** @brief Source of information about this collision. */
1335 #ifndef HAVE_ENUM_MAV_COLLISION_SRC
1336 #define HAVE_ENUM_MAV_COLLISION_SRC
1337 typedef enum MAV_COLLISION_SRC
1339 MAV_COLLISION_SRC_ADSB=0, /* ID field references ADSB_VEHICLE packets | */
1340 MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT=1, /* ID field references MAVLink SRC ID | */
1341 MAV_COLLISION_SRC_ENUM_END=2, /* | */
1342 } MAV_COLLISION_SRC;
1343 #endif
1345 /** @brief Type of GPS fix */
1346 #ifndef HAVE_ENUM_GPS_FIX_TYPE
1347 #define HAVE_ENUM_GPS_FIX_TYPE
1348 typedef enum GPS_FIX_TYPE
1350 GPS_FIX_TYPE_NO_GPS=0, /* No GPS connected | */
1351 GPS_FIX_TYPE_NO_FIX=1, /* No position information, GPS is connected | */
1352 GPS_FIX_TYPE_2D_FIX=2, /* 2D position | */
1353 GPS_FIX_TYPE_3D_FIX=3, /* 3D position | */
1354 GPS_FIX_TYPE_DGPS=4, /* DGPS/SBAS aided 3D position | */
1355 GPS_FIX_TYPE_RTK_FLOAT=5, /* RTK float, 3D position | */
1356 GPS_FIX_TYPE_RTK_FIXED=6, /* RTK Fixed, 3D position | */
1357 GPS_FIX_TYPE_STATIC=7, /* Static fixed, typically used for base stations | */
1358 GPS_FIX_TYPE_PPP=8, /* PPP, 3D position. | */
1359 GPS_FIX_TYPE_ENUM_END=9, /* | */
1360 } GPS_FIX_TYPE;
1361 #endif
1363 /** @brief RTK GPS baseline coordinate system, used for RTK corrections */
1364 #ifndef HAVE_ENUM_RTK_BASELINE_COORDINATE_SYSTEM
1365 #define HAVE_ENUM_RTK_BASELINE_COORDINATE_SYSTEM
1366 typedef enum RTK_BASELINE_COORDINATE_SYSTEM
1368 RTK_BASELINE_COORDINATE_SYSTEM_ECEF=0, /* Earth-centered, Earth-fixed | */
1369 RTK_BASELINE_COORDINATE_SYSTEM_NED=1, /* RTK basestation centered, north, east, down | */
1370 RTK_BASELINE_COORDINATE_SYSTEM_ENUM_END=2, /* | */
1371 } RTK_BASELINE_COORDINATE_SYSTEM;
1372 #endif
1374 /** @brief Type of landing target */
1375 #ifndef HAVE_ENUM_LANDING_TARGET_TYPE
1376 #define HAVE_ENUM_LANDING_TARGET_TYPE
1377 typedef enum LANDING_TARGET_TYPE
1379 LANDING_TARGET_TYPE_LIGHT_BEACON=0, /* Landing target signaled by light beacon (ex: IR-LOCK) | */
1380 LANDING_TARGET_TYPE_RADIO_BEACON=1, /* Landing target signaled by radio beacon (ex: ILS, NDB) | */
1381 LANDING_TARGET_TYPE_VISION_FIDUCIAL=2, /* Landing target represented by a fiducial marker (ex: ARTag) | */
1382 LANDING_TARGET_TYPE_VISION_OTHER=3, /* Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) | */
1383 LANDING_TARGET_TYPE_ENUM_END=4, /* | */
1384 } LANDING_TARGET_TYPE;
1385 #endif
1387 /** @brief Direction of VTOL transition */
1388 #ifndef HAVE_ENUM_VTOL_TRANSITION_HEADING
1389 #define HAVE_ENUM_VTOL_TRANSITION_HEADING
1390 typedef enum VTOL_TRANSITION_HEADING
1392 VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT=0, /* Respect the heading configuration of the vehicle. | */
1393 VTOL_TRANSITION_HEADING_NEXT_WAYPOINT=1, /* Use the heading pointing towards the next waypoint. | */
1394 VTOL_TRANSITION_HEADING_TAKEOFF=2, /* Use the heading on takeoff (while sitting on the ground). | */
1395 VTOL_TRANSITION_HEADING_SPECIFIED=3, /* Use the specified heading in parameter 4. | */
1396 VTOL_TRANSITION_HEADING_ANY=4, /* Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). | */
1397 VTOL_TRANSITION_HEADING_ENUM_END=5, /* | */
1398 } VTOL_TRANSITION_HEADING;
1399 #endif
1401 /** @brief Camera capability flags (Bitmap) */
1402 #ifndef HAVE_ENUM_CAMERA_CAP_FLAGS
1403 #define HAVE_ENUM_CAMERA_CAP_FLAGS
1404 typedef enum CAMERA_CAP_FLAGS
1406 CAMERA_CAP_FLAGS_CAPTURE_VIDEO=1, /* Camera is able to record video | */
1407 CAMERA_CAP_FLAGS_CAPTURE_IMAGE=2, /* Camera is able to capture images | */
1408 CAMERA_CAP_FLAGS_HAS_MODES=4, /* Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) | */
1409 CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE=8, /* Camera can capture images while in video mode | */
1410 CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE=16, /* Camera can capture videos while in Photo/Image mode | */
1411 CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE=32, /* Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) | */
1412 CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM=64, /* Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM) | */
1413 CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS=128, /* Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS) | */
1414 CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM=256, /* Camera has video streaming capabilities (request VIDEO_STREAM_INFORMATION with MAV_CMD_REQUEST_MESSAGE for video streaming info) | */
1415 CAMERA_CAP_FLAGS_HAS_TRACKING_POINT=512, /* Camera supports tracking of a point on the camera view. | */
1416 CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE=1024, /* Camera supports tracking of a selection rectangle on the camera view. | */
1417 CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS=2048, /* Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS). | */
1418 CAMERA_CAP_FLAGS_ENUM_END=2049, /* | */
1419 } CAMERA_CAP_FLAGS;
1420 #endif
1422 /** @brief Stream status flags (Bitmap) */
1423 #ifndef HAVE_ENUM_VIDEO_STREAM_STATUS_FLAGS
1424 #define HAVE_ENUM_VIDEO_STREAM_STATUS_FLAGS
1425 typedef enum VIDEO_STREAM_STATUS_FLAGS
1427 VIDEO_STREAM_STATUS_FLAGS_RUNNING=1, /* Stream is active (running) | */
1428 VIDEO_STREAM_STATUS_FLAGS_THERMAL=2, /* Stream is thermal imaging | */
1429 VIDEO_STREAM_STATUS_FLAGS_ENUM_END=3, /* | */
1430 } VIDEO_STREAM_STATUS_FLAGS;
1431 #endif
1433 /** @brief Video stream types */
1434 #ifndef HAVE_ENUM_VIDEO_STREAM_TYPE
1435 #define HAVE_ENUM_VIDEO_STREAM_TYPE
1436 typedef enum VIDEO_STREAM_TYPE
1438 VIDEO_STREAM_TYPE_RTSP=0, /* Stream is RTSP | */
1439 VIDEO_STREAM_TYPE_RTPUDP=1, /* Stream is RTP UDP (URI gives the port number) | */
1440 VIDEO_STREAM_TYPE_TCP_MPEG=2, /* Stream is MPEG on TCP | */
1441 VIDEO_STREAM_TYPE_MPEG_TS_H264=3, /* Stream is h.264 on MPEG TS (URI gives the port number) | */
1442 VIDEO_STREAM_TYPE_ENUM_END=4, /* | */
1443 } VIDEO_STREAM_TYPE;
1444 #endif
1446 /** @brief Camera tracking status flags */
1447 #ifndef HAVE_ENUM_CAMERA_TRACKING_STATUS_FLAGS
1448 #define HAVE_ENUM_CAMERA_TRACKING_STATUS_FLAGS
1449 typedef enum CAMERA_TRACKING_STATUS_FLAGS
1451 CAMERA_TRACKING_STATUS_FLAGS_IDLE=0, /* Camera is not tracking | */
1452 CAMERA_TRACKING_STATUS_FLAGS_ACTIVE=1, /* Camera is tracking | */
1453 CAMERA_TRACKING_STATUS_FLAGS_ERROR=2, /* Camera tracking in error state | */
1454 CAMERA_TRACKING_STATUS_FLAGS_ENUM_END=3, /* | */
1455 } CAMERA_TRACKING_STATUS_FLAGS;
1456 #endif
1458 /** @brief Camera tracking modes */
1459 #ifndef HAVE_ENUM_CAMERA_TRACKING_MODE
1460 #define HAVE_ENUM_CAMERA_TRACKING_MODE
1461 typedef enum CAMERA_TRACKING_MODE
1463 CAMERA_TRACKING_MODE_NONE=0, /* Not tracking | */
1464 CAMERA_TRACKING_MODE_POINT=1, /* Target is a point | */
1465 CAMERA_TRACKING_MODE_RECTANGLE=2, /* Target is a rectangle | */
1466 CAMERA_TRACKING_MODE_ENUM_END=3, /* | */
1467 } CAMERA_TRACKING_MODE;
1468 #endif
1470 /** @brief Camera tracking target data (shows where tracked target is within image) */
1471 #ifndef HAVE_ENUM_CAMERA_TRACKING_TARGET_DATA
1472 #define HAVE_ENUM_CAMERA_TRACKING_TARGET_DATA
1473 typedef enum CAMERA_TRACKING_TARGET_DATA
1475 CAMERA_TRACKING_TARGET_DATA_NONE=0, /* No target data | */
1476 CAMERA_TRACKING_TARGET_DATA_EMBEDDED=1, /* Target data embedded in image data (proprietary) | */
1477 CAMERA_TRACKING_TARGET_DATA_RENDERED=2, /* Target data rendered in image | */
1478 CAMERA_TRACKING_TARGET_DATA_IN_STATUS=4, /* Target data within status message (Point or Rectangle) | */
1479 CAMERA_TRACKING_TARGET_DATA_ENUM_END=5, /* | */
1480 } CAMERA_TRACKING_TARGET_DATA;
1481 #endif
1483 /** @brief Zoom types for MAV_CMD_SET_CAMERA_ZOOM */
1484 #ifndef HAVE_ENUM_CAMERA_ZOOM_TYPE
1485 #define HAVE_ENUM_CAMERA_ZOOM_TYPE
1486 typedef enum CAMERA_ZOOM_TYPE
1488 ZOOM_TYPE_STEP=0, /* Zoom one step increment (-1 for wide, 1 for tele) | */
1489 ZOOM_TYPE_CONTINUOUS=1, /* Continuous zoom up/down until stopped (-1 for wide, 1 for tele, 0 to stop zooming) | */
1490 ZOOM_TYPE_RANGE=2, /* Zoom value as proportion of full camera range (a value between 0.0 and 100.0) | */
1491 ZOOM_TYPE_FOCAL_LENGTH=3, /* Zoom value/variable focal length in milimetres. Note that there is no message to get the valid zoom range of the camera, so this can type can only be used for cameras where the zoom range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera) | */
1492 CAMERA_ZOOM_TYPE_ENUM_END=4, /* | */
1493 } CAMERA_ZOOM_TYPE;
1494 #endif
1496 /** @brief Focus types for MAV_CMD_SET_CAMERA_FOCUS */
1497 #ifndef HAVE_ENUM_SET_FOCUS_TYPE
1498 #define HAVE_ENUM_SET_FOCUS_TYPE
1499 typedef enum SET_FOCUS_TYPE
1501 FOCUS_TYPE_STEP=0, /* Focus one step increment (-1 for focusing in, 1 for focusing out towards infinity). | */
1502 FOCUS_TYPE_CONTINUOUS=1, /* Continuous focus up/down until stopped (-1 for focusing in, 1 for focusing out towards infinity, 0 to stop focusing) | */
1503 FOCUS_TYPE_RANGE=2, /* Focus value as proportion of full camera focus range (a value between 0.0 and 100.0) | */
1504 FOCUS_TYPE_METERS=3, /* Focus value in metres. Note that there is no message to get the valid focus range of the camera, so this can type can only be used for cameras where the range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera). | */
1505 SET_FOCUS_TYPE_ENUM_END=4, /* | */
1506 } SET_FOCUS_TYPE;
1507 #endif
1509 /** @brief Result from PARAM_EXT_SET message (or a PARAM_SET within a transaction). */
1510 #ifndef HAVE_ENUM_PARAM_ACK
1511 #define HAVE_ENUM_PARAM_ACK
1512 typedef enum PARAM_ACK
1514 PARAM_ACK_ACCEPTED=0, /* Parameter value ACCEPTED and SET | */
1515 PARAM_ACK_VALUE_UNSUPPORTED=1, /* Parameter value UNKNOWN/UNSUPPORTED | */
1516 PARAM_ACK_FAILED=2, /* Parameter failed to set | */
1517 PARAM_ACK_IN_PROGRESS=3, /* Parameter value received but not yet set/accepted. A subsequent PARAM_ACK_TRANSACTION or PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating taht the the parameter was recieved and does not need to be resent. | */
1518 PARAM_ACK_ENUM_END=4, /* | */
1519 } PARAM_ACK;
1520 #endif
1522 /** @brief Camera Modes. */
1523 #ifndef HAVE_ENUM_CAMERA_MODE
1524 #define HAVE_ENUM_CAMERA_MODE
1525 typedef enum CAMERA_MODE
1527 CAMERA_MODE_IMAGE=0, /* Camera is in image/photo capture mode. | */
1528 CAMERA_MODE_VIDEO=1, /* Camera is in video capture mode. | */
1529 CAMERA_MODE_IMAGE_SURVEY=2, /* Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. | */
1530 CAMERA_MODE_ENUM_END=3, /* | */
1531 } CAMERA_MODE;
1532 #endif
1534 /** @brief */
1535 #ifndef HAVE_ENUM_MAV_ARM_AUTH_DENIED_REASON
1536 #define HAVE_ENUM_MAV_ARM_AUTH_DENIED_REASON
1537 typedef enum MAV_ARM_AUTH_DENIED_REASON
1539 MAV_ARM_AUTH_DENIED_REASON_GENERIC=0, /* Not a specific reason | */
1540 MAV_ARM_AUTH_DENIED_REASON_NONE=1, /* Authorizer will send the error as string to GCS | */
1541 MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT=2, /* At least one waypoint have a invalid value | */
1542 MAV_ARM_AUTH_DENIED_REASON_TIMEOUT=3, /* Timeout in the authorizer process(in case it depends on network) | */
1543 MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE=4, /* Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied. | */
1544 MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER=5, /* Weather is not good to fly | */
1545 MAV_ARM_AUTH_DENIED_REASON_ENUM_END=6, /* | */
1546 } MAV_ARM_AUTH_DENIED_REASON;
1547 #endif
1549 /** @brief RC type */
1550 #ifndef HAVE_ENUM_RC_TYPE
1551 #define HAVE_ENUM_RC_TYPE
1552 typedef enum RC_TYPE
1554 RC_TYPE_SPEKTRUM_DSM2=0, /* Spektrum DSM2 | */
1555 RC_TYPE_SPEKTRUM_DSMX=1, /* Spektrum DSMX | */
1556 RC_TYPE_ENUM_END=2, /* | */
1557 } RC_TYPE;
1558 #endif
1560 /** @brief Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration. */
1561 #ifndef HAVE_ENUM_POSITION_TARGET_TYPEMASK
1562 #define HAVE_ENUM_POSITION_TARGET_TYPEMASK
1563 typedef enum POSITION_TARGET_TYPEMASK
1565 POSITION_TARGET_TYPEMASK_X_IGNORE=1, /* Ignore position x | */
1566 POSITION_TARGET_TYPEMASK_Y_IGNORE=2, /* Ignore position y | */
1567 POSITION_TARGET_TYPEMASK_Z_IGNORE=4, /* Ignore position z | */
1568 POSITION_TARGET_TYPEMASK_VX_IGNORE=8, /* Ignore velocity x | */
1569 POSITION_TARGET_TYPEMASK_VY_IGNORE=16, /* Ignore velocity y | */
1570 POSITION_TARGET_TYPEMASK_VZ_IGNORE=32, /* Ignore velocity z | */
1571 POSITION_TARGET_TYPEMASK_AX_IGNORE=64, /* Ignore acceleration x | */
1572 POSITION_TARGET_TYPEMASK_AY_IGNORE=128, /* Ignore acceleration y | */
1573 POSITION_TARGET_TYPEMASK_AZ_IGNORE=256, /* Ignore acceleration z | */
1574 POSITION_TARGET_TYPEMASK_FORCE_SET=512, /* Use force instead of acceleration | */
1575 POSITION_TARGET_TYPEMASK_YAW_IGNORE=1024, /* Ignore yaw | */
1576 POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE=2048, /* Ignore yaw rate | */
1577 POSITION_TARGET_TYPEMASK_ENUM_END=2049, /* | */
1578 } POSITION_TARGET_TYPEMASK;
1579 #endif
1581 /** @brief Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b00000000 indicates that none of the setpoint dimensions should be ignored. */
1582 #ifndef HAVE_ENUM_ATTITUDE_TARGET_TYPEMASK
1583 #define HAVE_ENUM_ATTITUDE_TARGET_TYPEMASK
1584 typedef enum ATTITUDE_TARGET_TYPEMASK
1586 ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE=1, /* Ignore body roll rate | */
1587 ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE=2, /* Ignore body pitch rate | */
1588 ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE=4, /* Ignore body yaw rate | */
1589 ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE=64, /* Ignore throttle | */
1590 ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE=128, /* Ignore attitude | */
1591 ATTITUDE_TARGET_TYPEMASK_ENUM_END=129, /* | */
1592 } ATTITUDE_TARGET_TYPEMASK;
1593 #endif
1595 /** @brief Airborne status of UAS. */
1596 #ifndef HAVE_ENUM_UTM_FLIGHT_STATE
1597 #define HAVE_ENUM_UTM_FLIGHT_STATE
1598 typedef enum UTM_FLIGHT_STATE
1600 UTM_FLIGHT_STATE_UNKNOWN=1, /* The flight state can't be determined. | */
1601 UTM_FLIGHT_STATE_GROUND=2, /* UAS on ground. | */
1602 UTM_FLIGHT_STATE_AIRBORNE=3, /* UAS airborne. | */
1603 UTM_FLIGHT_STATE_EMERGENCY=16, /* UAS is in an emergency flight state. | */
1604 UTM_FLIGHT_STATE_NOCTRL=32, /* UAS has no active controls. | */
1605 UTM_FLIGHT_STATE_ENUM_END=33, /* | */
1606 } UTM_FLIGHT_STATE;
1607 #endif
1609 /** @brief Flags for the global position report. */
1610 #ifndef HAVE_ENUM_UTM_DATA_AVAIL_FLAGS
1611 #define HAVE_ENUM_UTM_DATA_AVAIL_FLAGS
1612 typedef enum UTM_DATA_AVAIL_FLAGS
1614 UTM_DATA_AVAIL_FLAGS_TIME_VALID=1, /* The field time contains valid data. | */
1615 UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE=2, /* The field uas_id contains valid data. | */
1616 UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE=4, /* The fields lat, lon and h_acc contain valid data. | */
1617 UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE=8, /* The fields alt and v_acc contain valid data. | */
1618 UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE=16, /* The field relative_alt contains valid data. | */
1619 UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE=32, /* The fields vx and vy contain valid data. | */
1620 UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE=64, /* The field vz contains valid data. | */
1621 UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE=128, /* The fields next_lat, next_lon and next_alt contain valid data. | */
1622 UTM_DATA_AVAIL_FLAGS_ENUM_END=129, /* | */
1623 } UTM_DATA_AVAIL_FLAGS;
1624 #endif
1626 /** @brief Cellular network radio type */
1627 #ifndef HAVE_ENUM_CELLULAR_NETWORK_RADIO_TYPE
1628 #define HAVE_ENUM_CELLULAR_NETWORK_RADIO_TYPE
1629 typedef enum CELLULAR_NETWORK_RADIO_TYPE
1631 CELLULAR_NETWORK_RADIO_TYPE_NONE=0, /* | */
1632 CELLULAR_NETWORK_RADIO_TYPE_GSM=1, /* | */
1633 CELLULAR_NETWORK_RADIO_TYPE_CDMA=2, /* | */
1634 CELLULAR_NETWORK_RADIO_TYPE_WCDMA=3, /* | */
1635 CELLULAR_NETWORK_RADIO_TYPE_LTE=4, /* | */
1636 CELLULAR_NETWORK_RADIO_TYPE_ENUM_END=5, /* | */
1637 } CELLULAR_NETWORK_RADIO_TYPE;
1638 #endif
1640 /** @brief These flags encode the cellular network status */
1641 #ifndef HAVE_ENUM_CELLULAR_STATUS_FLAG
1642 #define HAVE_ENUM_CELLULAR_STATUS_FLAG
1643 typedef enum CELLULAR_STATUS_FLAG
1645 CELLULAR_STATUS_FLAG_UNKNOWN=0, /* State unknown or not reportable. | */
1646 CELLULAR_STATUS_FLAG_FAILED=1, /* Modem is unusable | */
1647 CELLULAR_STATUS_FLAG_INITIALIZING=2, /* Modem is being initialized | */
1648 CELLULAR_STATUS_FLAG_LOCKED=3, /* Modem is locked | */
1649 CELLULAR_STATUS_FLAG_DISABLED=4, /* Modem is not enabled and is powered down | */
1650 CELLULAR_STATUS_FLAG_DISABLING=5, /* Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state | */
1651 CELLULAR_STATUS_FLAG_ENABLING=6, /* Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state | */
1652 CELLULAR_STATUS_FLAG_ENABLED=7, /* Modem is enabled and powered on but not registered with a network provider and not available for data connections | */
1653 CELLULAR_STATUS_FLAG_SEARCHING=8, /* Modem is searching for a network provider to register | */
1654 CELLULAR_STATUS_FLAG_REGISTERED=9, /* Modem is registered with a network provider, and data connections and messaging may be available for use | */
1655 CELLULAR_STATUS_FLAG_DISCONNECTING=10, /* Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated | */
1656 CELLULAR_STATUS_FLAG_CONNECTING=11, /* Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered | */
1657 CELLULAR_STATUS_FLAG_CONNECTED=12, /* One or more packet data bearers is active and connected | */
1658 CELLULAR_STATUS_FLAG_ENUM_END=13, /* | */
1659 } CELLULAR_STATUS_FLAG;
1660 #endif
1662 /** @brief These flags are used to diagnose the failure state of CELLULAR_STATUS */
1663 #ifndef HAVE_ENUM_CELLULAR_NETWORK_FAILED_REASON
1664 #define HAVE_ENUM_CELLULAR_NETWORK_FAILED_REASON
1665 typedef enum CELLULAR_NETWORK_FAILED_REASON
1667 CELLULAR_NETWORK_FAILED_REASON_NONE=0, /* No error | */
1668 CELLULAR_NETWORK_FAILED_REASON_UNKNOWN=1, /* Error state is unknown | */
1669 CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING=2, /* SIM is required for the modem but missing | */
1670 CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR=3, /* SIM is available, but not usuable for connection | */
1671 CELLULAR_NETWORK_FAILED_REASON_ENUM_END=4, /* | */
1672 } CELLULAR_NETWORK_FAILED_REASON;
1673 #endif
1675 /** @brief Precision land modes (used in MAV_CMD_NAV_LAND). */
1676 #ifndef HAVE_ENUM_PRECISION_LAND_MODE
1677 #define HAVE_ENUM_PRECISION_LAND_MODE
1678 typedef enum PRECISION_LAND_MODE
1680 PRECISION_LAND_MODE_DISABLED=0, /* Normal (non-precision) landing. | */
1681 PRECISION_LAND_MODE_OPPORTUNISTIC=1, /* Use precision landing if beacon detected when land command accepted, otherwise land normally. | */
1682 PRECISION_LAND_MODE_REQUIRED=2, /* Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found). | */
1683 PRECISION_LAND_MODE_ENUM_END=3, /* | */
1684 } PRECISION_LAND_MODE;
1685 #endif
1687 /** @brief Parachute actions. Trigger release and enable/disable auto-release. */
1688 #ifndef HAVE_ENUM_PARACHUTE_ACTION
1689 #define HAVE_ENUM_PARACHUTE_ACTION
1690 typedef enum PARACHUTE_ACTION
1692 PARACHUTE_DISABLE=0, /* Disable auto-release of parachute (i.e. release triggered by crash detectors). | */
1693 PARACHUTE_ENABLE=1, /* Enable auto-release of parachute. | */
1694 PARACHUTE_RELEASE=2, /* Release parachute and kill motors. | */
1695 PARACHUTE_ACTION_ENUM_END=3, /* | */
1696 } PARACHUTE_ACTION;
1697 #endif
1699 /** @brief */
1700 #ifndef HAVE_ENUM_MAV_TUNNEL_PAYLOAD_TYPE
1701 #define HAVE_ENUM_MAV_TUNNEL_PAYLOAD_TYPE
1702 typedef enum MAV_TUNNEL_PAYLOAD_TYPE
1704 MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN=0, /* Encoding of payload unknown. | */
1705 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0=200, /* Registered for STorM32 gimbal controller. | */
1706 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1=201, /* Registered for STorM32 gimbal controller. | */
1707 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2=202, /* Registered for STorM32 gimbal controller. | */
1708 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3=203, /* Registered for STorM32 gimbal controller. | */
1709 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4=204, /* Registered for STorM32 gimbal controller. | */
1710 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5=205, /* Registered for STorM32 gimbal controller. | */
1711 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6=206, /* Registered for STorM32 gimbal controller. | */
1712 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7=207, /* Registered for STorM32 gimbal controller. | */
1713 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8=208, /* Registered for STorM32 gimbal controller. | */
1714 MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9=209, /* Registered for STorM32 gimbal controller. | */
1715 MAV_TUNNEL_PAYLOAD_TYPE_ENUM_END=210, /* | */
1716 } MAV_TUNNEL_PAYLOAD_TYPE;
1717 #endif
1719 /** @brief */
1720 #ifndef HAVE_ENUM_MAV_ODID_ID_TYPE
1721 #define HAVE_ENUM_MAV_ODID_ID_TYPE
1722 typedef enum MAV_ODID_ID_TYPE
1724 MAV_ODID_ID_TYPE_NONE=0, /* No type defined. | */
1725 MAV_ODID_ID_TYPE_SERIAL_NUMBER=1, /* Manufacturer Serial Number (ANSI/CTA-2063 format). | */
1726 MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID=2, /* CAA (Civil Aviation Authority) registered ID. Format: [ICAO Country Code].[CAA Assigned ID]. | */
1727 MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID=3, /* UTM (Unmanned Traffic Management) assigned UUID (RFC4122). | */
1728 MAV_ODID_ID_TYPE_ENUM_END=4, /* | */
1729 } MAV_ODID_ID_TYPE;
1730 #endif
1732 /** @brief */
1733 #ifndef HAVE_ENUM_MAV_ODID_UA_TYPE
1734 #define HAVE_ENUM_MAV_ODID_UA_TYPE
1735 typedef enum MAV_ODID_UA_TYPE
1737 MAV_ODID_UA_TYPE_NONE=0, /* No UA (Unmanned Aircraft) type defined. | */
1738 MAV_ODID_UA_TYPE_AEROPLANE=1, /* Aeroplane/Airplane. Fixed wing. | */
1739 MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR=2, /* Helicopter or multirotor. | */
1740 MAV_ODID_UA_TYPE_GYROPLANE=3, /* Gyroplane. | */
1741 MAV_ODID_UA_TYPE_HYBRID_LIFT=4, /* VTOL (Vertical Take-Off and Landing). Fixed wing aircraft that can take off vertically. | */
1742 MAV_ODID_UA_TYPE_ORNITHOPTER=5, /* Ornithopter. | */
1743 MAV_ODID_UA_TYPE_GLIDER=6, /* Glider. | */
1744 MAV_ODID_UA_TYPE_KITE=7, /* Kite. | */
1745 MAV_ODID_UA_TYPE_FREE_BALLOON=8, /* Free Balloon. | */
1746 MAV_ODID_UA_TYPE_CAPTIVE_BALLOON=9, /* Captive Balloon. | */
1747 MAV_ODID_UA_TYPE_AIRSHIP=10, /* Airship. E.g. a blimp. | */
1748 MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE=11, /* Free Fall/Parachute (unpowered). | */
1749 MAV_ODID_UA_TYPE_ROCKET=12, /* Rocket. | */
1750 MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT=13, /* Tethered powered aircraft. | */
1751 MAV_ODID_UA_TYPE_GROUND_OBSTACLE=14, /* Ground Obstacle. | */
1752 MAV_ODID_UA_TYPE_OTHER=15, /* Other type of aircraft not listed earlier. | */
1753 MAV_ODID_UA_TYPE_ENUM_END=16, /* | */
1754 } MAV_ODID_UA_TYPE;
1755 #endif
1757 /** @brief */
1758 #ifndef HAVE_ENUM_MAV_ODID_STATUS
1759 #define HAVE_ENUM_MAV_ODID_STATUS
1760 typedef enum MAV_ODID_STATUS
1762 MAV_ODID_STATUS_UNDECLARED=0, /* The status of the (UA) Unmanned Aircraft is undefined. | */
1763 MAV_ODID_STATUS_GROUND=1, /* The UA is on the ground. | */
1764 MAV_ODID_STATUS_AIRBORNE=2, /* The UA is in the air. | */
1765 MAV_ODID_STATUS_EMERGENCY=3, /* The UA is having an emergency. | */
1766 MAV_ODID_STATUS_ENUM_END=4, /* | */
1767 } MAV_ODID_STATUS;
1768 #endif
1770 /** @brief */
1771 #ifndef HAVE_ENUM_MAV_ODID_HEIGHT_REF
1772 #define HAVE_ENUM_MAV_ODID_HEIGHT_REF
1773 typedef enum MAV_ODID_HEIGHT_REF
1775 MAV_ODID_HEIGHT_REF_OVER_TAKEOFF=0, /* The height field is relative to the take-off location. | */
1776 MAV_ODID_HEIGHT_REF_OVER_GROUND=1, /* The height field is relative to ground. | */
1777 MAV_ODID_HEIGHT_REF_ENUM_END=2, /* | */
1778 } MAV_ODID_HEIGHT_REF;
1779 #endif
1781 /** @brief */
1782 #ifndef HAVE_ENUM_MAV_ODID_HOR_ACC
1783 #define HAVE_ENUM_MAV_ODID_HOR_ACC
1784 typedef enum MAV_ODID_HOR_ACC
1786 MAV_ODID_HOR_ACC_UNKNOWN=0, /* The horizontal accuracy is unknown. | */
1787 MAV_ODID_HOR_ACC_10NM=1, /* The horizontal accuracy is smaller than 10 Nautical Miles. 18.52 km. | */
1788 MAV_ODID_HOR_ACC_4NM=2, /* The horizontal accuracy is smaller than 4 Nautical Miles. 7.408 km. | */
1789 MAV_ODID_HOR_ACC_2NM=3, /* The horizontal accuracy is smaller than 2 Nautical Miles. 3.704 km. | */
1790 MAV_ODID_HOR_ACC_1NM=4, /* The horizontal accuracy is smaller than 1 Nautical Miles. 1.852 km. | */
1791 MAV_ODID_HOR_ACC_0_5NM=5, /* The horizontal accuracy is smaller than 0.5 Nautical Miles. 926 m. | */
1792 MAV_ODID_HOR_ACC_0_3NM=6, /* The horizontal accuracy is smaller than 0.3 Nautical Miles. 555.6 m. | */
1793 MAV_ODID_HOR_ACC_0_1NM=7, /* The horizontal accuracy is smaller than 0.1 Nautical Miles. 185.2 m. | */
1794 MAV_ODID_HOR_ACC_0_05NM=8, /* The horizontal accuracy is smaller than 0.05 Nautical Miles. 92.6 m. | */
1795 MAV_ODID_HOR_ACC_30_METER=9, /* The horizontal accuracy is smaller than 30 meter. | */
1796 MAV_ODID_HOR_ACC_10_METER=10, /* The horizontal accuracy is smaller than 10 meter. | */
1797 MAV_ODID_HOR_ACC_3_METER=11, /* The horizontal accuracy is smaller than 3 meter. | */
1798 MAV_ODID_HOR_ACC_1_METER=12, /* The horizontal accuracy is smaller than 1 meter. | */
1799 MAV_ODID_HOR_ACC_ENUM_END=13, /* | */
1800 } MAV_ODID_HOR_ACC;
1801 #endif
1803 /** @brief */
1804 #ifndef HAVE_ENUM_MAV_ODID_VER_ACC
1805 #define HAVE_ENUM_MAV_ODID_VER_ACC
1806 typedef enum MAV_ODID_VER_ACC
1808 MAV_ODID_VER_ACC_UNKNOWN=0, /* The vertical accuracy is unknown. | */
1809 MAV_ODID_VER_ACC_150_METER=1, /* The vertical accuracy is smaller than 150 meter. | */
1810 MAV_ODID_VER_ACC_45_METER=2, /* The vertical accuracy is smaller than 45 meter. | */
1811 MAV_ODID_VER_ACC_25_METER=3, /* The vertical accuracy is smaller than 25 meter. | */
1812 MAV_ODID_VER_ACC_10_METER=4, /* The vertical accuracy is smaller than 10 meter. | */
1813 MAV_ODID_VER_ACC_3_METER=5, /* The vertical accuracy is smaller than 3 meter. | */
1814 MAV_ODID_VER_ACC_1_METER=6, /* The vertical accuracy is smaller than 1 meter. | */
1815 MAV_ODID_VER_ACC_ENUM_END=7, /* | */
1816 } MAV_ODID_VER_ACC;
1817 #endif
1819 /** @brief */
1820 #ifndef HAVE_ENUM_MAV_ODID_SPEED_ACC
1821 #define HAVE_ENUM_MAV_ODID_SPEED_ACC
1822 typedef enum MAV_ODID_SPEED_ACC
1824 MAV_ODID_SPEED_ACC_UNKNOWN=0, /* The speed accuracy is unknown. | */
1825 MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND=1, /* The speed accuracy is smaller than 10 meters per second. | */
1826 MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND=2, /* The speed accuracy is smaller than 3 meters per second. | */
1827 MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND=3, /* The speed accuracy is smaller than 1 meters per second. | */
1828 MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND=4, /* The speed accuracy is smaller than 0.3 meters per second. | */
1829 MAV_ODID_SPEED_ACC_ENUM_END=5, /* | */
1830 } MAV_ODID_SPEED_ACC;
1831 #endif
1833 /** @brief */
1834 #ifndef HAVE_ENUM_MAV_ODID_TIME_ACC
1835 #define HAVE_ENUM_MAV_ODID_TIME_ACC
1836 typedef enum MAV_ODID_TIME_ACC
1838 MAV_ODID_TIME_ACC_UNKNOWN=0, /* The timestamp accuracy is unknown. | */
1839 MAV_ODID_TIME_ACC_0_1_SECOND=1, /* The timestamp accuracy is smaller than or equal to 0.1 second. | */
1840 MAV_ODID_TIME_ACC_0_2_SECOND=2, /* The timestamp accuracy is smaller than or equal to 0.2 second. | */
1841 MAV_ODID_TIME_ACC_0_3_SECOND=3, /* The timestamp accuracy is smaller than or equal to 0.3 second. | */
1842 MAV_ODID_TIME_ACC_0_4_SECOND=4, /* The timestamp accuracy is smaller than or equal to 0.4 second. | */
1843 MAV_ODID_TIME_ACC_0_5_SECOND=5, /* The timestamp accuracy is smaller than or equal to 0.5 second. | */
1844 MAV_ODID_TIME_ACC_0_6_SECOND=6, /* The timestamp accuracy is smaller than or equal to 0.6 second. | */
1845 MAV_ODID_TIME_ACC_0_7_SECOND=7, /* The timestamp accuracy is smaller than or equal to 0.7 second. | */
1846 MAV_ODID_TIME_ACC_0_8_SECOND=8, /* The timestamp accuracy is smaller than or equal to 0.8 second. | */
1847 MAV_ODID_TIME_ACC_0_9_SECOND=9, /* The timestamp accuracy is smaller than or equal to 0.9 second. | */
1848 MAV_ODID_TIME_ACC_1_0_SECOND=10, /* The timestamp accuracy is smaller than or equal to 1.0 second. | */
1849 MAV_ODID_TIME_ACC_1_1_SECOND=11, /* The timestamp accuracy is smaller than or equal to 1.1 second. | */
1850 MAV_ODID_TIME_ACC_1_2_SECOND=12, /* The timestamp accuracy is smaller than or equal to 1.2 second. | */
1851 MAV_ODID_TIME_ACC_1_3_SECOND=13, /* The timestamp accuracy is smaller than or equal to 1.3 second. | */
1852 MAV_ODID_TIME_ACC_1_4_SECOND=14, /* The timestamp accuracy is smaller than or equal to 1.4 second. | */
1853 MAV_ODID_TIME_ACC_1_5_SECOND=15, /* The timestamp accuracy is smaller than or equal to 1.5 second. | */
1854 MAV_ODID_TIME_ACC_ENUM_END=16, /* | */
1855 } MAV_ODID_TIME_ACC;
1856 #endif
1858 /** @brief */
1859 #ifndef HAVE_ENUM_MAV_ODID_AUTH_TYPE
1860 #define HAVE_ENUM_MAV_ODID_AUTH_TYPE
1861 typedef enum MAV_ODID_AUTH_TYPE
1863 MAV_ODID_AUTH_TYPE_NONE=0, /* No authentication type is specified. | */
1864 MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE=1, /* Signature for the UAS (Unmanned Aircraft System) ID. | */
1865 MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE=2, /* Signature for the Operator ID. | */
1866 MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE=3, /* Signature for the entire message set. | */
1867 MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID=4, /* Authentication is provided by Network Remote ID. | */
1868 MAV_ODID_AUTH_TYPE_ENUM_END=5, /* | */
1869 } MAV_ODID_AUTH_TYPE;
1870 #endif
1872 /** @brief */
1873 #ifndef HAVE_ENUM_MAV_ODID_DESC_TYPE
1874 #define HAVE_ENUM_MAV_ODID_DESC_TYPE
1875 typedef enum MAV_ODID_DESC_TYPE
1877 MAV_ODID_DESC_TYPE_TEXT=0, /* Free-form text description of the purpose of the flight. | */
1878 MAV_ODID_DESC_TYPE_ENUM_END=1, /* | */
1879 } MAV_ODID_DESC_TYPE;
1880 #endif
1882 /** @brief */
1883 #ifndef HAVE_ENUM_MAV_ODID_OPERATOR_LOCATION_TYPE
1884 #define HAVE_ENUM_MAV_ODID_OPERATOR_LOCATION_TYPE
1885 typedef enum MAV_ODID_OPERATOR_LOCATION_TYPE
1887 MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF=0, /* The location of the operator is the same as the take-off location. | */
1888 MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS=1, /* The location of the operator is based on live GNSS data. | */
1889 MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED=2, /* The location of the operator is a fixed location. | */
1890 MAV_ODID_OPERATOR_LOCATION_TYPE_ENUM_END=3, /* | */
1891 } MAV_ODID_OPERATOR_LOCATION_TYPE;
1892 #endif
1894 /** @brief */
1895 #ifndef HAVE_ENUM_MAV_ODID_CLASSIFICATION_TYPE
1896 #define HAVE_ENUM_MAV_ODID_CLASSIFICATION_TYPE
1897 typedef enum MAV_ODID_CLASSIFICATION_TYPE
1899 MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED=0, /* The classification type for the UA is undeclared. | */
1900 MAV_ODID_CLASSIFICATION_TYPE_EU=1, /* The classification type for the UA follows EU (European Union) specifications. | */
1901 MAV_ODID_CLASSIFICATION_TYPE_ENUM_END=2, /* | */
1902 } MAV_ODID_CLASSIFICATION_TYPE;
1903 #endif
1905 /** @brief */
1906 #ifndef HAVE_ENUM_MAV_ODID_CATEGORY_EU
1907 #define HAVE_ENUM_MAV_ODID_CATEGORY_EU
1908 typedef enum MAV_ODID_CATEGORY_EU
1910 MAV_ODID_CATEGORY_EU_UNDECLARED=0, /* The category for the UA, according to the EU specification, is undeclared. | */
1911 MAV_ODID_CATEGORY_EU_OPEN=1, /* The category for the UA, according to the EU specification, is the Open category. | */
1912 MAV_ODID_CATEGORY_EU_SPECIFIC=2, /* The category for the UA, according to the EU specification, is the Specific category. | */
1913 MAV_ODID_CATEGORY_EU_CERTIFIED=3, /* The category for the UA, according to the EU specification, is the Certified category. | */
1914 MAV_ODID_CATEGORY_EU_ENUM_END=4, /* | */
1915 } MAV_ODID_CATEGORY_EU;
1916 #endif
1918 /** @brief */
1919 #ifndef HAVE_ENUM_MAV_ODID_CLASS_EU
1920 #define HAVE_ENUM_MAV_ODID_CLASS_EU
1921 typedef enum MAV_ODID_CLASS_EU
1923 MAV_ODID_CLASS_EU_UNDECLARED=0, /* The class for the UA, according to the EU specification, is undeclared. | */
1924 MAV_ODID_CLASS_EU_CLASS_0=1, /* The class for the UA, according to the EU specification, is Class 0. | */
1925 MAV_ODID_CLASS_EU_CLASS_1=2, /* The class for the UA, according to the EU specification, is Class 1. | */
1926 MAV_ODID_CLASS_EU_CLASS_2=3, /* The class for the UA, according to the EU specification, is Class 2. | */
1927 MAV_ODID_CLASS_EU_CLASS_3=4, /* The class for the UA, according to the EU specification, is Class 3. | */
1928 MAV_ODID_CLASS_EU_CLASS_4=5, /* The class for the UA, according to the EU specification, is Class 4. | */
1929 MAV_ODID_CLASS_EU_CLASS_5=6, /* The class for the UA, according to the EU specification, is Class 5. | */
1930 MAV_ODID_CLASS_EU_CLASS_6=7, /* The class for the UA, according to the EU specification, is Class 6. | */
1931 MAV_ODID_CLASS_EU_ENUM_END=8, /* | */
1932 } MAV_ODID_CLASS_EU;
1933 #endif
1935 /** @brief */
1936 #ifndef HAVE_ENUM_MAV_ODID_OPERATOR_ID_TYPE
1937 #define HAVE_ENUM_MAV_ODID_OPERATOR_ID_TYPE
1938 typedef enum MAV_ODID_OPERATOR_ID_TYPE
1940 MAV_ODID_OPERATOR_ID_TYPE_CAA=0, /* CAA (Civil Aviation Authority) registered operator ID. | */
1941 MAV_ODID_OPERATOR_ID_TYPE_ENUM_END=1, /* | */
1942 } MAV_ODID_OPERATOR_ID_TYPE;
1943 #endif
1945 /** @brief Tune formats (used for vehicle buzzer/tone generation). */
1946 #ifndef HAVE_ENUM_TUNE_FORMAT
1947 #define HAVE_ENUM_TUNE_FORMAT
1948 typedef enum TUNE_FORMAT
1950 TUNE_FORMAT_QBASIC1_1=1, /* Format is QBasic 1.1 Play: https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006.htm. | */
1951 TUNE_FORMAT_MML_MODERN=2, /* Format is Modern Music Markup Language (MML): https://en.wikipedia.org/wiki/Music_Macro_Language#Modern_MML. | */
1952 TUNE_FORMAT_ENUM_END=3, /* | */
1953 } TUNE_FORMAT;
1954 #endif
1956 /** @brief Component capability flags (Bitmap) */
1957 #ifndef HAVE_ENUM_COMPONENT_CAP_FLAGS
1958 #define HAVE_ENUM_COMPONENT_CAP_FLAGS
1959 typedef enum COMPONENT_CAP_FLAGS
1961 COMPONENT_CAP_FLAGS_PARAM=1, /* Component has parameters, and supports the parameter protocol (PARAM messages). | */
1962 COMPONENT_CAP_FLAGS_PARAM_EXT=2, /* Component has parameters, and supports the extended parameter protocol (PARAM_EXT messages). | */
1963 COMPONENT_CAP_FLAGS_ENUM_END=3, /* | */
1964 } COMPONENT_CAP_FLAGS;
1965 #endif
1967 /** @brief Type of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html */
1968 #ifndef HAVE_ENUM_AIS_TYPE
1969 #define HAVE_ENUM_AIS_TYPE
1970 typedef enum AIS_TYPE
1972 AIS_TYPE_UNKNOWN=0, /* Not available (default). | */
1973 AIS_TYPE_RESERVED_1=1, /* | */
1974 AIS_TYPE_RESERVED_2=2, /* | */
1975 AIS_TYPE_RESERVED_3=3, /* | */
1976 AIS_TYPE_RESERVED_4=4, /* | */
1977 AIS_TYPE_RESERVED_5=5, /* | */
1978 AIS_TYPE_RESERVED_6=6, /* | */
1979 AIS_TYPE_RESERVED_7=7, /* | */
1980 AIS_TYPE_RESERVED_8=8, /* | */
1981 AIS_TYPE_RESERVED_9=9, /* | */
1982 AIS_TYPE_RESERVED_10=10, /* | */
1983 AIS_TYPE_RESERVED_11=11, /* | */
1984 AIS_TYPE_RESERVED_12=12, /* | */
1985 AIS_TYPE_RESERVED_13=13, /* | */
1986 AIS_TYPE_RESERVED_14=14, /* | */
1987 AIS_TYPE_RESERVED_15=15, /* | */
1988 AIS_TYPE_RESERVED_16=16, /* | */
1989 AIS_TYPE_RESERVED_17=17, /* | */
1990 AIS_TYPE_RESERVED_18=18, /* | */
1991 AIS_TYPE_RESERVED_19=19, /* | */
1992 AIS_TYPE_WIG=20, /* Wing In Ground effect. | */
1993 AIS_TYPE_WIG_HAZARDOUS_A=21, /* | */
1994 AIS_TYPE_WIG_HAZARDOUS_B=22, /* | */
1995 AIS_TYPE_WIG_HAZARDOUS_C=23, /* | */
1996 AIS_TYPE_WIG_HAZARDOUS_D=24, /* | */
1997 AIS_TYPE_WIG_RESERVED_1=25, /* | */
1998 AIS_TYPE_WIG_RESERVED_2=26, /* | */
1999 AIS_TYPE_WIG_RESERVED_3=27, /* | */
2000 AIS_TYPE_WIG_RESERVED_4=28, /* | */
2001 AIS_TYPE_WIG_RESERVED_5=29, /* | */
2002 AIS_TYPE_FISHING=30, /* | */
2003 AIS_TYPE_TOWING=31, /* | */
2004 AIS_TYPE_TOWING_LARGE=32, /* Towing: length exceeds 200m or breadth exceeds 25m. | */
2005 AIS_TYPE_DREDGING=33, /* Dredging or other underwater ops. | */
2006 AIS_TYPE_DIVING=34, /* | */
2007 AIS_TYPE_MILITARY=35, /* | */
2008 AIS_TYPE_SAILING=36, /* | */
2009 AIS_TYPE_PLEASURE=37, /* | */
2010 AIS_TYPE_RESERVED_20=38, /* | */
2011 AIS_TYPE_RESERVED_21=39, /* | */
2012 AIS_TYPE_HSC=40, /* High Speed Craft. | */
2013 AIS_TYPE_HSC_HAZARDOUS_A=41, /* | */
2014 AIS_TYPE_HSC_HAZARDOUS_B=42, /* | */
2015 AIS_TYPE_HSC_HAZARDOUS_C=43, /* | */
2016 AIS_TYPE_HSC_HAZARDOUS_D=44, /* | */
2017 AIS_TYPE_HSC_RESERVED_1=45, /* | */
2018 AIS_TYPE_HSC_RESERVED_2=46, /* | */
2019 AIS_TYPE_HSC_RESERVED_3=47, /* | */
2020 AIS_TYPE_HSC_RESERVED_4=48, /* | */
2021 AIS_TYPE_HSC_UNKNOWN=49, /* | */
2022 AIS_TYPE_PILOT=50, /* | */
2023 AIS_TYPE_SAR=51, /* Search And Rescue vessel. | */
2024 AIS_TYPE_TUG=52, /* | */
2025 AIS_TYPE_PORT_TENDER=53, /* | */
2026 AIS_TYPE_ANTI_POLLUTION=54, /* Anti-pollution equipment. | */
2027 AIS_TYPE_LAW_ENFORCEMENT=55, /* | */
2028 AIS_TYPE_SPARE_LOCAL_1=56, /* | */
2029 AIS_TYPE_SPARE_LOCAL_2=57, /* | */
2030 AIS_TYPE_MEDICAL_TRANSPORT=58, /* | */
2031 AIS_TYPE_NONECOMBATANT=59, /* Noncombatant ship according to RR Resolution No. 18. | */
2032 AIS_TYPE_PASSENGER=60, /* | */
2033 AIS_TYPE_PASSENGER_HAZARDOUS_A=61, /* | */
2034 AIS_TYPE_PASSENGER_HAZARDOUS_B=62, /* | */
2035 AIS_TYPE_AIS_TYPE_PASSENGER_HAZARDOUS_C=63, /* | */
2036 AIS_TYPE_PASSENGER_HAZARDOUS_D=64, /* | */
2037 AIS_TYPE_PASSENGER_RESERVED_1=65, /* | */
2038 AIS_TYPE_PASSENGER_RESERVED_2=66, /* | */
2039 AIS_TYPE_PASSENGER_RESERVED_3=67, /* | */
2040 AIS_TYPE_AIS_TYPE_PASSENGER_RESERVED_4=68, /* | */
2041 AIS_TYPE_PASSENGER_UNKNOWN=69, /* | */
2042 AIS_TYPE_CARGO=70, /* | */
2043 AIS_TYPE_CARGO_HAZARDOUS_A=71, /* | */
2044 AIS_TYPE_CARGO_HAZARDOUS_B=72, /* | */
2045 AIS_TYPE_CARGO_HAZARDOUS_C=73, /* | */
2046 AIS_TYPE_CARGO_HAZARDOUS_D=74, /* | */
2047 AIS_TYPE_CARGO_RESERVED_1=75, /* | */
2048 AIS_TYPE_CARGO_RESERVED_2=76, /* | */
2049 AIS_TYPE_CARGO_RESERVED_3=77, /* | */
2050 AIS_TYPE_CARGO_RESERVED_4=78, /* | */
2051 AIS_TYPE_CARGO_UNKNOWN=79, /* | */
2052 AIS_TYPE_TANKER=80, /* | */
2053 AIS_TYPE_TANKER_HAZARDOUS_A=81, /* | */
2054 AIS_TYPE_TANKER_HAZARDOUS_B=82, /* | */
2055 AIS_TYPE_TANKER_HAZARDOUS_C=83, /* | */
2056 AIS_TYPE_TANKER_HAZARDOUS_D=84, /* | */
2057 AIS_TYPE_TANKER_RESERVED_1=85, /* | */
2058 AIS_TYPE_TANKER_RESERVED_2=86, /* | */
2059 AIS_TYPE_TANKER_RESERVED_3=87, /* | */
2060 AIS_TYPE_TANKER_RESERVED_4=88, /* | */
2061 AIS_TYPE_TANKER_UNKNOWN=89, /* | */
2062 AIS_TYPE_OTHER=90, /* | */
2063 AIS_TYPE_OTHER_HAZARDOUS_A=91, /* | */
2064 AIS_TYPE_OTHER_HAZARDOUS_B=92, /* | */
2065 AIS_TYPE_OTHER_HAZARDOUS_C=93, /* | */
2066 AIS_TYPE_OTHER_HAZARDOUS_D=94, /* | */
2067 AIS_TYPE_OTHER_RESERVED_1=95, /* | */
2068 AIS_TYPE_OTHER_RESERVED_2=96, /* | */
2069 AIS_TYPE_OTHER_RESERVED_3=97, /* | */
2070 AIS_TYPE_OTHER_RESERVED_4=98, /* | */
2071 AIS_TYPE_OTHER_UNKNOWN=99, /* | */
2072 AIS_TYPE_ENUM_END=100, /* | */
2073 } AIS_TYPE;
2074 #endif
2076 /** @brief Navigational status of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html */
2077 #ifndef HAVE_ENUM_AIS_NAV_STATUS
2078 #define HAVE_ENUM_AIS_NAV_STATUS
2079 typedef enum AIS_NAV_STATUS
2081 UNDER_WAY=0, /* Under way using engine. | */
2082 AIS_NAV_ANCHORED=1, /* | */
2083 AIS_NAV_UN_COMMANDED=2, /* | */
2084 AIS_NAV_RESTRICTED_MANOEUVERABILITY=3, /* | */
2085 AIS_NAV_DRAUGHT_CONSTRAINED=4, /* | */
2086 AIS_NAV_MOORED=5, /* | */
2087 AIS_NAV_AGROUND=6, /* | */
2088 AIS_NAV_FISHING=7, /* | */
2089 AIS_NAV_SAILING=8, /* | */
2090 AIS_NAV_RESERVED_HSC=9, /* | */
2091 AIS_NAV_RESERVED_WIG=10, /* | */
2092 AIS_NAV_RESERVED_1=11, /* | */
2093 AIS_NAV_RESERVED_2=12, /* | */
2094 AIS_NAV_RESERVED_3=13, /* | */
2095 AIS_NAV_AIS_SART=14, /* Search And Rescue Transponder. | */
2096 AIS_NAV_UNKNOWN=15, /* Not available (default). | */
2097 AIS_NAV_STATUS_ENUM_END=16, /* | */
2098 } AIS_NAV_STATUS;
2099 #endif
2101 /** @brief These flags are used in the AIS_VESSEL.fields bitmask to indicate validity of data in the other message fields. When set, the data is valid. */
2102 #ifndef HAVE_ENUM_AIS_FLAGS
2103 #define HAVE_ENUM_AIS_FLAGS
2104 typedef enum AIS_FLAGS
2106 AIS_FLAGS_POSITION_ACCURACY=1, /* 1 = Position accuracy less than 10m, 0 = position accuracy greater than 10m. | */
2107 AIS_FLAGS_VALID_COG=2, /* | */
2108 AIS_FLAGS_VALID_VELOCITY=4, /* | */
2109 AIS_FLAGS_HIGH_VELOCITY=8, /* 1 = Velocity over 52.5765m/s (102.2 knots) | */
2110 AIS_FLAGS_VALID_TURN_RATE=16, /* | */
2111 AIS_FLAGS_TURN_RATE_SIGN_ONLY=32, /* Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s | */
2112 AIS_FLAGS_VALID_DIMENSIONS=64, /* | */
2113 AIS_FLAGS_LARGE_BOW_DIMENSION=128, /* Distance to bow is larger than 511m | */
2114 AIS_FLAGS_LARGE_STERN_DIMENSION=256, /* Distance to stern is larger than 511m | */
2115 AIS_FLAGS_LARGE_PORT_DIMENSION=512, /* Distance to port side is larger than 63m | */
2116 AIS_FLAGS_LARGE_STARBOARD_DIMENSION=1024, /* Distance to starboard side is larger than 63m | */
2117 AIS_FLAGS_VALID_CALLSIGN=2048, /* | */
2118 AIS_FLAGS_VALID_NAME=4096, /* | */
2119 AIS_FLAGS_ENUM_END=4097, /* | */
2120 } AIS_FLAGS;
2121 #endif
2123 /** @brief List of possible units where failures can be injected. */
2124 #ifndef HAVE_ENUM_FAILURE_UNIT
2125 #define HAVE_ENUM_FAILURE_UNIT
2126 typedef enum FAILURE_UNIT
2128 FAILURE_UNIT_SENSOR_GYRO=0, /* | */
2129 FAILURE_UNIT_SENSOR_ACCEL=1, /* | */
2130 FAILURE_UNIT_SENSOR_MAG=2, /* | */
2131 FAILURE_UNIT_SENSOR_BARO=3, /* | */
2132 FAILURE_UNIT_SENSOR_GPS=4, /* | */
2133 FAILURE_UNIT_SENSOR_OPTICAL_FLOW=5, /* | */
2134 FAILURE_UNIT_SENSOR_VIO=6, /* | */
2135 FAILURE_UNIT_SENSOR_DISTANCE_SENSOR=7, /* | */
2136 FAILURE_UNIT_SENSOR_AIRSPEED=8, /* | */
2137 FAILURE_UNIT_SYSTEM_BATTERY=100, /* | */
2138 FAILURE_UNIT_SYSTEM_MOTOR=101, /* | */
2139 FAILURE_UNIT_SYSTEM_SERVO=102, /* | */
2140 FAILURE_UNIT_SYSTEM_AVOIDANCE=103, /* | */
2141 FAILURE_UNIT_SYSTEM_RC_SIGNAL=104, /* | */
2142 FAILURE_UNIT_SYSTEM_MAVLINK_SIGNAL=105, /* | */
2143 FAILURE_UNIT_ENUM_END=106, /* | */
2144 } FAILURE_UNIT;
2145 #endif
2147 /** @brief List of possible failure type to inject. */
2148 #ifndef HAVE_ENUM_FAILURE_TYPE
2149 #define HAVE_ENUM_FAILURE_TYPE
2150 typedef enum FAILURE_TYPE
2152 FAILURE_TYPE_OK=0, /* No failure injected, used to reset a previous failure. | */
2153 FAILURE_TYPE_OFF=1, /* Sets unit off, so completely non-responsive. | */
2154 FAILURE_TYPE_STUCK=2, /* Unit is stuck e.g. keeps reporting the same value. | */
2155 FAILURE_TYPE_GARBAGE=3, /* Unit is reporting complete garbage. | */
2156 FAILURE_TYPE_WRONG=4, /* Unit is consistently wrong. | */
2157 FAILURE_TYPE_SLOW=5, /* Unit is slow, so e.g. reporting at slower than expected rate. | */
2158 FAILURE_TYPE_DELAYED=6, /* Data of unit is delayed in time. | */
2159 FAILURE_TYPE_INTERMITTENT=7, /* Unit is sometimes working, sometimes not. | */
2160 FAILURE_TYPE_ENUM_END=8, /* | */
2161 } FAILURE_TYPE;
2162 #endif
2164 /** @brief Winch status flags used in WINCH_STATUS */
2165 #ifndef HAVE_ENUM_MAV_WINCH_STATUS_FLAG
2166 #define HAVE_ENUM_MAV_WINCH_STATUS_FLAG
2167 typedef enum MAV_WINCH_STATUS_FLAG
2169 MAV_WINCH_STATUS_HEALTHY=1, /* Winch is healthy | */
2170 MAV_WINCH_STATUS_FULLY_RETRACTED=2, /* Winch thread is fully retracted | */
2171 MAV_WINCH_STATUS_MOVING=4, /* Winch motor is moving | */
2172 MAV_WINCH_STATUS_CLUTCH_ENGAGED=8, /* Winch clutch is engaged allowing motor to move freely | */
2173 MAV_WINCH_STATUS_FLAG_ENUM_END=9, /* | */
2174 } MAV_WINCH_STATUS_FLAG;
2175 #endif
2177 /** @brief */
2178 #ifndef HAVE_ENUM_MAG_CAL_STATUS
2179 #define HAVE_ENUM_MAG_CAL_STATUS
2180 typedef enum MAG_CAL_STATUS
2182 MAG_CAL_NOT_STARTED=0, /* | */
2183 MAG_CAL_WAITING_TO_START=1, /* | */
2184 MAG_CAL_RUNNING_STEP_ONE=2, /* | */
2185 MAG_CAL_RUNNING_STEP_TWO=3, /* | */
2186 MAG_CAL_SUCCESS=4, /* | */
2187 MAG_CAL_FAILED=5, /* | */
2188 MAG_CAL_BAD_ORIENTATION=6, /* | */
2189 MAG_CAL_BAD_RADIUS=7, /* | */
2190 MAG_CAL_STATUS_ENUM_END=8, /* | */
2191 } MAG_CAL_STATUS;
2192 #endif
2194 // MAVLINK VERSION
2196 #ifndef MAVLINK_VERSION
2197 #define MAVLINK_VERSION 3
2198 #endif
2200 #if (MAVLINK_VERSION == 0)
2201 #undef MAVLINK_VERSION
2202 #define MAVLINK_VERSION 3
2203 #endif
2205 // MESSAGE DEFINITIONS
2206 #include "./mavlink_msg_sys_status.h"
2207 #include "./mavlink_msg_system_time.h"
2208 #include "./mavlink_msg_ping.h"
2209 #include "./mavlink_msg_change_operator_control.h"
2210 #include "./mavlink_msg_change_operator_control_ack.h"
2211 #include "./mavlink_msg_auth_key.h"
2212 #include "./mavlink_msg_link_node_status.h"
2213 #include "./mavlink_msg_set_mode.h"
2214 #include "./mavlink_msg_param_ack_transaction.h"
2215 #include "./mavlink_msg_param_request_read.h"
2216 #include "./mavlink_msg_param_request_list.h"
2217 #include "./mavlink_msg_param_value.h"
2218 #include "./mavlink_msg_param_set.h"
2219 #include "./mavlink_msg_gps_raw_int.h"
2220 #include "./mavlink_msg_gps_status.h"
2221 #include "./mavlink_msg_scaled_imu.h"
2222 #include "./mavlink_msg_raw_imu.h"
2223 #include "./mavlink_msg_raw_pressure.h"
2224 #include "./mavlink_msg_scaled_pressure.h"
2225 #include "./mavlink_msg_attitude.h"
2226 #include "./mavlink_msg_attitude_quaternion.h"
2227 #include "./mavlink_msg_local_position_ned.h"
2228 #include "./mavlink_msg_global_position_int.h"
2229 #include "./mavlink_msg_rc_channels_scaled.h"
2230 #include "./mavlink_msg_rc_channels_raw.h"
2231 #include "./mavlink_msg_servo_output_raw.h"
2232 #include "./mavlink_msg_mission_request_partial_list.h"
2233 #include "./mavlink_msg_mission_write_partial_list.h"
2234 #include "./mavlink_msg_mission_item.h"
2235 #include "./mavlink_msg_mission_request.h"
2236 #include "./mavlink_msg_mission_set_current.h"
2237 #include "./mavlink_msg_mission_current.h"
2238 #include "./mavlink_msg_mission_request_list.h"
2239 #include "./mavlink_msg_mission_count.h"
2240 #include "./mavlink_msg_mission_clear_all.h"
2241 #include "./mavlink_msg_mission_item_reached.h"
2242 #include "./mavlink_msg_mission_ack.h"
2243 #include "./mavlink_msg_set_gps_global_origin.h"
2244 #include "./mavlink_msg_gps_global_origin.h"
2245 #include "./mavlink_msg_param_map_rc.h"
2246 #include "./mavlink_msg_mission_request_int.h"
2247 #include "./mavlink_msg_mission_changed.h"
2248 #include "./mavlink_msg_safety_set_allowed_area.h"
2249 #include "./mavlink_msg_safety_allowed_area.h"
2250 #include "./mavlink_msg_attitude_quaternion_cov.h"
2251 #include "./mavlink_msg_nav_controller_output.h"
2252 #include "./mavlink_msg_global_position_int_cov.h"
2253 #include "./mavlink_msg_local_position_ned_cov.h"
2254 #include "./mavlink_msg_rc_channels.h"
2255 #include "./mavlink_msg_request_data_stream.h"
2256 #include "./mavlink_msg_data_stream.h"
2257 #include "./mavlink_msg_manual_control.h"
2258 #include "./mavlink_msg_rc_channels_override.h"
2259 #include "./mavlink_msg_mission_item_int.h"
2260 #include "./mavlink_msg_vfr_hud.h"
2261 #include "./mavlink_msg_command_int.h"
2262 #include "./mavlink_msg_command_long.h"
2263 #include "./mavlink_msg_command_ack.h"
2264 #include "./mavlink_msg_command_cancel.h"
2265 #include "./mavlink_msg_manual_setpoint.h"
2266 #include "./mavlink_msg_set_attitude_target.h"
2267 #include "./mavlink_msg_attitude_target.h"
2268 #include "./mavlink_msg_set_position_target_local_ned.h"
2269 #include "./mavlink_msg_position_target_local_ned.h"
2270 #include "./mavlink_msg_set_position_target_global_int.h"
2271 #include "./mavlink_msg_position_target_global_int.h"
2272 #include "./mavlink_msg_local_position_ned_system_global_offset.h"
2273 #include "./mavlink_msg_hil_state.h"
2274 #include "./mavlink_msg_hil_controls.h"
2275 #include "./mavlink_msg_hil_rc_inputs_raw.h"
2276 #include "./mavlink_msg_hil_actuator_controls.h"
2277 #include "./mavlink_msg_optical_flow.h"
2278 #include "./mavlink_msg_global_vision_position_estimate.h"
2279 #include "./mavlink_msg_vision_position_estimate.h"
2280 #include "./mavlink_msg_vision_speed_estimate.h"
2281 #include "./mavlink_msg_vicon_position_estimate.h"
2282 #include "./mavlink_msg_highres_imu.h"
2283 #include "./mavlink_msg_optical_flow_rad.h"
2284 #include "./mavlink_msg_hil_sensor.h"
2285 #include "./mavlink_msg_sim_state.h"
2286 #include "./mavlink_msg_radio_status.h"
2287 #include "./mavlink_msg_file_transfer_protocol.h"
2288 #include "./mavlink_msg_timesync.h"
2289 #include "./mavlink_msg_camera_trigger.h"
2290 #include "./mavlink_msg_hil_gps.h"
2291 #include "./mavlink_msg_hil_optical_flow.h"
2292 #include "./mavlink_msg_hil_state_quaternion.h"
2293 #include "./mavlink_msg_scaled_imu2.h"
2294 #include "./mavlink_msg_log_request_list.h"
2295 #include "./mavlink_msg_log_entry.h"
2296 #include "./mavlink_msg_log_request_data.h"
2297 #include "./mavlink_msg_log_data.h"
2298 #include "./mavlink_msg_log_erase.h"
2299 #include "./mavlink_msg_log_request_end.h"
2300 #include "./mavlink_msg_gps_inject_data.h"
2301 #include "./mavlink_msg_gps2_raw.h"
2302 #include "./mavlink_msg_power_status.h"
2303 #include "./mavlink_msg_serial_control.h"
2304 #include "./mavlink_msg_gps_rtk.h"
2305 #include "./mavlink_msg_gps2_rtk.h"
2306 #include "./mavlink_msg_scaled_imu3.h"
2307 #include "./mavlink_msg_data_transmission_handshake.h"
2308 #include "./mavlink_msg_encapsulated_data.h"
2309 #include "./mavlink_msg_distance_sensor.h"
2310 #include "./mavlink_msg_terrain_request.h"
2311 #include "./mavlink_msg_terrain_data.h"
2312 #include "./mavlink_msg_terrain_check.h"
2313 #include "./mavlink_msg_terrain_report.h"
2314 #include "./mavlink_msg_scaled_pressure2.h"
2315 #include "./mavlink_msg_att_pos_mocap.h"
2316 #include "./mavlink_msg_set_actuator_control_target.h"
2317 #include "./mavlink_msg_actuator_control_target.h"
2318 #include "./mavlink_msg_altitude.h"
2319 #include "./mavlink_msg_resource_request.h"
2320 #include "./mavlink_msg_scaled_pressure3.h"
2321 #include "./mavlink_msg_follow_target.h"
2322 #include "./mavlink_msg_control_system_state.h"
2323 #include "./mavlink_msg_battery_status.h"
2324 #include "./mavlink_msg_autopilot_version.h"
2325 #include "./mavlink_msg_landing_target.h"
2326 #include "./mavlink_msg_fence_status.h"
2327 #include "./mavlink_msg_mag_cal_report.h"
2328 #include "./mavlink_msg_efi_status.h"
2329 #include "./mavlink_msg_estimator_status.h"
2330 #include "./mavlink_msg_wind_cov.h"
2331 #include "./mavlink_msg_gps_input.h"
2332 #include "./mavlink_msg_gps_rtcm_data.h"
2333 #include "./mavlink_msg_high_latency.h"
2334 #include "./mavlink_msg_high_latency2.h"
2335 #include "./mavlink_msg_vibration.h"
2336 #include "./mavlink_msg_home_position.h"
2337 #include "./mavlink_msg_set_home_position.h"
2338 #include "./mavlink_msg_message_interval.h"
2339 #include "./mavlink_msg_extended_sys_state.h"
2340 #include "./mavlink_msg_adsb_vehicle.h"
2341 #include "./mavlink_msg_collision.h"
2342 #include "./mavlink_msg_v2_extension.h"
2343 #include "./mavlink_msg_memory_vect.h"
2344 #include "./mavlink_msg_debug_vect.h"
2345 #include "./mavlink_msg_named_value_float.h"
2346 #include "./mavlink_msg_named_value_int.h"
2347 #include "./mavlink_msg_statustext.h"
2348 #include "./mavlink_msg_debug.h"
2349 #include "./mavlink_msg_setup_signing.h"
2350 #include "./mavlink_msg_button_change.h"
2351 #include "./mavlink_msg_play_tune.h"
2352 #include "./mavlink_msg_camera_information.h"
2353 #include "./mavlink_msg_camera_settings.h"
2354 #include "./mavlink_msg_storage_information.h"
2355 #include "./mavlink_msg_camera_capture_status.h"
2356 #include "./mavlink_msg_camera_image_captured.h"
2357 #include "./mavlink_msg_flight_information.h"
2358 #include "./mavlink_msg_mount_orientation.h"
2359 #include "./mavlink_msg_logging_data.h"
2360 #include "./mavlink_msg_logging_data_acked.h"
2361 #include "./mavlink_msg_logging_ack.h"
2362 #include "./mavlink_msg_video_stream_information.h"
2363 #include "./mavlink_msg_video_stream_status.h"
2364 #include "./mavlink_msg_camera_fov_status.h"
2365 #include "./mavlink_msg_camera_tracking_image_status.h"
2366 #include "./mavlink_msg_camera_tracking_geo_status.h"
2367 #include "./mavlink_msg_gimbal_manager_information.h"
2368 #include "./mavlink_msg_gimbal_manager_status.h"
2369 #include "./mavlink_msg_gimbal_manager_set_attitude.h"
2370 #include "./mavlink_msg_gimbal_device_information.h"
2371 #include "./mavlink_msg_gimbal_device_set_attitude.h"
2372 #include "./mavlink_msg_gimbal_device_attitude_status.h"
2373 #include "./mavlink_msg_autopilot_state_for_gimbal_device.h"
2374 #include "./mavlink_msg_gimbal_manager_set_pitchyaw.h"
2375 #include "./mavlink_msg_gimbal_manager_set_manual_control.h"
2376 #include "./mavlink_msg_esc_info.h"
2377 #include "./mavlink_msg_esc_status.h"
2378 #include "./mavlink_msg_wifi_config_ap.h"
2379 #include "./mavlink_msg_ais_vessel.h"
2380 #include "./mavlink_msg_uavcan_node_status.h"
2381 #include "./mavlink_msg_uavcan_node_info.h"
2382 #include "./mavlink_msg_param_ext_request_read.h"
2383 #include "./mavlink_msg_param_ext_request_list.h"
2384 #include "./mavlink_msg_param_ext_value.h"
2385 #include "./mavlink_msg_param_ext_set.h"
2386 #include "./mavlink_msg_param_ext_ack.h"
2387 #include "./mavlink_msg_obstacle_distance.h"
2388 #include "./mavlink_msg_odometry.h"
2389 #include "./mavlink_msg_trajectory_representation_waypoints.h"
2390 #include "./mavlink_msg_trajectory_representation_bezier.h"
2391 #include "./mavlink_msg_cellular_status.h"
2392 #include "./mavlink_msg_isbd_link_status.h"
2393 #include "./mavlink_msg_cellular_config.h"
2394 #include "./mavlink_msg_raw_rpm.h"
2395 #include "./mavlink_msg_utm_global_position.h"
2396 #include "./mavlink_msg_debug_float_array.h"
2397 #include "./mavlink_msg_orbit_execution_status.h"
2398 #include "./mavlink_msg_smart_battery_info.h"
2399 #include "./mavlink_msg_generator_status.h"
2400 #include "./mavlink_msg_actuator_output_status.h"
2401 #include "./mavlink_msg_time_estimate_to_target.h"
2402 #include "./mavlink_msg_tunnel.h"
2403 #include "./mavlink_msg_onboard_computer_status.h"
2404 #include "./mavlink_msg_component_information.h"
2405 #include "./mavlink_msg_play_tune_v2.h"
2406 #include "./mavlink_msg_supported_tunes.h"
2407 #include "./mavlink_msg_wheel_distance.h"
2408 #include "./mavlink_msg_winch_status.h"
2409 #include "./mavlink_msg_open_drone_id_basic_id.h"
2410 #include "./mavlink_msg_open_drone_id_location.h"
2411 #include "./mavlink_msg_open_drone_id_authentication.h"
2412 #include "./mavlink_msg_open_drone_id_self_id.h"
2413 #include "./mavlink_msg_open_drone_id_system.h"
2414 #include "./mavlink_msg_open_drone_id_operator_id.h"
2415 #include "./mavlink_msg_open_drone_id_message_pack.h"
2417 // base include
2418 #include "../minimal/minimal.h"
2420 #undef MAVLINK_THIS_XML_IDX
2421 #define MAVLINK_THIS_XML_IDX 0
2423 #if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
2424 # define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_HEARTBEAT, MAVLINK_MESSAGE_INFO_SYS_STATUS, MAVLINK_MESSAGE_INFO_SYSTEM_TIME, MAVLINK_MESSAGE_INFO_PING, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL_ACK, MAVLINK_MESSAGE_INFO_AUTH_KEY, MAVLINK_MESSAGE_INFO_LINK_NODE_STATUS, MAVLINK_MESSAGE_INFO_SET_MODE, MAVLINK_MESSAGE_INFO_PARAM_ACK_TRANSACTION, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_READ, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_LIST, MAVLINK_MESSAGE_INFO_PARAM_VALUE, MAVLINK_MESSAGE_INFO_PARAM_SET, MAVLINK_MESSAGE_INFO_GPS_RAW_INT, MAVLINK_MESSAGE_INFO_GPS_STATUS, MAVLINK_MESSAGE_INFO_SCALED_IMU, MAVLINK_MESSAGE_INFO_RAW_IMU, MAVLINK_MESSAGE_INFO_RAW_PRESSURE, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE, MAVLINK_MESSAGE_INFO_ATTITUDE, MAVLINK_MESSAGE_INFO_ATTITUDE_QUATERNION, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION_INT, MAVLINK_MESSAGE_INFO_RC_CHANNELS_SCALED, MAVLINK_MESSAGE_INFO_RC_CHANNELS_RAW, MAVLINK_MESSAGE_INFO_SERVO_OUTPUT_RAW, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_PARTIAL_LIST, MAVLINK_MESSAGE_INFO_MISSION_WRITE_PARTIAL_LIST, MAVLINK_MESSAGE_INFO_MISSION_ITEM, MAVLINK_MESSAGE_INFO_MISSION_REQUEST, MAVLINK_MESSAGE_INFO_MISSION_SET_CURRENT, MAVLINK_MESSAGE_INFO_MISSION_CURRENT, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_LIST, MAVLINK_MESSAGE_INFO_MISSION_COUNT, MAVLINK_MESSAGE_INFO_MISSION_CLEAR_ALL, MAVLINK_MESSAGE_INFO_MISSION_ITEM_REACHED, MAVLINK_MESSAGE_INFO_MISSION_ACK, MAVLINK_MESSAGE_INFO_SET_GPS_GLOBAL_ORIGIN, MAVLINK_MESSAGE_INFO_GPS_GLOBAL_ORIGIN, MAVLINK_MESSAGE_INFO_PARAM_MAP_RC, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_INT, MAVLINK_MESSAGE_INFO_MISSION_CHANGED, MAVLINK_MESSAGE_INFO_SAFETY_SET_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_SAFETY_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_ATTITUDE_QUATERNION_COV, MAVLINK_MESSAGE_INFO_NAV_CONTROLLER_OUTPUT, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION_INT_COV, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED_COV, MAVLINK_MESSAGE_INFO_RC_CHANNELS, MAVLINK_MESSAGE_INFO_REQUEST_DATA_STREAM, MAVLINK_MESSAGE_INFO_DATA_STREAM, MAVLINK_MESSAGE_INFO_MANUAL_CONTROL, MAVLINK_MESSAGE_INFO_RC_CHANNELS_OVERRIDE, MAVLINK_MESSAGE_INFO_MISSION_ITEM_INT, MAVLINK_MESSAGE_INFO_VFR_HUD, MAVLINK_MESSAGE_INFO_COMMAND_INT, MAVLINK_MESSAGE_INFO_COMMAND_LONG, MAVLINK_MESSAGE_INFO_COMMAND_ACK, MAVLINK_MESSAGE_INFO_COMMAND_CANCEL, MAVLINK_MESSAGE_INFO_MANUAL_SETPOINT, MAVLINK_MESSAGE_INFO_SET_ATTITUDE_TARGET, MAVLINK_MESSAGE_INFO_ATTITUDE_TARGET, MAVLINK_MESSAGE_INFO_SET_POSITION_TARGET_LOCAL_NED, MAVLINK_MESSAGE_INFO_POSITION_TARGET_LOCAL_NED, MAVLINK_MESSAGE_INFO_SET_POSITION_TARGET_GLOBAL_INT, MAVLINK_MESSAGE_INFO_POSITION_TARGET_GLOBAL_INT, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET, MAVLINK_MESSAGE_INFO_HIL_STATE, MAVLINK_MESSAGE_INFO_HIL_CONTROLS, MAVLINK_MESSAGE_INFO_HIL_RC_INPUTS_RAW, MAVLINK_MESSAGE_INFO_HIL_ACTUATOR_CONTROLS, MAVLINK_MESSAGE_INFO_OPTICAL_FLOW, MAVLINK_MESSAGE_INFO_GLOBAL_VISION_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_VISION_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_VISION_SPEED_ESTIMATE, MAVLINK_MESSAGE_INFO_VICON_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_HIGHRES_IMU, MAVLINK_MESSAGE_INFO_OPTICAL_FLOW_RAD, MAVLINK_MESSAGE_INFO_HIL_SENSOR, MAVLINK_MESSAGE_INFO_SIM_STATE, MAVLINK_MESSAGE_INFO_RADIO_STATUS, MAVLINK_MESSAGE_INFO_FILE_TRANSFER_PROTOCOL, MAVLINK_MESSAGE_INFO_TIMESYNC, MAVLINK_MESSAGE_INFO_CAMERA_TRIGGER, MAVLINK_MESSAGE_INFO_HIL_GPS, MAVLINK_MESSAGE_INFO_HIL_OPTICAL_FLOW, MAVLINK_MESSAGE_INFO_HIL_STATE_QUATERNION, MAVLINK_MESSAGE_INFO_SCALED_IMU2, MAVLINK_MESSAGE_INFO_LOG_REQUEST_LIST, MAVLINK_MESSAGE_INFO_LOG_ENTRY, MAVLINK_MESSAGE_INFO_LOG_REQUEST_DATA, MAVLINK_MESSAGE_INFO_LOG_DATA, MAVLINK_MESSAGE_INFO_LOG_ERASE, MAVLINK_MESSAGE_INFO_LOG_REQUEST_END, MAVLINK_MESSAGE_INFO_GPS_INJECT_DATA, MAVLINK_MESSAGE_INFO_GPS2_RAW, MAVLINK_MESSAGE_INFO_POWER_STATUS, MAVLINK_MESSAGE_INFO_SERIAL_CONTROL, MAVLINK_MESSAGE_INFO_GPS_RTK, MAVLINK_MESSAGE_INFO_GPS2_RTK, MAVLINK_MESSAGE_INFO_SCALED_IMU3, MAVLINK_MESSAGE_INFO_DATA_TRANSMISSION_HANDSHAKE, MAVLINK_MESSAGE_INFO_ENCAPSULATED_DATA, MAVLINK_MESSAGE_INFO_DISTANCE_SENSOR, MAVLINK_MESSAGE_INFO_TERRAIN_REQUEST, MAVLINK_MESSAGE_INFO_TERRAIN_DATA, MAVLINK_MESSAGE_INFO_TERRAIN_CHECK, MAVLINK_MESSAGE_INFO_TERRAIN_REPORT, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE2, MAVLINK_MESSAGE_INFO_ATT_POS_MOCAP, MAVLINK_MESSAGE_INFO_SET_ACTUATOR_CONTROL_TARGET, MAVLINK_MESSAGE_INFO_ACTUATOR_CONTROL_TARGET, MAVLINK_MESSAGE_INFO_ALTITUDE, MAVLINK_MESSAGE_INFO_RESOURCE_REQUEST, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE3, MAVLINK_MESSAGE_INFO_FOLLOW_TARGET, MAVLINK_MESSAGE_INFO_CONTROL_SYSTEM_STATE, MAVLINK_MESSAGE_INFO_BATTERY_STATUS, MAVLINK_MESSAGE_INFO_AUTOPILOT_VERSION, MAVLINK_MESSAGE_INFO_LANDING_TARGET, MAVLINK_MESSAGE_INFO_FENCE_STATUS, MAVLINK_MESSAGE_INFO_MAG_CAL_REPORT, MAVLINK_MESSAGE_INFO_EFI_STATUS, MAVLINK_MESSAGE_INFO_ESTIMATOR_STATUS, MAVLINK_MESSAGE_INFO_WIND_COV, MAVLINK_MESSAGE_INFO_GPS_INPUT, MAVLINK_MESSAGE_INFO_GPS_RTCM_DATA, MAVLINK_MESSAGE_INFO_HIGH_LATENCY, MAVLINK_MESSAGE_INFO_HIGH_LATENCY2, MAVLINK_MESSAGE_INFO_VIBRATION, MAVLINK_MESSAGE_INFO_HOME_POSITION, MAVLINK_MESSAGE_INFO_SET_HOME_POSITION, MAVLINK_MESSAGE_INFO_MESSAGE_INTERVAL, MAVLINK_MESSAGE_INFO_EXTENDED_SYS_STATE, MAVLINK_MESSAGE_INFO_ADSB_VEHICLE, MAVLINK_MESSAGE_INFO_COLLISION, MAVLINK_MESSAGE_INFO_V2_EXTENSION, MAVLINK_MESSAGE_INFO_MEMORY_VECT, MAVLINK_MESSAGE_INFO_DEBUG_VECT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_FLOAT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_INT, MAVLINK_MESSAGE_INFO_STATUSTEXT, MAVLINK_MESSAGE_INFO_DEBUG, MAVLINK_MESSAGE_INFO_SETUP_SIGNING, MAVLINK_MESSAGE_INFO_BUTTON_CHANGE, MAVLINK_MESSAGE_INFO_PLAY_TUNE, MAVLINK_MESSAGE_INFO_CAMERA_INFORMATION, MAVLINK_MESSAGE_INFO_CAMERA_SETTINGS, MAVLINK_MESSAGE_INFO_STORAGE_INFORMATION, MAVLINK_MESSAGE_INFO_CAMERA_CAPTURE_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_IMAGE_CAPTURED, MAVLINK_MESSAGE_INFO_FLIGHT_INFORMATION, MAVLINK_MESSAGE_INFO_MOUNT_ORIENTATION, MAVLINK_MESSAGE_INFO_LOGGING_DATA, MAVLINK_MESSAGE_INFO_LOGGING_DATA_ACKED, MAVLINK_MESSAGE_INFO_LOGGING_ACK, MAVLINK_MESSAGE_INFO_VIDEO_STREAM_INFORMATION, MAVLINK_MESSAGE_INFO_VIDEO_STREAM_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_FOV_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_TRACKING_IMAGE_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_TRACKING_GEO_STATUS, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_INFORMATION, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_STATUS, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_ATTITUDE, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_INFORMATION, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_SET_ATTITUDE, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_ATTITUDE_STATUS, MAVLINK_MESSAGE_INFO_AUTOPILOT_STATE_FOR_GIMBAL_DEVICE, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_PITCHYAW, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_MANUAL_CONTROL, MAVLINK_MESSAGE_INFO_ESC_INFO, MAVLINK_MESSAGE_INFO_ESC_STATUS, MAVLINK_MESSAGE_INFO_WIFI_CONFIG_AP, MAVLINK_MESSAGE_INFO_PROTOCOL_VERSION, MAVLINK_MESSAGE_INFO_AIS_VESSEL, MAVLINK_MESSAGE_INFO_UAVCAN_NODE_STATUS, MAVLINK_MESSAGE_INFO_UAVCAN_NODE_INFO, MAVLINK_MESSAGE_INFO_PARAM_EXT_REQUEST_READ, MAVLINK_MESSAGE_INFO_PARAM_EXT_REQUEST_LIST, MAVLINK_MESSAGE_INFO_PARAM_EXT_VALUE, MAVLINK_MESSAGE_INFO_PARAM_EXT_SET, MAVLINK_MESSAGE_INFO_PARAM_EXT_ACK, MAVLINK_MESSAGE_INFO_OBSTACLE_DISTANCE, MAVLINK_MESSAGE_INFO_ODOMETRY, MAVLINK_MESSAGE_INFO_TRAJECTORY_REPRESENTATION_WAYPOINTS, MAVLINK_MESSAGE_INFO_TRAJECTORY_REPRESENTATION_BEZIER, MAVLINK_MESSAGE_INFO_CELLULAR_STATUS, MAVLINK_MESSAGE_INFO_ISBD_LINK_STATUS, MAVLINK_MESSAGE_INFO_CELLULAR_CONFIG, MAVLINK_MESSAGE_INFO_RAW_RPM, MAVLINK_MESSAGE_INFO_UTM_GLOBAL_POSITION, MAVLINK_MESSAGE_INFO_DEBUG_FLOAT_ARRAY, MAVLINK_MESSAGE_INFO_ORBIT_EXECUTION_STATUS, MAVLINK_MESSAGE_INFO_SMART_BATTERY_INFO, MAVLINK_MESSAGE_INFO_GENERATOR_STATUS, MAVLINK_MESSAGE_INFO_ACTUATOR_OUTPUT_STATUS, MAVLINK_MESSAGE_INFO_TIME_ESTIMATE_TO_TARGET, MAVLINK_MESSAGE_INFO_TUNNEL, MAVLINK_MESSAGE_INFO_ONBOARD_COMPUTER_STATUS, MAVLINK_MESSAGE_INFO_COMPONENT_INFORMATION, MAVLINK_MESSAGE_INFO_PLAY_TUNE_V2, MAVLINK_MESSAGE_INFO_SUPPORTED_TUNES, MAVLINK_MESSAGE_INFO_WHEEL_DISTANCE, MAVLINK_MESSAGE_INFO_WINCH_STATUS, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_BASIC_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_LOCATION, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_AUTHENTICATION, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_SELF_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_SYSTEM, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_OPERATOR_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_MESSAGE_PACK}
2425 # define MAVLINK_MESSAGE_NAMES {{ "ACTUATOR_CONTROL_TARGET", 140 }, { "ACTUATOR_OUTPUT_STATUS", 375 }, { "ADSB_VEHICLE", 246 }, { "AIS_VESSEL", 301 }, { "ALTITUDE", 141 }, { "ATTITUDE", 30 }, { "ATTITUDE_QUATERNION", 31 }, { "ATTITUDE_QUATERNION_COV", 61 }, { "ATTITUDE_TARGET", 83 }, { "ATT_POS_MOCAP", 138 }, { "AUTH_KEY", 7 }, { "AUTOPILOT_STATE_FOR_GIMBAL_DEVICE", 286 }, { "AUTOPILOT_VERSION", 148 }, { "BATTERY_STATUS", 147 }, { "BUTTON_CHANGE", 257 }, { "CAMERA_CAPTURE_STATUS", 262 }, { "CAMERA_FOV_STATUS", 271 }, { "CAMERA_IMAGE_CAPTURED", 263 }, { "CAMERA_INFORMATION", 259 }, { "CAMERA_SETTINGS", 260 }, { "CAMERA_TRACKING_GEO_STATUS", 276 }, { "CAMERA_TRACKING_IMAGE_STATUS", 275 }, { "CAMERA_TRIGGER", 112 }, { "CELLULAR_CONFIG", 336 }, { "CELLULAR_STATUS", 334 }, { "CHANGE_OPERATOR_CONTROL", 5 }, { "CHANGE_OPERATOR_CONTROL_ACK", 6 }, { "COLLISION", 247 }, { "COMMAND_ACK", 77 }, { "COMMAND_CANCEL", 80 }, { "COMMAND_INT", 75 }, { "COMMAND_LONG", 76 }, { "COMPONENT_INFORMATION", 395 }, { "CONTROL_SYSTEM_STATE", 146 }, { "DATA_STREAM", 67 }, { "DATA_TRANSMISSION_HANDSHAKE", 130 }, { "DEBUG", 254 }, { "DEBUG_FLOAT_ARRAY", 350 }, { "DEBUG_VECT", 250 }, { "DISTANCE_SENSOR", 132 }, { "EFI_STATUS", 225 }, { "ENCAPSULATED_DATA", 131 }, { "ESC_INFO", 290 }, { "ESC_STATUS", 291 }, { "ESTIMATOR_STATUS", 230 }, { "EXTENDED_SYS_STATE", 245 }, { "FENCE_STATUS", 162 }, { "FILE_TRANSFER_PROTOCOL", 110 }, { "FLIGHT_INFORMATION", 264 }, { "FOLLOW_TARGET", 144 }, { "GENERATOR_STATUS", 373 }, { "GIMBAL_DEVICE_ATTITUDE_STATUS", 285 }, { "GIMBAL_DEVICE_INFORMATION", 283 }, { "GIMBAL_DEVICE_SET_ATTITUDE", 284 }, { "GIMBAL_MANAGER_INFORMATION", 280 }, { "GIMBAL_MANAGER_SET_ATTITUDE", 282 }, { "GIMBAL_MANAGER_SET_MANUAL_CONTROL", 288 }, { "GIMBAL_MANAGER_SET_PITCHYAW", 287 }, { "GIMBAL_MANAGER_STATUS", 281 }, { "GLOBAL_POSITION_INT", 33 }, { "GLOBAL_POSITION_INT_COV", 63 }, { "GLOBAL_VISION_POSITION_ESTIMATE", 101 }, { "GPS2_RAW", 124 }, { "GPS2_RTK", 128 }, { "GPS_GLOBAL_ORIGIN", 49 }, { "GPS_INJECT_DATA", 123 }, { "GPS_INPUT", 232 }, { "GPS_RAW_INT", 24 }, { "GPS_RTCM_DATA", 233 }, { "GPS_RTK", 127 }, { "GPS_STATUS", 25 }, { "HEARTBEAT", 0 }, { "HIGHRES_IMU", 105 }, { "HIGH_LATENCY", 234 }, { "HIGH_LATENCY2", 235 }, { "HIL_ACTUATOR_CONTROLS", 93 }, { "HIL_CONTROLS", 91 }, { "HIL_GPS", 113 }, { "HIL_OPTICAL_FLOW", 114 }, { "HIL_RC_INPUTS_RAW", 92 }, { "HIL_SENSOR", 107 }, { "HIL_STATE", 90 }, { "HIL_STATE_QUATERNION", 115 }, { "HOME_POSITION", 242 }, { "ISBD_LINK_STATUS", 335 }, { "LANDING_TARGET", 149 }, { "LINK_NODE_STATUS", 8 }, { "LOCAL_POSITION_NED", 32 }, { "LOCAL_POSITION_NED_COV", 64 }, { "LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET", 89 }, { "LOGGING_ACK", 268 }, { "LOGGING_DATA", 266 }, { "LOGGING_DATA_ACKED", 267 }, { "LOG_DATA", 120 }, { "LOG_ENTRY", 118 }, { "LOG_ERASE", 121 }, { "LOG_REQUEST_DATA", 119 }, { "LOG_REQUEST_END", 122 }, { "LOG_REQUEST_LIST", 117 }, { "MAG_CAL_REPORT", 192 }, { "MANUAL_CONTROL", 69 }, { "MANUAL_SETPOINT", 81 }, { "MEMORY_VECT", 249 }, { "MESSAGE_INTERVAL", 244 }, { "MISSION_ACK", 47 }, { "MISSION_CHANGED", 52 }, { "MISSION_CLEAR_ALL", 45 }, { "MISSION_COUNT", 44 }, { "MISSION_CURRENT", 42 }, { "MISSION_ITEM", 39 }, { "MISSION_ITEM_INT", 73 }, { "MISSION_ITEM_REACHED", 46 }, { "MISSION_REQUEST", 40 }, { "MISSION_REQUEST_INT", 51 }, { "MISSION_REQUEST_LIST", 43 }, { "MISSION_REQUEST_PARTIAL_LIST", 37 }, { "MISSION_SET_CURRENT", 41 }, { "MISSION_WRITE_PARTIAL_LIST", 38 }, { "MOUNT_ORIENTATION", 265 }, { "NAMED_VALUE_FLOAT", 251 }, { "NAMED_VALUE_INT", 252 }, { "NAV_CONTROLLER_OUTPUT", 62 }, { "OBSTACLE_DISTANCE", 330 }, { "ODOMETRY", 331 }, { "ONBOARD_COMPUTER_STATUS", 390 }, { "OPEN_DRONE_ID_AUTHENTICATION", 12902 }, { "OPEN_DRONE_ID_BASIC_ID", 12900 }, { "OPEN_DRONE_ID_LOCATION", 12901 }, { "OPEN_DRONE_ID_MESSAGE_PACK", 12915 }, { "OPEN_DRONE_ID_OPERATOR_ID", 12905 }, { "OPEN_DRONE_ID_SELF_ID", 12903 }, { "OPEN_DRONE_ID_SYSTEM", 12904 }, { "OPTICAL_FLOW", 100 }, { "OPTICAL_FLOW_RAD", 106 }, { "ORBIT_EXECUTION_STATUS", 360 }, { "PARAM_ACK_TRANSACTION", 19 }, { "PARAM_EXT_ACK", 324 }, { "PARAM_EXT_REQUEST_LIST", 321 }, { "PARAM_EXT_REQUEST_READ", 320 }, { "PARAM_EXT_SET", 323 }, { "PARAM_EXT_VALUE", 322 }, { "PARAM_MAP_RC", 50 }, { "PARAM_REQUEST_LIST", 21 }, { "PARAM_REQUEST_READ", 20 }, { "PARAM_SET", 23 }, { "PARAM_VALUE", 22 }, { "PING", 4 }, { "PLAY_TUNE", 258 }, { "PLAY_TUNE_V2", 400 }, { "POSITION_TARGET_GLOBAL_INT", 87 }, { "POSITION_TARGET_LOCAL_NED", 85 }, { "POWER_STATUS", 125 }, { "PROTOCOL_VERSION", 300 }, { "RADIO_STATUS", 109 }, { "RAW_IMU", 27 }, { "RAW_PRESSURE", 28 }, { "RAW_RPM", 339 }, { "RC_CHANNELS", 65 }, { "RC_CHANNELS_OVERRIDE", 70 }, { "RC_CHANNELS_RAW", 35 }, { "RC_CHANNELS_SCALED", 34 }, { "REQUEST_DATA_STREAM", 66 }, { "RESOURCE_REQUEST", 142 }, { "SAFETY_ALLOWED_AREA", 55 }, { "SAFETY_SET_ALLOWED_AREA", 54 }, { "SCALED_IMU", 26 }, { "SCALED_IMU2", 116 }, { "SCALED_IMU3", 129 }, { "SCALED_PRESSURE", 29 }, { "SCALED_PRESSURE2", 137 }, { "SCALED_PRESSURE3", 143 }, { "SERIAL_CONTROL", 126 }, { "SERVO_OUTPUT_RAW", 36 }, { "SETUP_SIGNING", 256 }, { "SET_ACTUATOR_CONTROL_TARGET", 139 }, { "SET_ATTITUDE_TARGET", 82 }, { "SET_GPS_GLOBAL_ORIGIN", 48 }, { "SET_HOME_POSITION", 243 }, { "SET_MODE", 11 }, { "SET_POSITION_TARGET_GLOBAL_INT", 86 }, { "SET_POSITION_TARGET_LOCAL_NED", 84 }, { "SIM_STATE", 108 }, { "SMART_BATTERY_INFO", 370 }, { "STATUSTEXT", 253 }, { "STORAGE_INFORMATION", 261 }, { "SUPPORTED_TUNES", 401 }, { "SYSTEM_TIME", 2 }, { "SYS_STATUS", 1 }, { "TERRAIN_CHECK", 135 }, { "TERRAIN_DATA", 134 }, { "TERRAIN_REPORT", 136 }, { "TERRAIN_REQUEST", 133 }, { "TIMESYNC", 111 }, { "TIME_ESTIMATE_TO_TARGET", 380 }, { "TRAJECTORY_REPRESENTATION_BEZIER", 333 }, { "TRAJECTORY_REPRESENTATION_WAYPOINTS", 332 }, { "TUNNEL", 385 }, { "UAVCAN_NODE_INFO", 311 }, { "UAVCAN_NODE_STATUS", 310 }, { "UTM_GLOBAL_POSITION", 340 }, { "V2_EXTENSION", 248 }, { "VFR_HUD", 74 }, { "VIBRATION", 241 }, { "VICON_POSITION_ESTIMATE", 104 }, { "VIDEO_STREAM_INFORMATION", 269 }, { "VIDEO_STREAM_STATUS", 270 }, { "VISION_POSITION_ESTIMATE", 102 }, { "VISION_SPEED_ESTIMATE", 103 }, { "WHEEL_DISTANCE", 9000 }, { "WIFI_CONFIG_AP", 299 }, { "WINCH_STATUS", 9005 }, { "WIND_COV", 231 }}
2426 # if MAVLINK_COMMAND_24BIT
2427 # include "../mavlink_get_info.h"
2428 # endif
2429 #endif
2431 #ifdef __cplusplus
2433 #endif // __cplusplus
2434 #endif // MAVLINK_COMMON_H