RflySimSDK v3.05
RflySimSDK说明文档
载入中...
搜索中...
未找到
common.h
浏览该文件的文档.
1
5#pragma once
6#ifndef MAVLINK_COMMON_H
7#define MAVLINK_COMMON_H
8
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
12
13#undef MAVLINK_THIS_XML_IDX
14#define MAVLINK_THIS_XML_IDX 1
15
16#ifdef __cplusplus
17extern "C" {
18#endif
19
20// MESSAGE LENGTHS AND CRCS
21
22#ifndef MAVLINK_MESSAGE_LENGTHS
23#define MAVLINK_MESSAGE_LENGTHS {}
24#endif
25
26#ifndef MAVLINK_MESSAGE_CRCS
27#define MAVLINK_MESSAGE_CRCS {{0, 50, 9, 0, 0, 0}, {1, 124, 31, 0, 0, 0}, {2, 137, 12, 0, 0, 0}, {4, 237, 14, 3, 12, 13}, {5, 217, 28, 1, 0, 0}, {6, 104, 3, 0, 0, 0}, {7, 119, 32, 0, 0, 0}, {11, 89, 6, 1, 4, 0}, {20, 214, 20, 3, 2, 3}, {21, 159, 2, 3, 0, 1}, {22, 220, 25, 0, 0, 0}, {23, 168, 23, 3, 4, 5}, {24, 24, 30, 0, 0, 0}, {25, 23, 101, 0, 0, 0}, {26, 170, 22, 0, 0, 0}, {27, 144, 26, 0, 0, 0}, {28, 67, 16, 0, 0, 0}, {29, 115, 14, 0, 0, 0}, {30, 39, 28, 0, 0, 0}, {31, 246, 32, 0, 0, 0}, {32, 185, 28, 0, 0, 0}, {33, 104, 28, 0, 0, 0}, {34, 237, 22, 0, 0, 0}, {35, 244, 22, 0, 0, 0}, {36, 222, 21, 0, 0, 0}, {37, 212, 6, 3, 4, 5}, {38, 9, 6, 3, 4, 5}, {39, 254, 37, 3, 32, 33}, {40, 230, 4, 3, 2, 3}, {41, 28, 4, 3, 2, 3}, {42, 28, 2, 0, 0, 0}, {43, 132, 2, 3, 0, 1}, {44, 221, 4, 3, 2, 3}, {45, 232, 2, 3, 0, 1}, {46, 11, 2, 0, 0, 0}, {47, 153, 3, 3, 0, 1}, {48, 41, 13, 1, 12, 0}, {49, 39, 12, 0, 0, 0}, {50, 78, 37, 3, 18, 19}, {51, 196, 4, 3, 2, 3}, {54, 15, 27, 3, 24, 25}, {55, 3, 25, 0, 0, 0}, {61, 167, 72, 0, 0, 0}, {62, 183, 26, 0, 0, 0}, {63, 119, 181, 0, 0, 0}, {64, 191, 225, 0, 0, 0}, {65, 118, 42, 0, 0, 0}, {66, 148, 6, 3, 2, 3}, {67, 21, 4, 0, 0, 0}, {69, 243, 11, 0, 0, 0}, {70, 124, 18, 3, 16, 17}, {73, 38, 37, 3, 32, 33}, {74, 20, 20, 0, 0, 0}, {75, 158, 35, 3, 30, 31}, {76, 152, 33, 3, 30, 31}, {77, 143, 3, 3, 8, 9}, {81, 106, 22, 0, 0, 0}, {82, 49, 39, 3, 36, 37}, {83, 22, 37, 0, 0, 0}, {84, 143, 53, 3, 50, 51}, {85, 140, 51, 0, 0, 0}, {86, 5, 53, 3, 50, 51}, {87, 150, 51, 0, 0, 0}, {89, 231, 28, 0, 0, 0}, {90, 183, 56, 0, 0, 0}, {91, 63, 42, 0, 0, 0}, {92, 54, 33, 0, 0, 0}, {93, 47, 81, 0, 0, 0}, {100, 175, 26, 0, 0, 0}, {101, 102, 32, 0, 0, 0}, {102, 158, 32, 0, 0, 0}, {103, 208, 20, 0, 0, 0}, {104, 56, 32, 0, 0, 0}, {105, 93, 62, 0, 0, 0}, {106, 138, 44, 0, 0, 0}, {107, 108, 64, 0, 0, 0}, {108, 32, 84, 0, 0, 0}, {109, 185, 9, 0, 0, 0}, {110, 84, 254, 3, 1, 2}, {111, 34, 16, 0, 0, 0}, {112, 174, 12, 0, 0, 0}, {113, 124, 36, 0, 0, 0}, {114, 237, 44, 0, 0, 0}, {115, 4, 64, 0, 0, 0}, {116, 76, 22, 0, 0, 0}, {117, 128, 6, 3, 4, 5}, {118, 56, 14, 0, 0, 0}, {119, 116, 12, 3, 10, 11}, {120, 134, 97, 0, 0, 0}, {121, 237, 2, 3, 0, 1}, {122, 203, 2, 3, 0, 1}, {123, 250, 113, 3, 0, 1}, {124, 87, 35, 0, 0, 0}, {125, 203, 6, 0, 0, 0}, {126, 220, 79, 0, 0, 0}, {127, 25, 35, 0, 0, 0}, {128, 226, 35, 0, 0, 0}, {129, 46, 22, 0, 0, 0}, {130, 29, 13, 0, 0, 0}, {131, 223, 255, 0, 0, 0}, {132, 85, 14, 0, 0, 0}, {133, 6, 18, 0, 0, 0}, {134, 229, 43, 0, 0, 0}, {135, 203, 8, 0, 0, 0}, {136, 1, 22, 0, 0, 0}, {137, 195, 14, 0, 0, 0}, {138, 109, 36, 0, 0, 0}, {139, 168, 43, 3, 41, 42}, {140, 181, 41, 0, 0, 0}, {141, 47, 32, 0, 0, 0}, {142, 72, 243, 0, 0, 0}, {143, 131, 14, 0, 0, 0}, {144, 127, 93, 0, 0, 0}, {146, 103, 100, 0, 0, 0}, {147, 154, 36, 0, 0, 0}, {148, 178, 60, 0, 0, 0}, {149, 200, 30, 0, 0, 0}, {230, 163, 42, 0, 0, 0}, {231, 105, 40, 0, 0, 0}, {232, 151, 63, 0, 0, 0}, {233, 35, 182, 0, 0, 0}, {234, 150, 40, 0, 0, 0}, {241, 90, 32, 0, 0, 0}, {242, 104, 52, 0, 0, 0}, {243, 85, 53, 1, 52, 0}, {244, 95, 6, 0, 0, 0}, {245, 130, 2, 0, 0, 0}, {246, 184, 38, 0, 0, 0}, {247, 81, 19, 0, 0, 0}, {248, 8, 254, 3, 3, 4}, {249, 204, 36, 0, 0, 0}, {250, 49, 30, 0, 0, 0}, {251, 170, 18, 0, 0, 0}, {252, 44, 18, 0, 0, 0}, {253, 83, 51, 0, 0, 0}, {254, 46, 9, 0, 0, 0}, {256, 71, 42, 3, 8, 9}, {257, 131, 9, 0, 0, 0}, {258, 187, 32, 3, 0, 1}, {259, 92, 235, 0, 0, 0}, {260, 146, 5, 0, 0, 0}, {261, 179, 27, 0, 0, 0}, {262, 12, 18, 0, 0, 0}, {263, 133, 255, 0, 0, 0}, {264, 49, 28, 0, 0, 0}, {265, 26, 16, 0, 0, 0}, {266, 193, 255, 3, 2, 3}, {267, 35, 255, 3, 2, 3}, {268, 14, 4, 3, 2, 3}, {269, 58, 246, 0, 0, 0}, {270, 232, 247, 3, 14, 15}, {299, 19, 96, 0, 0, 0}, {300, 217, 22, 0, 0, 0}, {310, 28, 17, 0, 0, 0}, {311, 95, 116, 0, 0, 0}, {320, 243, 20, 3, 2, 3}, {321, 88, 2, 3, 0, 1}, {322, 243, 149, 0, 0, 0}, {323, 78, 147, 3, 0, 1}, {324, 132, 146, 0, 0, 0}, {330, 201, 22, 0, 0, 0}}
28#endif
29
30#include "../protocol.h"
31
32#define MAVLINK_ENABLED_COMMON
33
34// ENUM DEFINITIONS
35
36
38#ifndef HAVE_ENUM_MAV_AUTOPILOT
39#define HAVE_ENUM_MAV_AUTOPILOT
40typedef enum MAV_AUTOPILOT
41{
42 MAV_AUTOPILOT_GENERIC=0, /* Generic autopilot, full support for everything | */
43 MAV_AUTOPILOT_RESERVED=1, /* Reserved for future use. | */
44 MAV_AUTOPILOT_SLUGS=2, /* SLUGS autopilot, http://slugsuav.soe.ucsc.edu | */
45 MAV_AUTOPILOT_ARDUPILOTMEGA=3, /* ArduPilotMega / ArduCopter, http://diydrones.com | */
46 MAV_AUTOPILOT_OPENPILOT=4, /* OpenPilot, http://openpilot.org | */
47 MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY=5, /* Generic autopilot only supporting simple waypoints | */
48 MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY=6, /* Generic autopilot supporting waypoints and other simple navigation commands | */
49 MAV_AUTOPILOT_GENERIC_MISSION_FULL=7, /* Generic autopilot supporting the full mission command set | */
50 MAV_AUTOPILOT_INVALID=8, /* No valid autopilot, e.g. a GCS or other MAVLink component | */
51 MAV_AUTOPILOT_PPZ=9, /* PPZ UAV - http://nongnu.org/paparazzi | */
52 MAV_AUTOPILOT_UDB=10, /* UAV Dev Board | */
53 MAV_AUTOPILOT_FP=11, /* FlexiPilot | */
54 MAV_AUTOPILOT_PX4=12, /* PX4 Autopilot - http://pixhawk.ethz.ch/px4/ | */
55 MAV_AUTOPILOT_SMACCMPILOT=13, /* SMACCMPilot - http://smaccmpilot.org | */
56 MAV_AUTOPILOT_AUTOQUAD=14, /* AutoQuad -- http://autoquad.org | */
57 MAV_AUTOPILOT_ARMAZILA=15, /* Armazila -- http://armazila.com | */
58 MAV_AUTOPILOT_AEROB=16, /* Aerob -- http://aerob.ru | */
59 MAV_AUTOPILOT_ASLUAV=17, /* ASLUAV autopilot -- http://www.asl.ethz.ch | */
60 MAV_AUTOPILOT_SMARTAP=18, /* SmartAP Autopilot - http://sky-drones.com | */
61 MAV_AUTOPILOT_ENUM_END=19, /* | */
62} MAV_AUTOPILOT;
63#endif
64
66#ifndef HAVE_ENUM_MAV_TYPE
67#define HAVE_ENUM_MAV_TYPE
68typedef enum MAV_TYPE
69{
70 MAV_TYPE_GENERIC=0, /* Generic micro air vehicle. | */
71 MAV_TYPE_FIXED_WING=1, /* Fixed wing aircraft. | */
72 MAV_TYPE_QUADROTOR=2, /* Quadrotor | */
73 MAV_TYPE_COAXIAL=3, /* Coaxial helicopter | */
74 MAV_TYPE_HELICOPTER=4, /* Normal helicopter with tail rotor. | */
75 MAV_TYPE_ANTENNA_TRACKER=5, /* Ground installation | */
76 MAV_TYPE_GCS=6, /* Operator control unit / ground control station | */
77 MAV_TYPE_AIRSHIP=7, /* Airship, controlled | */
78 MAV_TYPE_FREE_BALLOON=8, /* Free balloon, uncontrolled | */
79 MAV_TYPE_ROCKET=9, /* Rocket | */
80 MAV_TYPE_GROUND_ROVER=10, /* Ground rover | */
81 MAV_TYPE_SURFACE_BOAT=11, /* Surface vessel, boat, ship | */
82 MAV_TYPE_SUBMARINE=12, /* Submarine | */
83 MAV_TYPE_HEXAROTOR=13, /* Hexarotor | */
84 MAV_TYPE_OCTOROTOR=14, /* Octorotor | */
85 MAV_TYPE_TRICOPTER=15, /* Tricopter | */
86 MAV_TYPE_FLAPPING_WING=16, /* Flapping wing | */
87 MAV_TYPE_KITE=17, /* Kite | */
88 MAV_TYPE_ONBOARD_CONTROLLER=18, /* Onboard companion controller | */
89 MAV_TYPE_VTOL_DUOROTOR=19, /* Two-rotor VTOL using control surfaces in vertical operation in addition. Tailsitter. | */
90 MAV_TYPE_VTOL_QUADROTOR=20, /* Quad-rotor VTOL using a V-shaped quad config in vertical operation. Tailsitter. | */
91 MAV_TYPE_VTOL_TILTROTOR=21, /* Tiltrotor VTOL | */
92 MAV_TYPE_VTOL_RESERVED2=22, /* VTOL reserved 2 | */
93 MAV_TYPE_VTOL_RESERVED3=23, /* VTOL reserved 3 | */
94 MAV_TYPE_VTOL_RESERVED4=24, /* VTOL reserved 4 | */
95 MAV_TYPE_VTOL_RESERVED5=25, /* VTOL reserved 5 | */
96 MAV_TYPE_GIMBAL=26, /* Onboard gimbal | */
97 MAV_TYPE_ADSB=27, /* Onboard ADSB peripheral | */
98 MAV_TYPE_PARAFOIL=28, /* Steerable, nonrigid airfoil | */
99 MAV_TYPE_ENUM_END=29, /* | */
100} MAV_TYPE;
101#endif
102
104#ifndef HAVE_ENUM_FIRMWARE_VERSION_TYPE
105#define HAVE_ENUM_FIRMWARE_VERSION_TYPE
106typedef enum FIRMWARE_VERSION_TYPE
107{
108 FIRMWARE_VERSION_TYPE_DEV=0, /* development release | */
109 FIRMWARE_VERSION_TYPE_ALPHA=64, /* alpha release | */
110 FIRMWARE_VERSION_TYPE_BETA=128, /* beta release | */
111 FIRMWARE_VERSION_TYPE_RC=192, /* release candidate | */
112 FIRMWARE_VERSION_TYPE_OFFICIAL=255, /* official stable release | */
113 FIRMWARE_VERSION_TYPE_ENUM_END=256, /* | */
114} FIRMWARE_VERSION_TYPE;
115#endif
116
118#ifndef HAVE_ENUM_MAV_MODE_FLAG
119#define HAVE_ENUM_MAV_MODE_FLAG
120typedef enum MAV_MODE_FLAG
121{
122 MAV_MODE_FLAG_CUSTOM_MODE_ENABLED=1, /* 0b00000001 Reserved for future use. | */
123 MAV_MODE_FLAG_TEST_ENABLED=2, /* 0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations. | */
124 MAV_MODE_FLAG_AUTO_ENABLED=4, /* 0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation. | */
125 MAV_MODE_FLAG_GUIDED_ENABLED=8, /* 0b00001000 guided mode enabled, system flies waypoints / mission items. | */
126 MAV_MODE_FLAG_STABILIZE_ENABLED=16, /* 0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around. | */
127 MAV_MODE_FLAG_HIL_ENABLED=32, /* 0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational. | */
128 MAV_MODE_FLAG_MANUAL_INPUT_ENABLED=64, /* 0b01000000 remote control input is enabled. | */
129 MAV_MODE_FLAG_SAFETY_ARMED=128, /* 0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state. | */
130 MAV_MODE_FLAG_ENUM_END=129, /* | */
131} MAV_MODE_FLAG;
132#endif
133
135#ifndef HAVE_ENUM_MAV_MODE_FLAG_DECODE_POSITION
136#define HAVE_ENUM_MAV_MODE_FLAG_DECODE_POSITION
137typedef enum MAV_MODE_FLAG_DECODE_POSITION
138{
139 MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE=1, /* Eighth bit: 00000001 | */
140 MAV_MODE_FLAG_DECODE_POSITION_TEST=2, /* Seventh bit: 00000010 | */
141 MAV_MODE_FLAG_DECODE_POSITION_AUTO=4, /* Sixt bit: 00000100 | */
142 MAV_MODE_FLAG_DECODE_POSITION_GUIDED=8, /* Fifth bit: 00001000 | */
143 MAV_MODE_FLAG_DECODE_POSITION_STABILIZE=16, /* Fourth bit: 00010000 | */
144 MAV_MODE_FLAG_DECODE_POSITION_HIL=32, /* Third bit: 00100000 | */
145 MAV_MODE_FLAG_DECODE_POSITION_MANUAL=64, /* Second bit: 01000000 | */
146 MAV_MODE_FLAG_DECODE_POSITION_SAFETY=128, /* First bit: 10000000 | */
147 MAV_MODE_FLAG_DECODE_POSITION_ENUM_END=129, /* | */
148} MAV_MODE_FLAG_DECODE_POSITION;
149#endif
150
152#ifndef HAVE_ENUM_MAV_GOTO
153#define HAVE_ENUM_MAV_GOTO
154typedef enum MAV_GOTO
155{
156 MAV_GOTO_DO_HOLD=0, /* Hold at the current position. | */
157 MAV_GOTO_DO_CONTINUE=1, /* Continue with the next item in mission execution. | */
158 MAV_GOTO_HOLD_AT_CURRENT_POSITION=2, /* Hold at the current position of the system | */
159 MAV_GOTO_HOLD_AT_SPECIFIED_POSITION=3, /* Hold at the position specified in the parameters of the DO_HOLD action | */
160 MAV_GOTO_ENUM_END=4, /* | */
161} MAV_GOTO;
162#endif
163
166#ifndef HAVE_ENUM_MAV_MODE
167#define HAVE_ENUM_MAV_MODE
168typedef enum MAV_MODE
169{
170 MAV_MODE_PREFLIGHT=0, /* System is not ready to fly, booting, calibrating, etc. No flag is set. | */
171 MAV_MODE_MANUAL_DISARMED=64, /* System is allowed to be active, under manual (RC) control, no stabilization | */
172 MAV_MODE_TEST_DISARMED=66, /* UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | */
173 MAV_MODE_STABILIZE_DISARMED=80, /* System is allowed to be active, under assisted RC control. | */
174 MAV_MODE_GUIDED_DISARMED=88, /* System is allowed to be active, under autonomous control, manual setpoint | */
175 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) | */
176 MAV_MODE_MANUAL_ARMED=192, /* System is allowed to be active, under manual (RC) control, no stabilization | */
177 MAV_MODE_TEST_ARMED=194, /* UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. | */
178 MAV_MODE_STABILIZE_ARMED=208, /* System is allowed to be active, under assisted RC control. | */
179 MAV_MODE_GUIDED_ARMED=216, /* System is allowed to be active, under autonomous control, manual setpoint | */
180 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) | */
181 MAV_MODE_ENUM_END=221, /* | */
182} MAV_MODE;
183#endif
184
186#ifndef HAVE_ENUM_MAV_STATE
187#define HAVE_ENUM_MAV_STATE
188typedef enum MAV_STATE
189{
190 MAV_STATE_UNINIT=0, /* Uninitialized system, state is unknown. | */
191 MAV_STATE_BOOT=1, /* System is booting up. | */
192 MAV_STATE_CALIBRATING=2, /* System is calibrating and not flight-ready. | */
193 MAV_STATE_STANDBY=3, /* System is grounded and on standby. It can be launched any time. | */
194 MAV_STATE_ACTIVE=4, /* System is active and might be already airborne. Motors are engaged. | */
195 MAV_STATE_CRITICAL=5, /* System is in a non-normal flight mode. It can however still navigate. | */
196 MAV_STATE_EMERGENCY=6, /* System is in a non-normal flight mode. It lost control over parts or over the whole airframe. It is in mayday and going down. | */
197 MAV_STATE_POWEROFF=7, /* System just initialized its power-down sequence, will shut down now. | */
198 MAV_STATE_FLIGHT_TERMINATION=8, /* System is terminating itself. | */
199 MAV_STATE_ENUM_END=9, /* | */
200} MAV_STATE;
201#endif
202
204#ifndef HAVE_ENUM_MAV_COMPONENT
205#define HAVE_ENUM_MAV_COMPONENT
206typedef enum MAV_COMPONENT
207{
208 MAV_COMP_ID_ALL=0, /* | */
209 MAV_COMP_ID_AUTOPILOT1=1, /* | */
210 MAV_COMP_ID_CAMERA=100, /* | */
211 MAV_COMP_ID_CAMERA2=101, /* | */
212 MAV_COMP_ID_CAMERA3=102, /* | */
213 MAV_COMP_ID_CAMERA4=103, /* | */
214 MAV_COMP_ID_CAMERA5=104, /* | */
215 MAV_COMP_ID_CAMERA6=105, /* | */
216 MAV_COMP_ID_SERVO1=140, /* | */
217 MAV_COMP_ID_SERVO2=141, /* | */
218 MAV_COMP_ID_SERVO3=142, /* | */
219 MAV_COMP_ID_SERVO4=143, /* | */
220 MAV_COMP_ID_SERVO5=144, /* | */
221 MAV_COMP_ID_SERVO6=145, /* | */
222 MAV_COMP_ID_SERVO7=146, /* | */
223 MAV_COMP_ID_SERVO8=147, /* | */
224 MAV_COMP_ID_SERVO9=148, /* | */
225 MAV_COMP_ID_SERVO10=149, /* | */
226 MAV_COMP_ID_SERVO11=150, /* | */
227 MAV_COMP_ID_SERVO12=151, /* | */
228 MAV_COMP_ID_SERVO13=152, /* | */
229 MAV_COMP_ID_SERVO14=153, /* | */
230 MAV_COMP_ID_GIMBAL=154, /* | */
231 MAV_COMP_ID_LOG=155, /* | */
232 MAV_COMP_ID_ADSB=156, /* | */
233 MAV_COMP_ID_OSD=157, /* On Screen Display (OSD) devices for video links | */
234 MAV_COMP_ID_PERIPHERAL=158, /* Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter sub-protocol | */
235 MAV_COMP_ID_QX1_GIMBAL=159, /* | */
236 MAV_COMP_ID_MAPPER=180, /* | */
237 MAV_COMP_ID_MISSIONPLANNER=190, /* | */
238 MAV_COMP_ID_PATHPLANNER=195, /* | */
239 MAV_COMP_ID_IMU=200, /* | */
240 MAV_COMP_ID_IMU_2=201, /* | */
241 MAV_COMP_ID_IMU_3=202, /* | */
242 MAV_COMP_ID_GPS=220, /* | */
243 MAV_COMP_ID_GPS2=221, /* | */
244 MAV_COMP_ID_UDP_BRIDGE=240, /* | */
245 MAV_COMP_ID_UART_BRIDGE=241, /* | */
246 MAV_COMP_ID_SYSTEM_CONTROL=250, /* | */
247 MAV_COMPONENT_ENUM_END=251, /* | */
248} MAV_COMPONENT;
249#endif
250
252#ifndef HAVE_ENUM_MAV_SYS_STATUS_SENSOR
253#define HAVE_ENUM_MAV_SYS_STATUS_SENSOR
254typedef enum MAV_SYS_STATUS_SENSOR
255{
256 MAV_SYS_STATUS_SENSOR_3D_GYRO=1, /* 0x01 3D gyro | */
257 MAV_SYS_STATUS_SENSOR_3D_ACCEL=2, /* 0x02 3D accelerometer | */
258 MAV_SYS_STATUS_SENSOR_3D_MAG=4, /* 0x04 3D magnetometer | */
259 MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE=8, /* 0x08 absolute pressure | */
260 MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE=16, /* 0x10 differential pressure | */
261 MAV_SYS_STATUS_SENSOR_GPS=32, /* 0x20 GPS | */
262 MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW=64, /* 0x40 optical flow | */
263 MAV_SYS_STATUS_SENSOR_VISION_POSITION=128, /* 0x80 computer vision position | */
264 MAV_SYS_STATUS_SENSOR_LASER_POSITION=256, /* 0x100 laser based position | */
265 MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH=512, /* 0x200 external ground truth (Vicon or Leica) | */
266 MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL=1024, /* 0x400 3D angular rate control | */
267 MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION=2048, /* 0x800 attitude stabilization | */
268 MAV_SYS_STATUS_SENSOR_YAW_POSITION=4096, /* 0x1000 yaw position | */
269 MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL=8192, /* 0x2000 z/altitude control | */
270 MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL=16384, /* 0x4000 x/y position control | */
271 MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS=32768, /* 0x8000 motor outputs / control | */
272 MAV_SYS_STATUS_SENSOR_RC_RECEIVER=65536, /* 0x10000 rc receiver | */
273 MAV_SYS_STATUS_SENSOR_3D_GYRO2=131072, /* 0x20000 2nd 3D gyro | */
274 MAV_SYS_STATUS_SENSOR_3D_ACCEL2=262144, /* 0x40000 2nd 3D accelerometer | */
275 MAV_SYS_STATUS_SENSOR_3D_MAG2=524288, /* 0x80000 2nd 3D magnetometer | */
276 MAV_SYS_STATUS_GEOFENCE=1048576, /* 0x100000 geofence | */
277 MAV_SYS_STATUS_AHRS=2097152, /* 0x200000 AHRS subsystem health | */
278 MAV_SYS_STATUS_TERRAIN=4194304, /* 0x400000 Terrain subsystem health | */
279 MAV_SYS_STATUS_REVERSE_MOTOR=8388608, /* 0x800000 Motors are reversed | */
280 MAV_SYS_STATUS_LOGGING=16777216, /* 0x1000000 Logging | */
281 MAV_SYS_STATUS_SENSOR_BATTERY=33554432, /* 0x2000000 Battery | */
282 MAV_SYS_STATUS_SENSOR_ENUM_END=33554433, /* | */
283} MAV_SYS_STATUS_SENSOR;
284#endif
285
287#ifndef HAVE_ENUM_MAV_FRAME
288#define HAVE_ENUM_MAV_FRAME
289typedef enum MAV_FRAME
290{
291 MAV_FRAME_GLOBAL=0, /* Global coordinate frame, WGS84 coordinate system. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL) | */
292 MAV_FRAME_LOCAL_NED=1, /* Local coordinate frame, Z-up (x: north, y: east, z: down). | */
293 MAV_FRAME_MISSION=2, /* NOT a coordinate frame, indicates a mission command. | */
294 MAV_FRAME_GLOBAL_RELATIVE_ALT=3, /* Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect 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. | */
295 MAV_FRAME_LOCAL_ENU=4, /* Local coordinate frame, Z-down (x: east, y: north, z: up) | */
296 MAV_FRAME_GLOBAL_INT=5, /* Global coordinate frame, WGS84 coordinate system. 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) | */
297 MAV_FRAME_GLOBAL_RELATIVE_ALT_INT=6, /* Global coordinate frame, WGS84 coordinate system, relative altitude over ground with respect 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. | */
298 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. | */
299 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. | */
300 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. | */
301 MAV_FRAME_GLOBAL_TERRAIN_ALT=10, /* Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to 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. | */
302 MAV_FRAME_GLOBAL_TERRAIN_ALT_INT=11, /* Global coordinate frame with above terrain level altitude. WGS84 coordinate system, relative altitude over terrain with respect to 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. | */
303 MAV_FRAME_ENUM_END=12, /* | */
304} MAV_FRAME;
305#endif
306
308#ifndef HAVE_ENUM_MAVLINK_DATA_STREAM_TYPE
309#define HAVE_ENUM_MAVLINK_DATA_STREAM_TYPE
310typedef enum MAVLINK_DATA_STREAM_TYPE
311{
312 MAVLINK_DATA_STREAM_IMG_JPEG=1, /* | */
313 MAVLINK_DATA_STREAM_IMG_BMP=2, /* | */
314 MAVLINK_DATA_STREAM_IMG_RAW8U=3, /* | */
315 MAVLINK_DATA_STREAM_IMG_RAW32U=4, /* | */
316 MAVLINK_DATA_STREAM_IMG_PGM=5, /* | */
317 MAVLINK_DATA_STREAM_IMG_PNG=6, /* | */
318 MAVLINK_DATA_STREAM_TYPE_ENUM_END=7, /* | */
319} MAVLINK_DATA_STREAM_TYPE;
320#endif
321
323#ifndef HAVE_ENUM_FENCE_ACTION
324#define HAVE_ENUM_FENCE_ACTION
325typedef enum FENCE_ACTION
326{
327 FENCE_ACTION_NONE=0, /* Disable fenced mode | */
328 FENCE_ACTION_GUIDED=1, /* Switched to guided mode to return point (fence point 0) | */
329 FENCE_ACTION_REPORT=2, /* Report fence breach, but don't take action | */
330 FENCE_ACTION_GUIDED_THR_PASS=3, /* Switched to guided mode to return point (fence point 0) with manual throttle control | */
331 FENCE_ACTION_RTL=4, /* Switch to RTL (return to launch) mode and head for the return point. | */
332 FENCE_ACTION_ENUM_END=5, /* | */
333} FENCE_ACTION;
334#endif
335
337#ifndef HAVE_ENUM_FENCE_BREACH
338#define HAVE_ENUM_FENCE_BREACH
339typedef enum FENCE_BREACH
340{
341 FENCE_BREACH_NONE=0, /* No last fence breach | */
342 FENCE_BREACH_MINALT=1, /* Breached minimum altitude | */
343 FENCE_BREACH_MAXALT=2, /* Breached maximum altitude | */
344 FENCE_BREACH_BOUNDARY=3, /* Breached fence boundary | */
345 FENCE_BREACH_ENUM_END=4, /* | */
346} FENCE_BREACH;
347#endif
348
350#ifndef HAVE_ENUM_MAV_MOUNT_MODE
351#define HAVE_ENUM_MAV_MOUNT_MODE
352typedef enum MAV_MOUNT_MODE
353{
354 MAV_MOUNT_MODE_RETRACT=0, /* Load and keep safe position (Roll,Pitch,Yaw) from permant memory and stop stabilization | */
355 MAV_MOUNT_MODE_NEUTRAL=1, /* Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory. | */
356 MAV_MOUNT_MODE_MAVLINK_TARGETING=2, /* Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization | */
357 MAV_MOUNT_MODE_RC_TARGETING=3, /* Load neutral position and start RC Roll,Pitch,Yaw control with stabilization | */
358 MAV_MOUNT_MODE_GPS_POINT=4, /* Load neutral position and start to point to Lat,Lon,Alt | */
359 MAV_MOUNT_MODE_ENUM_END=5, /* | */
360} MAV_MOUNT_MODE;
361#endif
362
364#ifndef HAVE_ENUM_UAVCAN_NODE_HEALTH
365#define HAVE_ENUM_UAVCAN_NODE_HEALTH
366typedef enum UAVCAN_NODE_HEALTH
367{
368 UAVCAN_NODE_HEALTH_OK=0, /* The node is functioning properly. | */
369 UAVCAN_NODE_HEALTH_WARNING=1, /* A critical parameter went out of range or the node has encountered a minor failure. | */
370 UAVCAN_NODE_HEALTH_ERROR=2, /* The node has encountered a major failure. | */
371 UAVCAN_NODE_HEALTH_CRITICAL=3, /* The node has suffered a fatal malfunction. | */
372 UAVCAN_NODE_HEALTH_ENUM_END=4, /* | */
373} UAVCAN_NODE_HEALTH;
374#endif
375
377#ifndef HAVE_ENUM_UAVCAN_NODE_MODE
378#define HAVE_ENUM_UAVCAN_NODE_MODE
379typedef enum UAVCAN_NODE_MODE
380{
381 UAVCAN_NODE_MODE_OPERATIONAL=0, /* The node is performing its primary functions. | */
382 UAVCAN_NODE_MODE_INITIALIZATION=1, /* The node is initializing; this mode is entered immediately after startup. | */
383 UAVCAN_NODE_MODE_MAINTENANCE=2, /* The node is under maintenance. | */
384 UAVCAN_NODE_MODE_SOFTWARE_UPDATE=3, /* The node is in the process of updating its software. | */
385 UAVCAN_NODE_MODE_OFFLINE=7, /* The node is no longer available online. | */
386 UAVCAN_NODE_MODE_ENUM_END=8, /* | */
387} UAVCAN_NODE_MODE;
388#endif
389
391#ifndef HAVE_ENUM_MAV_CMD
392#define HAVE_ENUM_MAV_CMD
393typedef enum MAV_CMD
394{
395 MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. |Hold time in decimal seconds. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Acceptance radius in meters (if the sphere with this radius is hit, the waypoint counts as reached)| 0 to pass through the WP, if > 0 radius in meters 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 for unchanged.| Latitude| Longitude| Altitude| */
396 MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |Empty| Empty| Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| Desired yaw angle.| Latitude| Longitude| Altitude| */
397 MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |Turns| Empty| Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| Latitude| Longitude| Altitude| */
398 MAV_CMD_NAV_LOITER_TIME=19, /* Loiter around this waypoint for X seconds |Seconds (decimal)| Empty| Radius around waypoint, in meters. If positive loiter clockwise, else counter-clockwise| Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location. Else, this is desired yaw angle| Latitude| Longitude| Altitude| */
399 MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
400 MAV_CMD_NAV_LAND=21, /* Land at location |Abort Alt| Empty| Empty| Desired yaw angle. NaN for unchanged.| Latitude| Longitude| Altitude (ground level)| */
401 MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand |Minimum pitch (if airspeed sensor present), desired pitch without sensor| Empty| Empty| Yaw angle (if magnetometer present), ignored without magnetometer. NaN for unchanged.| Latitude| Longitude| Altitude| */
402 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 [m] - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| Landing descend rate [ms^-1]| Desired yaw angle [rad]| Y-axis position [m]| X-axis position [m]| Z-axis / ground level position [m]| */
403 MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |Minimum pitch (if airspeed sensor present), desired pitch without sensor [rad]| Empty| Takeoff ascend rate [ms^-1]| Yaw angle [rad] (if magnetometer or another yaw estimation source present), ignored without one of these| Y-axis position [m]| X-axis position [m]| Z-axis position [m]| */
404 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, in meters. If positive loiter clockwise, else counter-clockwise| Desired yaw angle.| Latitude| Longitude| Altitude| */
405 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 in meters| */
406 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. |Heading Required (0 = False)| Radius in meters. If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| Empty| Forward moving aircraft this sets exit xtrack location: 0 for center of loiter wp, 1 for exit location| Latitude| Longitude| Altitude| */
407 MAV_CMD_DO_FOLLOW=32, /* Being following a target |System ID (the system ID of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode| RESERVED| RESERVED| altitude flag: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home| altitude| RESERVED| TTL in seconds in which the MAV should go to the default position hold mode after a message rx timeout| */
408 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 (m)| X offset from target (m)| Y offset from target (m)| */
409 MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of intereset mode. (see MAV_ROI enum)| 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| */
410 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, in compass degrees, [0..360]| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
411 MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time in decimal seconds. (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| */
412 MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode |Empty| Front transition heading, see VTOL_TRANSITION_HEADING enum.| Empty| Yaw angle in degrees. NaN for unchanged.| Latitude| Longitude| Altitude| */
413 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 in degrees. NaN for unchanged.| Latitude| Longitude| Altitude (ground level)| */
414 MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |On / Off (> 0.5f on)| Empty| Empty| Empty| Empty| Empty| Empty| */
415 MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |Delay in seconds (decimal, -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)| Empty| Empty| Empty| */
416 MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle descends until it detects a hanging payload has reached the ground, the gripper is opened to release the payload |Maximum distance to descend (meters)| Empty| Empty| Empty| Latitude (deg * 1E7)| Longitude (deg * 1E7)| Altitude (meters)| */
417 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| */
418 MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |Delay in seconds (decimal)| Empty| Empty| Empty| Empty| Empty| Empty| */
419 MAV_CMD_CONDITION_CHANGE_ALT=113, /* Ascend/descend at rate. Delay mission state machine until desired altitude reached. |Descent / Ascend rate (m/s)| Empty| Empty| Empty| Empty| Empty| Finish Altitude| */
420 MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |Distance (meters)| Empty| Empty| Empty| Empty| Empty| Empty| */
421 MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |target angle: [0-360], 0 is north| speed during yaw change:[deg per second]| direction: negative: counter clockwise, positive: clockwise [-1,1]| relative offset or absolute angle: [ 1,0]| Empty| Empty| Empty| */
422 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| */
423 MAV_CMD_DO_SET_MODE=176, /* Set system mode. |Mode, as defined by ENUM MAV_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| */
424 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| */
425 MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. |Speed type (0=Airspeed, 1=Ground Speed)| Speed (m/s, -1 indicates no change)| Throttle ( Percent, -1 indicates no change)| absolute or relative [0,1]| Empty| Empty| Empty| */
426 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| Empty| Latitude| Longitude| Altitude| */
427 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| */
428 MAV_CMD_DO_SET_RELAY=181, /* Set a relay to a condition. |Relay number| Setting (1=on, 0=off, others possible depending on system hardware)| Empty| Empty| Empty| Empty| Empty| */
429 MAV_CMD_DO_REPEAT_RELAY=182, /* Cycle a relay on and off for a desired number of cyles with a desired period. |Relay number| Cycle count| Cycle time (seconds, decimal)| Empty| Empty| Empty| Empty| */
430 MAV_CMD_DO_SET_SERVO=183, /* Set a servo to a desired PWM value. |Servo number| PWM (microseconds, 1000 to 2000 typical)| Empty| Empty| Empty| Empty| Empty| */
431 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 number| PWM (microseconds, 1000 to 2000 typical)| Cycle count| Cycle time (seconds)| Empty| Empty| Empty| */
432 MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately |Flight termination activated if > 0.5| Empty| Empty| Empty| Empty| Empty| Empty| */
433 MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |Altitude in meters| Mav frame of new altitude (see MAV_FRAME)| Empty| Empty| Empty| Empty| Empty| */
434 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| */
435 MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |Break altitude (meters)| Landing speed (m/s)| Empty| Empty| Empty| Empty| Empty| */
436 MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonmous landing. |Altitude (meters)| Empty| Empty| Empty| Empty| Empty| Empty| */
437 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, see the MAV_DO_REPOSITION_FLAGS enum.| Reserved| Yaw heading, NaN for unchanged. For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| Latitude (deg * 1E7)| Longitude (deg * 1E7)| Altitude (meters)| */
438 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| */
439 MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |Direction (0=Forward, 1=Reverse)| Empty| Empty| Empty| Empty| Empty| Empty| */
440 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 (decimal)| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
441 MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicles control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of intereset mode. (see MAV_ROI enum)| 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| */
442 MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* Mission command to configure an on-board camera controller system. |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 in seconds/10 (0 means no cut-off)| */
443 MAV_CMD_DO_DIGICAM_CONTROL=203, /* Mission command to control an on-board camera controller system. |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.| */
444 MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode (see MAV_MOUNT_MODE enum)| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle, 1 = angular rate)| pitch input (0 = angle, 1 = angular rate)| yaw input (0 = angle, 1 = angular rate)| */
445 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).| alt in meters depending on mount mode.| latitude in degrees * 1E7, set if appropriate mount mode.| longitude in degrees * 1E7, set if appropriate mount mode.| MAV_MOUNT_MODE enum value| */
446 MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is trigerred each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |Camera trigger distance (meters). 0 to stop triggering.| Camera shutter integration time (milliseconds). -1 or 0 to ignore| Trigger camera once immediately. (0 = no trigger, 1 = trigger)| Empty| Empty| Empty| Empty| */
447 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| */
448 MAV_CMD_DO_PARACHUTE=208, /* Mission command to trigger a parachute |action (0=disable, 1=enable, 2=release, for some systems see PARACHUTE_ACTION enum, not in general message set.)| Empty| Empty| Empty| Empty| Empty| Empty| */
449 MAV_CMD_DO_MOTOR_TEST=209, /* Mission command to perform motor test |motor sequence number (a number from 1 to max number of motors on the vehicle)| throttle type (0=throttle percentage, 1=PWM, 2=pilot throttle channel pass-through. See MOTOR_TEST_THROTTLE_TYPE enum)| throttle| timeout (in seconds)| Empty| Empty| Empty| */
450 MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight |inverted (0=normal, 1=inverted)| Empty| Empty| Empty| Empty| Empty| Empty| */
451 MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change |yaw angle to adjust steering by in centidegress| speed - normalized to 0 .. 1| Empty| Empty| Empty| Empty| Empty| */
452 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 (milliseconds). -1 or 0 to ignore.| Camera shutter integration time (milliseconds). Should be less than trigger cycle time. -1 or 0 to ignore.| Empty| Empty| Empty| Empty| Empty| */
453 MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |q1 - quaternion param #1, w (1 in null-rotation)| q2 - quaternion param #2, x (0 in null-rotation)| q3 - quaternion param #3, y (0 in null-rotation)| q4 - quaternion param #4, z (0 in null-rotation)| Empty| Empty| Empty| */
454 MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |System ID| Component ID| Empty| Empty| Empty| Empty| Empty| */
455 MAV_CMD_DO_GUIDED_LIMITS=222, /* set limits for external control |timeout - maximum time (in seconds) that external controller will be allowed to control vehicle. 0 means no timeout| absolute altitude min (in meters, AMSL) - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit| absolute altitude max (in meters)- if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit| horizontal move limit (in meters, AMSL) - if vehicle moves more than this distance from it's location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal altitude limit| Empty| Empty| Empty| */
456 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 (meters). This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| Empty| Empty| Empty| Empty| Empty| */
457 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| */
458 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| 1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration| 1: ESC calibration, 3: barometer temperature calibration| */
459 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| */
460 MAV_CMD_PREFLIGHT_UAVCAN=243, /* Trigger UAVCAN config. This command will be only accepted if in pre-flight mode. |1: Trigger actuator ID assignment and direction mapping.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
461 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: start logging with rate of param 3 in Hz (e.g. set to 1000 for 1000 Hz logging)| Reserved| Empty| Empty| Empty| */
462 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, send 0| Reserved, send 0| WIP: ID (e.g. camera ID -1 for all IDs)| */
463 MAV_CMD_OVERRIDE_GOTO=252, /* Hold / continue the current action |MAV_GOTO_DO_HOLD: hold MAV_GOTO_DO_CONTINUE: continue with next item in mission plan| MAV_GOTO_HOLD_AT_CURRENT_POSITION: Hold at current position MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position| MAV_FRAME coordinate frame of hold point| Desired yaw angle in degrees| Latitude / X position| Longitude / Y position| Altitude / Z position| */
464 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)| */
465 MAV_CMD_COMPONENT_ARM_DISARM=400, /* Arms / Disarms a component |1 to arm, 0 to disarm| */
466 MAV_CMD_GET_HOME_POSITION=410, /* Request the home position from the vehicle. |Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
467 MAV_CMD_START_RX_PAIR=500, /* Starts receiver pairing |0:Spektrum| 0:Spektrum DSM2, 1:Spektrum DSMX| */
468 MAV_CMD_GET_MESSAGE_INTERVAL=510, /* Request the interval between messages for a particular MAVLink message ID |The MAVLink message ID| */
469 MAV_CMD_SET_MESSAGE_INTERVAL=511, /* Request 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, in microseconds. Set to -1 to disable and 0 to request default rate.| */
470 MAV_CMD_REQUEST_PROTOCOL_VERSION=519, /* Request MAVLink protocol version compatibility |1: Request supported protocol versions by all nodes on the network| Reserved (all remaining params)| */
471 MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES=520, /* Request autopilot capabilities |1: Request autopilot version| Reserved (all remaining params)| */
472 MAV_CMD_REQUEST_CAMERA_INFORMATION=521, /* WIP: Request camera information (CAMERA_INFORMATION). |0: No action 1: Request camera capabilities| Reserved (all remaining params)| */
473 MAV_CMD_REQUEST_CAMERA_SETTINGS=522, /* WIP: Request camera settings (CAMERA_SETTINGS). |0: No Action 1: Request camera settings| Reserved (all remaining params)| */
474 MAV_CMD_REQUEST_STORAGE_INFORMATION=525, /* WIP: 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)| */
475 MAV_CMD_STORAGE_FORMAT=526, /* WIP: 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.)| 0: No action 1: Format storage| Reserved (all remaining params)| */
476 MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS=527, /* WIP: Request camera capture status (CAMERA_CAPTURE_STATUS) |0: No Action 1: Request camera capture status| Reserved (all remaining params)| */
477 MAV_CMD_REQUEST_FLIGHT_INFORMATION=528, /* WIP: Request flight information (FLIGHT_INFORMATION) |1: Request flight information| Reserved (all remaining params)| */
478 MAV_CMD_RESET_CAMERA_SETTINGS=529, /* WIP: Reset all camera settings to Factory Default |0: No Action 1: Reset all settings| Reserved (all remaining params)| */
479 MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NAN for reserved values. |Reserved (Set to 0)| Camera mode (see CAMERA_MODE enum)| Reserved (all remaining params)| */
480 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)| Duration between two consecutive pictures (in seconds)| Number of images to capture total - 0 for unlimited capture| Reserved (all remaining params)| */
481 MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence Use NAN for reserved values. |Reserved (Set to 0)| Reserved (all remaining params)| */
482 MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* WIP: Re-request a CAMERA_IMAGE_CAPTURE packet. Use NAN for reserved values. |Sequence number for missing CAMERA_IMAGE_CAPTURE packet| Reserved (all remaining params)| */
483 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| */
484 MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). Use NAN for reserved values. |Reserved (Set to 0)| Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency in Hz)| Reserved (all remaining params)| */
485 MAV_CMD_VIDEO_STOP_CAPTURE=2501, /* Stop the current video capture (recording). Use NAN for reserved values. |Reserved (Set to 0)| Reserved (all remaining params)| */
486 MAV_CMD_VIDEO_START_STREAMING=2502, /* WIP: Start video streaming |Camera ID (0 for all cameras, 1 for first, 2 for second, etc.)| Reserved| */
487 MAV_CMD_VIDEO_STOP_STREAMING=2503, /* WIP: Stop the current video streaming |Camera ID (0 for all cameras, 1 for first, 2 for second, etc.)| Reserved| */
488 MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* WIP: Request video stream information (VIDEO_STREAM_INFORMATION) |Camera ID (0 for all cameras, 1 for first, 2 for second, etc.)| 0: No Action 1: Request video stream information| Reserved (all remaining params)| */
489 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)| */
490 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)| */
491 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, set to NAN| Reserved, set to NAN| Reserved, set to NAN| Reserved, set to NAN| Reserved, set to NAN| */
492 MAV_CMD_PANORAMA_CREATE=2800, /* Create a panorama at the current position |Viewing angle horizontal of the panorama (in degrees, +- 0.5 the total angle)| Viewing angle vertical of panorama (in degrees)| Speed of the horizontal rotation (in degrees per second)| Speed of the vertical rotation (in degrees per second)| */
493 MAV_CMD_DO_VTOL_TRANSITION=3000, /* Request VTOL transition |The target VTOL state, as defined by ENUM MAV_VTOL_STATE. Only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used.| */
494 MAV_CMD_ARM_AUTHORIZATION_REQUEST=3001, /* Request authorization to arm the vehicle to a external entity, the arm authorizer is resposible 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.
495 |Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle| */
496 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 velocites along all three axes.
497 | */
498 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.
499 |Radius of desired circle in CIRCLE_MODE| User defined| User defined| User defined| Unscaled target latitude of center of circle in CIRCLE_MODE| Unscaled target longitude of center of circle in CIRCLE_MODE| */
500 MAV_CMD_CONDITION_GATE=4501, /* WIP: 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| */
501 MAV_CMD_NAV_FENCE_RETURN_POINT=5000, /* Fence return point. There can only be one fence return point.
502 |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
503 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.
504 |Polygon vertex count| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
505 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.
506 |Polygon vertex count| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
507 MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION=5003, /* Circular fence area. The vehicle must stay inside this area.
508 |radius in meters| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
509 MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
510 |radius in meters| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
511 MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
512 |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
513 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)| */
514 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 degrees compass heading (0..360). A negative value indicates the system can define the approach vector at will.| Desired ground speed at release time. This can be overriden 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 in meters. A negative value indicates the system can define the clearance at will.| Latitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| Longitude unscaled for MISSION_ITEM or in 1e7 degrees for MISSION_ITEM_INT| Altitude, in meters AMSL| */
515 MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deploment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
516 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, in meters AMSL| */
517 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, in meters AMSL| */
518 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, in meters AMSL| */
519 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, in meters AMSL| */
520 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, in meters AMSL| */
521 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, in meters AMSL| */
522 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, in meters AMSL| */
523 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, in meters AMSL| */
524 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, in meters AMSL| */
525 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, in meters AMSL| */
526 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| */
527 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| */
528 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| */
529 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| */
530 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| */
531 MAV_CMD_ENUM_END=31015, /* | */
532} MAV_CMD;
533#endif
534
538#ifndef HAVE_ENUM_MAV_DATA_STREAM
539#define HAVE_ENUM_MAV_DATA_STREAM
540typedef enum MAV_DATA_STREAM
541{
542 MAV_DATA_STREAM_ALL=0, /* Enable all data streams | */
543 MAV_DATA_STREAM_RAW_SENSORS=1, /* Enable IMU_RAW, GPS_RAW, GPS_STATUS packets. | */
544 MAV_DATA_STREAM_EXTENDED_STATUS=2, /* Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS | */
545 MAV_DATA_STREAM_RC_CHANNELS=3, /* Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW | */
546 MAV_DATA_STREAM_RAW_CONTROLLER=4, /* Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT. | */
547 MAV_DATA_STREAM_POSITION=6, /* Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages. | */
548 MAV_DATA_STREAM_EXTRA1=10, /* Dependent on the autopilot | */
549 MAV_DATA_STREAM_EXTRA2=11, /* Dependent on the autopilot | */
550 MAV_DATA_STREAM_EXTRA3=12, /* Dependent on the autopilot | */
551 MAV_DATA_STREAM_ENUM_END=13, /* | */
552} MAV_DATA_STREAM;
553#endif
554
558#ifndef HAVE_ENUM_MAV_ROI
559#define HAVE_ENUM_MAV_ROI
560typedef enum MAV_ROI
561{
562 MAV_ROI_NONE=0, /* No region of interest. | */
563 MAV_ROI_WPNEXT=1, /* Point toward next waypoint. | */
564 MAV_ROI_WPINDEX=2, /* Point toward given waypoint. | */
565 MAV_ROI_LOCATION=3, /* Point toward fixed location. | */
566 MAV_ROI_TARGET=4, /* Point toward of given id. | */
567 MAV_ROI_ENUM_END=5, /* | */
568} MAV_ROI;
569#endif
570
572#ifndef HAVE_ENUM_MAV_CMD_ACK
573#define HAVE_ENUM_MAV_CMD_ACK
574typedef enum MAV_CMD_ACK
575{
576 MAV_CMD_ACK_OK=1, /* Command / mission item is ok. | */
577 MAV_CMD_ACK_ERR_FAIL=2, /* Generic error message if none of the other reasons fails or if no detailed error reporting is implemented. | */
578 MAV_CMD_ACK_ERR_ACCESS_DENIED=3, /* The system is refusing to accept this command from this source / communication partner. | */
579 MAV_CMD_ACK_ERR_NOT_SUPPORTED=4, /* Command or mission item is not supported, other commands would be accepted. | */
580 MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED=5, /* The coordinate frame of this command / mission item is not supported. | */
581 MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE=6, /* 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. | */
582 MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE=7, /* The X or latitude value is out of range. | */
583 MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE=8, /* The Y or longitude value is out of range. | */
584 MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE=9, /* The Z or altitude value is out of range. | */
585 MAV_CMD_ACK_ENUM_END=10, /* | */
586} MAV_CMD_ACK;
587#endif
588
590#ifndef HAVE_ENUM_MAV_PARAM_TYPE
591#define HAVE_ENUM_MAV_PARAM_TYPE
592typedef enum MAV_PARAM_TYPE
593{
594 MAV_PARAM_TYPE_UINT8=1, /* 8-bit unsigned integer | */
595 MAV_PARAM_TYPE_INT8=2, /* 8-bit signed integer | */
596 MAV_PARAM_TYPE_UINT16=3, /* 16-bit unsigned integer | */
597 MAV_PARAM_TYPE_INT16=4, /* 16-bit signed integer | */
598 MAV_PARAM_TYPE_UINT32=5, /* 32-bit unsigned integer | */
599 MAV_PARAM_TYPE_INT32=6, /* 32-bit signed integer | */
600 MAV_PARAM_TYPE_UINT64=7, /* 64-bit unsigned integer | */
601 MAV_PARAM_TYPE_INT64=8, /* 64-bit signed integer | */
602 MAV_PARAM_TYPE_REAL32=9, /* 32-bit floating-point | */
603 MAV_PARAM_TYPE_REAL64=10, /* 64-bit floating-point | */
604 MAV_PARAM_TYPE_ENUM_END=11, /* | */
605} MAV_PARAM_TYPE;
606#endif
607
609#ifndef HAVE_ENUM_MAV_PARAM_EXT_TYPE
610#define HAVE_ENUM_MAV_PARAM_EXT_TYPE
611typedef enum MAV_PARAM_EXT_TYPE
612{
613 MAV_PARAM_EXT_TYPE_UINT8=1, /* 8-bit unsigned integer | */
614 MAV_PARAM_EXT_TYPE_INT8=2, /* 8-bit signed integer | */
615 MAV_PARAM_EXT_TYPE_UINT16=3, /* 16-bit unsigned integer | */
616 MAV_PARAM_EXT_TYPE_INT16=4, /* 16-bit signed integer | */
617 MAV_PARAM_EXT_TYPE_UINT32=5, /* 32-bit unsigned integer | */
618 MAV_PARAM_EXT_TYPE_INT32=6, /* 32-bit signed integer | */
619 MAV_PARAM_EXT_TYPE_UINT64=7, /* 64-bit unsigned integer | */
620 MAV_PARAM_EXT_TYPE_INT64=8, /* 64-bit signed integer | */
621 MAV_PARAM_EXT_TYPE_REAL32=9, /* 32-bit floating-point | */
622 MAV_PARAM_EXT_TYPE_REAL64=10, /* 64-bit floating-point | */
623 MAV_PARAM_EXT_TYPE_CUSTOM=11, /* Custom Type | */
624 MAV_PARAM_EXT_TYPE_ENUM_END=12, /* | */
625} MAV_PARAM_EXT_TYPE;
626#endif
627
629#ifndef HAVE_ENUM_MAV_RESULT
630#define HAVE_ENUM_MAV_RESULT
631typedef enum MAV_RESULT
632{
633 MAV_RESULT_ACCEPTED=0, /* Command ACCEPTED and EXECUTED | */
634 MAV_RESULT_TEMPORARILY_REJECTED=1, /* Command TEMPORARY REJECTED/DENIED | */
635 MAV_RESULT_DENIED=2, /* Command PERMANENTLY DENIED | */
636 MAV_RESULT_UNSUPPORTED=3, /* Command UNKNOWN/UNSUPPORTED | */
637 MAV_RESULT_FAILED=4, /* Command executed, but failed | */
638 MAV_RESULT_IN_PROGRESS=5, /* WIP: Command being executed | */
639 MAV_RESULT_ENUM_END=6, /* | */
640} MAV_RESULT;
641#endif
642
644#ifndef HAVE_ENUM_MAV_MISSION_RESULT
645#define HAVE_ENUM_MAV_MISSION_RESULT
646typedef enum MAV_MISSION_RESULT
647{
648 MAV_MISSION_ACCEPTED=0, /* mission accepted OK | */
649 MAV_MISSION_ERROR=1, /* generic error / not accepting mission commands at all right now | */
650 MAV_MISSION_UNSUPPORTED_FRAME=2, /* coordinate frame is not supported | */
651 MAV_MISSION_UNSUPPORTED=3, /* command is not supported | */
652 MAV_MISSION_NO_SPACE=4, /* mission item exceeds storage space | */
653 MAV_MISSION_INVALID=5, /* one of the parameters has an invalid value | */
654 MAV_MISSION_INVALID_PARAM1=6, /* param1 has an invalid value | */
655 MAV_MISSION_INVALID_PARAM2=7, /* param2 has an invalid value | */
656 MAV_MISSION_INVALID_PARAM3=8, /* param3 has an invalid value | */
657 MAV_MISSION_INVALID_PARAM4=9, /* param4 has an invalid value | */
658 MAV_MISSION_INVALID_PARAM5_X=10, /* x/param5 has an invalid value | */
659 MAV_MISSION_INVALID_PARAM6_Y=11, /* y/param6 has an invalid value | */
660 MAV_MISSION_INVALID_PARAM7=12, /* param7 has an invalid value | */
661 MAV_MISSION_INVALID_SEQUENCE=13, /* received waypoint out of sequence | */
662 MAV_MISSION_DENIED=14, /* not accepting any mission commands from this communication partner | */
663 MAV_MISSION_RESULT_ENUM_END=15, /* | */
664} MAV_MISSION_RESULT;
665#endif
666
668#ifndef HAVE_ENUM_MAV_SEVERITY
669#define HAVE_ENUM_MAV_SEVERITY
670typedef enum MAV_SEVERITY
671{
672 MAV_SEVERITY_EMERGENCY=0, /* System is unusable. This is a "panic" condition. | */
673 MAV_SEVERITY_ALERT=1, /* Action should be taken immediately. Indicates error in non-critical systems. | */
674 MAV_SEVERITY_CRITICAL=2, /* Action must be taken immediately. Indicates failure in a primary system. | */
675 MAV_SEVERITY_ERROR=3, /* Indicates an error in secondary/redundant systems. | */
676 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. | */
677 MAV_SEVERITY_NOTICE=5, /* An unusual event has occured, though not an error condition. This should be investigated for the root cause. | */
678 MAV_SEVERITY_INFO=6, /* Normal operational messages. Useful for logging. No action is required for these messages. | */
679 MAV_SEVERITY_DEBUG=7, /* Useful non-operational messages that can assist in debugging. These should not occur during normal operation. | */
680 MAV_SEVERITY_ENUM_END=8, /* | */
681} MAV_SEVERITY;
682#endif
683
685#ifndef HAVE_ENUM_MAV_POWER_STATUS
686#define HAVE_ENUM_MAV_POWER_STATUS
687typedef enum MAV_POWER_STATUS
688{
689 MAV_POWER_STATUS_BRICK_VALID=1, /* main brick power supply valid | */
690 MAV_POWER_STATUS_SERVO_VALID=2, /* main servo power supply valid for FMU | */
691 MAV_POWER_STATUS_USB_CONNECTED=4, /* USB power is connected | */
692 MAV_POWER_STATUS_PERIPH_OVERCURRENT=8, /* peripheral supply is in over-current state | */
693 MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT=16, /* hi-power peripheral supply is in over-current state | */
694 MAV_POWER_STATUS_CHANGED=32, /* Power status has changed since boot | */
695 MAV_POWER_STATUS_ENUM_END=33, /* | */
696} MAV_POWER_STATUS;
697#endif
698
700#ifndef HAVE_ENUM_SERIAL_CONTROL_DEV
701#define HAVE_ENUM_SERIAL_CONTROL_DEV
702typedef enum SERIAL_CONTROL_DEV
703{
704 SERIAL_CONTROL_DEV_TELEM1=0, /* First telemetry port | */
705 SERIAL_CONTROL_DEV_TELEM2=1, /* Second telemetry port | */
706 SERIAL_CONTROL_DEV_GPS1=2, /* First GPS port | */
707 SERIAL_CONTROL_DEV_GPS2=3, /* Second GPS port | */
708 SERIAL_CONTROL_DEV_SHELL=10, /* system shell | */
709 SERIAL_CONTROL_DEV_ENUM_END=11, /* | */
710} SERIAL_CONTROL_DEV;
711#endif
712
714#ifndef HAVE_ENUM_SERIAL_CONTROL_FLAG
715#define HAVE_ENUM_SERIAL_CONTROL_FLAG
716typedef enum SERIAL_CONTROL_FLAG
717{
718 SERIAL_CONTROL_FLAG_REPLY=1, /* Set if this is a reply | */
719 SERIAL_CONTROL_FLAG_RESPOND=2, /* Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message | */
720 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 | */
721 SERIAL_CONTROL_FLAG_BLOCKING=8, /* Block on writes to the serial port | */
722 SERIAL_CONTROL_FLAG_MULTI=16, /* Send multiple replies until port is drained | */
723 SERIAL_CONTROL_FLAG_ENUM_END=17, /* | */
724} SERIAL_CONTROL_FLAG;
725#endif
726
728#ifndef HAVE_ENUM_MAV_DISTANCE_SENSOR
729#define HAVE_ENUM_MAV_DISTANCE_SENSOR
730typedef enum MAV_DISTANCE_SENSOR
731{
732 MAV_DISTANCE_SENSOR_LASER=0, /* Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units | */
733 MAV_DISTANCE_SENSOR_ULTRASOUND=1, /* Ultrasound rangefinder, e.g. MaxBotix units | */
734 MAV_DISTANCE_SENSOR_INFRARED=2, /* Infrared rangefinder, e.g. Sharp units | */
735 MAV_DISTANCE_SENSOR_RADAR=3, /* Radar type, e.g. uLanding units | */
736 MAV_DISTANCE_SENSOR_UNKNOWN=4, /* Broken or unknown type, e.g. analog units | */
737 MAV_DISTANCE_SENSOR_ENUM_END=5, /* | */
738} MAV_DISTANCE_SENSOR;
739#endif
740
742#ifndef HAVE_ENUM_MAV_SENSOR_ORIENTATION
743#define HAVE_ENUM_MAV_SENSOR_ORIENTATION
744typedef enum MAV_SENSOR_ORIENTATION
745{
746 MAV_SENSOR_ROTATION_NONE=0, /* Roll: 0, Pitch: 0, Yaw: 0 | */
747 MAV_SENSOR_ROTATION_YAW_45=1, /* Roll: 0, Pitch: 0, Yaw: 45 | */
748 MAV_SENSOR_ROTATION_YAW_90=2, /* Roll: 0, Pitch: 0, Yaw: 90 | */
749 MAV_SENSOR_ROTATION_YAW_135=3, /* Roll: 0, Pitch: 0, Yaw: 135 | */
750 MAV_SENSOR_ROTATION_YAW_180=4, /* Roll: 0, Pitch: 0, Yaw: 180 | */
751 MAV_SENSOR_ROTATION_YAW_225=5, /* Roll: 0, Pitch: 0, Yaw: 225 | */
752 MAV_SENSOR_ROTATION_YAW_270=6, /* Roll: 0, Pitch: 0, Yaw: 270 | */
753 MAV_SENSOR_ROTATION_YAW_315=7, /* Roll: 0, Pitch: 0, Yaw: 315 | */
754 MAV_SENSOR_ROTATION_ROLL_180=8, /* Roll: 180, Pitch: 0, Yaw: 0 | */
755 MAV_SENSOR_ROTATION_ROLL_180_YAW_45=9, /* Roll: 180, Pitch: 0, Yaw: 45 | */
756 MAV_SENSOR_ROTATION_ROLL_180_YAW_90=10, /* Roll: 180, Pitch: 0, Yaw: 90 | */
757 MAV_SENSOR_ROTATION_ROLL_180_YAW_135=11, /* Roll: 180, Pitch: 0, Yaw: 135 | */
758 MAV_SENSOR_ROTATION_PITCH_180=12, /* Roll: 0, Pitch: 180, Yaw: 0 | */
759 MAV_SENSOR_ROTATION_ROLL_180_YAW_225=13, /* Roll: 180, Pitch: 0, Yaw: 225 | */
760 MAV_SENSOR_ROTATION_ROLL_180_YAW_270=14, /* Roll: 180, Pitch: 0, Yaw: 270 | */
761 MAV_SENSOR_ROTATION_ROLL_180_YAW_315=15, /* Roll: 180, Pitch: 0, Yaw: 315 | */
762 MAV_SENSOR_ROTATION_ROLL_90=16, /* Roll: 90, Pitch: 0, Yaw: 0 | */
763 MAV_SENSOR_ROTATION_ROLL_90_YAW_45=17, /* Roll: 90, Pitch: 0, Yaw: 45 | */
764 MAV_SENSOR_ROTATION_ROLL_90_YAW_90=18, /* Roll: 90, Pitch: 0, Yaw: 90 | */
765 MAV_SENSOR_ROTATION_ROLL_90_YAW_135=19, /* Roll: 90, Pitch: 0, Yaw: 135 | */
766 MAV_SENSOR_ROTATION_ROLL_270=20, /* Roll: 270, Pitch: 0, Yaw: 0 | */
767 MAV_SENSOR_ROTATION_ROLL_270_YAW_45=21, /* Roll: 270, Pitch: 0, Yaw: 45 | */
768 MAV_SENSOR_ROTATION_ROLL_270_YAW_90=22, /* Roll: 270, Pitch: 0, Yaw: 90 | */
769 MAV_SENSOR_ROTATION_ROLL_270_YAW_135=23, /* Roll: 270, Pitch: 0, Yaw: 135 | */
770 MAV_SENSOR_ROTATION_PITCH_90=24, /* Roll: 0, Pitch: 90, Yaw: 0 | */
771 MAV_SENSOR_ROTATION_PITCH_270=25, /* Roll: 0, Pitch: 270, Yaw: 0 | */
772 MAV_SENSOR_ROTATION_PITCH_180_YAW_90=26, /* Roll: 0, Pitch: 180, Yaw: 90 | */
773 MAV_SENSOR_ROTATION_PITCH_180_YAW_270=27, /* Roll: 0, Pitch: 180, Yaw: 270 | */
774 MAV_SENSOR_ROTATION_ROLL_90_PITCH_90=28, /* Roll: 90, Pitch: 90, Yaw: 0 | */
775 MAV_SENSOR_ROTATION_ROLL_180_PITCH_90=29, /* Roll: 180, Pitch: 90, Yaw: 0 | */
776 MAV_SENSOR_ROTATION_ROLL_270_PITCH_90=30, /* Roll: 270, Pitch: 90, Yaw: 0 | */
777 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180=31, /* Roll: 90, Pitch: 180, Yaw: 0 | */
778 MAV_SENSOR_ROTATION_ROLL_270_PITCH_180=32, /* Roll: 270, Pitch: 180, Yaw: 0 | */
779 MAV_SENSOR_ROTATION_ROLL_90_PITCH_270=33, /* Roll: 90, Pitch: 270, Yaw: 0 | */
780 MAV_SENSOR_ROTATION_ROLL_180_PITCH_270=34, /* Roll: 180, Pitch: 270, Yaw: 0 | */
781 MAV_SENSOR_ROTATION_ROLL_270_PITCH_270=35, /* Roll: 270, Pitch: 270, Yaw: 0 | */
782 MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90=36, /* Roll: 90, Pitch: 180, Yaw: 90 | */
783 MAV_SENSOR_ROTATION_ROLL_90_YAW_270=37, /* Roll: 90, Pitch: 0, Yaw: 270 | */
784 MAV_SENSOR_ROTATION_ROLL_315_PITCH_315_YAW_315=38, /* Roll: 315, Pitch: 315, Yaw: 315 | */
785 MAV_SENSOR_ORIENTATION_ENUM_END=39, /* | */
786} MAV_SENSOR_ORIENTATION;
787#endif
788
790#ifndef HAVE_ENUM_MAV_PROTOCOL_CAPABILITY
791#define HAVE_ENUM_MAV_PROTOCOL_CAPABILITY
792typedef enum MAV_PROTOCOL_CAPABILITY
793{
794 MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT=1, /* Autopilot supports MISSION float message type. | */
795 MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT=2, /* Autopilot supports the new param float message type. | */
796 MAV_PROTOCOL_CAPABILITY_MISSION_INT=4, /* Autopilot supports MISSION_INT scaled integer message type. | */
797 MAV_PROTOCOL_CAPABILITY_COMMAND_INT=8, /* Autopilot supports COMMAND_INT scaled integer message type. | */
798 MAV_PROTOCOL_CAPABILITY_PARAM_UNION=16, /* Autopilot supports the new param union message type. | */
799 MAV_PROTOCOL_CAPABILITY_FTP=32, /* Autopilot supports the new FILE_TRANSFER_PROTOCOL message type. | */
800 MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET=64, /* Autopilot supports commanding attitude offboard. | */
801 MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED=128, /* Autopilot supports commanding position and velocity targets in local NED frame. | */
802 MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT=256, /* Autopilot supports commanding position and velocity targets in global scaled integers. | */
803 MAV_PROTOCOL_CAPABILITY_TERRAIN=512, /* Autopilot supports terrain protocol / data handling. | */
804 MAV_PROTOCOL_CAPABILITY_SET_ACTUATOR_TARGET=1024, /* Autopilot supports direct actuator control. | */
805 MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION=2048, /* Autopilot supports the flight termination command. | */
806 MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION=4096, /* Autopilot supports onboard compass calibration. | */
807 MAV_PROTOCOL_CAPABILITY_MAVLINK2=8192, /* Autopilot supports mavlink version 2. | */
808 MAV_PROTOCOL_CAPABILITY_MISSION_FENCE=16384, /* Autopilot supports mission fence protocol. | */
809 MAV_PROTOCOL_CAPABILITY_MISSION_RALLY=32768, /* Autopilot supports mission rally point protocol. | */
810 MAV_PROTOCOL_CAPABILITY_FLIGHT_INFORMATION=65536, /* Autopilot supports the flight information protocol. | */
811 MAV_PROTOCOL_CAPABILITY_ENUM_END=65537, /* | */
812} MAV_PROTOCOL_CAPABILITY;
813#endif
814
816#ifndef HAVE_ENUM_MAV_MISSION_TYPE
817#define HAVE_ENUM_MAV_MISSION_TYPE
818typedef enum MAV_MISSION_TYPE
819{
820 MAV_MISSION_TYPE_MISSION=0, /* Items are mission commands for main mission. | */
821 MAV_MISSION_TYPE_FENCE=1, /* Specifies GeoFence area(s). Items are MAV_CMD_FENCE_ GeoFence items. | */
822 MAV_MISSION_TYPE_RALLY=2, /* Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_RALLY_POINT rally point items. | */
823 MAV_MISSION_TYPE_ALL=255, /* Only used in MISSION_CLEAR_ALL to clear all mission types. | */
824 MAV_MISSION_TYPE_ENUM_END=256, /* | */
825} MAV_MISSION_TYPE;
826#endif
827
829#ifndef HAVE_ENUM_MAV_ESTIMATOR_TYPE
830#define HAVE_ENUM_MAV_ESTIMATOR_TYPE
831typedef enum MAV_ESTIMATOR_TYPE
832{
833 MAV_ESTIMATOR_TYPE_NAIVE=1, /* This is a naive estimator without any real covariance feedback. | */
834 MAV_ESTIMATOR_TYPE_VISION=2, /* Computer vision based estimate. Might be up to scale. | */
835 MAV_ESTIMATOR_TYPE_VIO=3, /* Visual-inertial estimate. | */
836 MAV_ESTIMATOR_TYPE_GPS=4, /* Plain GPS estimate. | */
837 MAV_ESTIMATOR_TYPE_GPS_INS=5, /* Estimator integrating GPS and inertial sensing. | */
838 MAV_ESTIMATOR_TYPE_ENUM_END=6, /* | */
839} MAV_ESTIMATOR_TYPE;
840#endif
841
843#ifndef HAVE_ENUM_MAV_BATTERY_TYPE
844#define HAVE_ENUM_MAV_BATTERY_TYPE
845typedef enum MAV_BATTERY_TYPE
846{
847 MAV_BATTERY_TYPE_UNKNOWN=0, /* Not specified. | */
848 MAV_BATTERY_TYPE_LIPO=1, /* Lithium polymer battery | */
849 MAV_BATTERY_TYPE_LIFE=2, /* Lithium-iron-phosphate battery | */
850 MAV_BATTERY_TYPE_LION=3, /* Lithium-ION battery | */
851 MAV_BATTERY_TYPE_NIMH=4, /* Nickel metal hydride battery | */
852 MAV_BATTERY_TYPE_ENUM_END=5, /* | */
853} MAV_BATTERY_TYPE;
854#endif
855
857#ifndef HAVE_ENUM_MAV_BATTERY_FUNCTION
858#define HAVE_ENUM_MAV_BATTERY_FUNCTION
859typedef enum MAV_BATTERY_FUNCTION
860{
861 MAV_BATTERY_FUNCTION_UNKNOWN=0, /* Battery function is unknown | */
862 MAV_BATTERY_FUNCTION_ALL=1, /* Battery supports all flight systems | */
863 MAV_BATTERY_FUNCTION_PROPULSION=2, /* Battery for the propulsion system | */
864 MAV_BATTERY_FUNCTION_AVIONICS=3, /* Avionics battery | */
865 MAV_BATTERY_TYPE_PAYLOAD=4, /* Payload battery | */
866 MAV_BATTERY_FUNCTION_ENUM_END=5, /* | */
867} MAV_BATTERY_FUNCTION;
868#endif
869
871#ifndef HAVE_ENUM_MAV_VTOL_STATE
872#define HAVE_ENUM_MAV_VTOL_STATE
873typedef enum MAV_VTOL_STATE
874{
875 MAV_VTOL_STATE_UNDEFINED=0, /* MAV is not configured as VTOL | */
876 MAV_VTOL_STATE_TRANSITION_TO_FW=1, /* VTOL is in transition from multicopter to fixed-wing | */
877 MAV_VTOL_STATE_TRANSITION_TO_MC=2, /* VTOL is in transition from fixed-wing to multicopter | */
878 MAV_VTOL_STATE_MC=3, /* VTOL is in multicopter state | */
879 MAV_VTOL_STATE_FW=4, /* VTOL is in fixed-wing state | */
880 MAV_VTOL_STATE_ENUM_END=5, /* | */
881} MAV_VTOL_STATE;
882#endif
883
885#ifndef HAVE_ENUM_MAV_LANDED_STATE
886#define HAVE_ENUM_MAV_LANDED_STATE
887typedef enum MAV_LANDED_STATE
888{
889 MAV_LANDED_STATE_UNDEFINED=0, /* MAV landed state is unknown | */
890 MAV_LANDED_STATE_ON_GROUND=1, /* MAV is landed (on ground) | */
891 MAV_LANDED_STATE_IN_AIR=2, /* MAV is in air | */
892 MAV_LANDED_STATE_TAKEOFF=3, /* MAV currently taking off | */
893 MAV_LANDED_STATE_LANDING=4, /* MAV currently landing | */
894 MAV_LANDED_STATE_ENUM_END=5, /* | */
895} MAV_LANDED_STATE;
896#endif
897
899#ifndef HAVE_ENUM_ADSB_ALTITUDE_TYPE
900#define HAVE_ENUM_ADSB_ALTITUDE_TYPE
901typedef enum ADSB_ALTITUDE_TYPE
902{
903 ADSB_ALTITUDE_TYPE_PRESSURE_QNH=0, /* Altitude reported from a Baro source using QNH reference | */
904 ADSB_ALTITUDE_TYPE_GEOMETRIC=1, /* Altitude reported from a GNSS source | */
905 ADSB_ALTITUDE_TYPE_ENUM_END=2, /* | */
906} ADSB_ALTITUDE_TYPE;
907#endif
908
910#ifndef HAVE_ENUM_ADSB_EMITTER_TYPE
911#define HAVE_ENUM_ADSB_EMITTER_TYPE
912typedef enum ADSB_EMITTER_TYPE
913{
914 ADSB_EMITTER_TYPE_NO_INFO=0, /* | */
915 ADSB_EMITTER_TYPE_LIGHT=1, /* | */
916 ADSB_EMITTER_TYPE_SMALL=2, /* | */
917 ADSB_EMITTER_TYPE_LARGE=3, /* | */
918 ADSB_EMITTER_TYPE_HIGH_VORTEX_LARGE=4, /* | */
919 ADSB_EMITTER_TYPE_HEAVY=5, /* | */
920 ADSB_EMITTER_TYPE_HIGHLY_MANUV=6, /* | */
921 ADSB_EMITTER_TYPE_ROTOCRAFT=7, /* | */
922 ADSB_EMITTER_TYPE_UNASSIGNED=8, /* | */
923 ADSB_EMITTER_TYPE_GLIDER=9, /* | */
924 ADSB_EMITTER_TYPE_LIGHTER_AIR=10, /* | */
925 ADSB_EMITTER_TYPE_PARACHUTE=11, /* | */
926 ADSB_EMITTER_TYPE_ULTRA_LIGHT=12, /* | */
927 ADSB_EMITTER_TYPE_UNASSIGNED2=13, /* | */
928 ADSB_EMITTER_TYPE_UAV=14, /* | */
929 ADSB_EMITTER_TYPE_SPACE=15, /* | */
930 ADSB_EMITTER_TYPE_UNASSGINED3=16, /* | */
931 ADSB_EMITTER_TYPE_EMERGENCY_SURFACE=17, /* | */
932 ADSB_EMITTER_TYPE_SERVICE_SURFACE=18, /* | */
933 ADSB_EMITTER_TYPE_POINT_OBSTACLE=19, /* | */
934 ADSB_EMITTER_TYPE_ENUM_END=20, /* | */
935} ADSB_EMITTER_TYPE;
936#endif
937
939#ifndef HAVE_ENUM_ADSB_FLAGS
940#define HAVE_ENUM_ADSB_FLAGS
941typedef enum ADSB_FLAGS
942{
943 ADSB_FLAGS_VALID_COORDS=1, /* | */
944 ADSB_FLAGS_VALID_ALTITUDE=2, /* | */
945 ADSB_FLAGS_VALID_HEADING=4, /* | */
946 ADSB_FLAGS_VALID_VELOCITY=8, /* | */
947 ADSB_FLAGS_VALID_CALLSIGN=16, /* | */
948 ADSB_FLAGS_VALID_SQUAWK=32, /* | */
949 ADSB_FLAGS_SIMULATED=64, /* | */
950 ADSB_FLAGS_ENUM_END=65, /* | */
951} ADSB_FLAGS;
952#endif
953
955#ifndef HAVE_ENUM_MAV_DO_REPOSITION_FLAGS
956#define HAVE_ENUM_MAV_DO_REPOSITION_FLAGS
957typedef enum MAV_DO_REPOSITION_FLAGS
958{
959 MAV_DO_REPOSITION_FLAGS_CHANGE_MODE=1, /* The aircraft should immediately transition into guided. This should not be set for follow me applications | */
960 MAV_DO_REPOSITION_FLAGS_ENUM_END=2, /* | */
961} MAV_DO_REPOSITION_FLAGS;
962#endif
963
965#ifndef HAVE_ENUM_ESTIMATOR_STATUS_FLAGS
966#define HAVE_ENUM_ESTIMATOR_STATUS_FLAGS
967typedef enum ESTIMATOR_STATUS_FLAGS
968{
969 ESTIMATOR_ATTITUDE=1, /* True if the attitude estimate is good | */
970 ESTIMATOR_VELOCITY_HORIZ=2, /* True if the horizontal velocity estimate is good | */
971 ESTIMATOR_VELOCITY_VERT=4, /* True if the vertical velocity estimate is good | */
972 ESTIMATOR_POS_HORIZ_REL=8, /* True if the horizontal position (relative) estimate is good | */
973 ESTIMATOR_POS_HORIZ_ABS=16, /* True if the horizontal position (absolute) estimate is good | */
974 ESTIMATOR_POS_VERT_ABS=32, /* True if the vertical position (absolute) estimate is good | */
975 ESTIMATOR_POS_VERT_AGL=64, /* True if the vertical position (above ground) estimate is good | */
976 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) | */
977 ESTIMATOR_PRED_POS_HORIZ_REL=256, /* True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate | */
978 ESTIMATOR_PRED_POS_HORIZ_ABS=512, /* True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate | */
979 ESTIMATOR_GPS_GLITCH=1024, /* True if the EKF has detected a GPS glitch | */
980 ESTIMATOR_STATUS_FLAGS_ENUM_END=1025, /* | */
981} ESTIMATOR_STATUS_FLAGS;
982#endif
983
985#ifndef HAVE_ENUM_MOTOR_TEST_THROTTLE_TYPE
986#define HAVE_ENUM_MOTOR_TEST_THROTTLE_TYPE
987typedef enum MOTOR_TEST_THROTTLE_TYPE
988{
989 MOTOR_TEST_THROTTLE_PERCENT=0, /* throttle as a percentage from 0 ~ 100 | */
990 MOTOR_TEST_THROTTLE_PWM=1, /* throttle as an absolute PWM value (normally in range of 1000~2000) | */
991 MOTOR_TEST_THROTTLE_PILOT=2, /* throttle pass-through from pilot's transmitter | */
992 MOTOR_TEST_THROTTLE_TYPE_ENUM_END=3, /* | */
993} MOTOR_TEST_THROTTLE_TYPE;
994#endif
995
997#ifndef HAVE_ENUM_GPS_INPUT_IGNORE_FLAGS
998#define HAVE_ENUM_GPS_INPUT_IGNORE_FLAGS
999typedef enum GPS_INPUT_IGNORE_FLAGS
1000{
1001 GPS_INPUT_IGNORE_FLAG_ALT=1, /* ignore altitude field | */
1002 GPS_INPUT_IGNORE_FLAG_HDOP=2, /* ignore hdop field | */
1003 GPS_INPUT_IGNORE_FLAG_VDOP=4, /* ignore vdop field | */
1004 GPS_INPUT_IGNORE_FLAG_VEL_HORIZ=8, /* ignore horizontal velocity field (vn and ve) | */
1005 GPS_INPUT_IGNORE_FLAG_VEL_VERT=16, /* ignore vertical velocity field (vd) | */
1006 GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY=32, /* ignore speed accuracy field | */
1007 GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY=64, /* ignore horizontal accuracy field | */
1008 GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY=128, /* ignore vertical accuracy field | */
1009 GPS_INPUT_IGNORE_FLAGS_ENUM_END=129, /* | */
1010} GPS_INPUT_IGNORE_FLAGS;
1011#endif
1012
1014#ifndef HAVE_ENUM_MAV_COLLISION_ACTION
1015#define HAVE_ENUM_MAV_COLLISION_ACTION
1016typedef enum MAV_COLLISION_ACTION
1017{
1018 MAV_COLLISION_ACTION_NONE=0, /* Ignore any potential collisions | */
1019 MAV_COLLISION_ACTION_REPORT=1, /* Report potential collision | */
1020 MAV_COLLISION_ACTION_ASCEND_OR_DESCEND=2, /* Ascend or Descend to avoid threat | */
1021 MAV_COLLISION_ACTION_MOVE_HORIZONTALLY=3, /* Move horizontally to avoid threat | */
1022 MAV_COLLISION_ACTION_MOVE_PERPENDICULAR=4, /* Aircraft to move perpendicular to the collision's velocity vector | */
1023 MAV_COLLISION_ACTION_RTL=5, /* Aircraft to fly directly back to its launch point | */
1024 MAV_COLLISION_ACTION_HOVER=6, /* Aircraft to stop in place | */
1025 MAV_COLLISION_ACTION_ENUM_END=7, /* | */
1026} MAV_COLLISION_ACTION;
1027#endif
1028
1030#ifndef HAVE_ENUM_MAV_COLLISION_THREAT_LEVEL
1031#define HAVE_ENUM_MAV_COLLISION_THREAT_LEVEL
1032typedef enum MAV_COLLISION_THREAT_LEVEL
1033{
1034 MAV_COLLISION_THREAT_LEVEL_NONE=0, /* Not a threat | */
1035 MAV_COLLISION_THREAT_LEVEL_LOW=1, /* Craft is mildly concerned about this threat | */
1036 MAV_COLLISION_THREAT_LEVEL_HIGH=2, /* Craft is panicing, and may take actions to avoid threat | */
1037 MAV_COLLISION_THREAT_LEVEL_ENUM_END=3, /* | */
1038} MAV_COLLISION_THREAT_LEVEL;
1039#endif
1040
1042#ifndef HAVE_ENUM_MAV_COLLISION_SRC
1043#define HAVE_ENUM_MAV_COLLISION_SRC
1044typedef enum MAV_COLLISION_SRC
1045{
1046 MAV_COLLISION_SRC_ADSB=0, /* ID field references ADSB_VEHICLE packets | */
1047 MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT=1, /* ID field references MAVLink SRC ID | */
1048 MAV_COLLISION_SRC_ENUM_END=2, /* | */
1049} MAV_COLLISION_SRC;
1050#endif
1051
1053#ifndef HAVE_ENUM_GPS_FIX_TYPE
1054#define HAVE_ENUM_GPS_FIX_TYPE
1055typedef enum GPS_FIX_TYPE
1056{
1057 GPS_FIX_TYPE_NO_GPS=0, /* No GPS connected | */
1058 GPS_FIX_TYPE_NO_FIX=1, /* No position information, GPS is connected | */
1059 GPS_FIX_TYPE_2D_FIX=2, /* 2D position | */
1060 GPS_FIX_TYPE_3D_FIX=3, /* 3D position | */
1061 GPS_FIX_TYPE_DGPS=4, /* DGPS/SBAS aided 3D position | */
1062 GPS_FIX_TYPE_RTK_FLOAT=5, /* RTK float, 3D position | */
1063 GPS_FIX_TYPE_RTK_FIXED=6, /* RTK Fixed, 3D position | */
1064 GPS_FIX_TYPE_STATIC=7, /* Static fixed, typically used for base stations | */
1065 GPS_FIX_TYPE_PPP=8, /* PPP, 3D position. | */
1066 GPS_FIX_TYPE_ENUM_END=9, /* | */
1067} GPS_FIX_TYPE;
1068#endif
1069
1071#ifndef HAVE_ENUM_LANDING_TARGET_TYPE
1072#define HAVE_ENUM_LANDING_TARGET_TYPE
1073typedef enum LANDING_TARGET_TYPE
1074{
1075 LANDING_TARGET_TYPE_LIGHT_BEACON=0, /* Landing target signaled by light beacon (ex: IR-LOCK) | */
1076 LANDING_TARGET_TYPE_RADIO_BEACON=1, /* Landing target signaled by radio beacon (ex: ILS, NDB) | */
1077 LANDING_TARGET_TYPE_VISION_FIDUCIAL=2, /* Landing target represented by a fiducial marker (ex: ARTag) | */
1078 LANDING_TARGET_TYPE_VISION_OTHER=3, /* Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square) | */
1079 LANDING_TARGET_TYPE_ENUM_END=4, /* | */
1080} LANDING_TARGET_TYPE;
1081#endif
1082
1084#ifndef HAVE_ENUM_VTOL_TRANSITION_HEADING
1085#define HAVE_ENUM_VTOL_TRANSITION_HEADING
1086typedef enum VTOL_TRANSITION_HEADING
1087{
1088 VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT=0, /* Respect the heading configuration of the vehicle. | */
1089 VTOL_TRANSITION_HEADING_NEXT_WAYPOINT=1, /* Use the heading pointing towards the next waypoint. | */
1090 VTOL_TRANSITION_HEADING_TAKEOFF=2, /* Use the heading on takeoff (while sitting on the ground). | */
1091 VTOL_TRANSITION_HEADING_SPECIFIED=3, /* Use the specified heading in parameter 4. | */
1092 VTOL_TRANSITION_HEADING_ANY=4, /* Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active). | */
1093 VTOL_TRANSITION_HEADING_ENUM_END=5, /* | */
1094} VTOL_TRANSITION_HEADING;
1095#endif
1096
1098#ifndef HAVE_ENUM_CAMERA_CAP_FLAGS
1099#define HAVE_ENUM_CAMERA_CAP_FLAGS
1100typedef enum CAMERA_CAP_FLAGS
1101{
1102 CAMERA_CAP_FLAGS_CAPTURE_VIDEO=1, /* Camera is able to record video. | */
1103 CAMERA_CAP_FLAGS_CAPTURE_IMAGE=2, /* Camera is able to capture images. | */
1104 CAMERA_CAP_FLAGS_HAS_MODES=4, /* Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE) | */
1105 CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE=8, /* Camera can capture images while in video mode | */
1106 CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE=16, /* Camera can capture videos while in Photo/Image mode | */
1107 CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE=32, /* Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE) | */
1108 CAMERA_CAP_FLAGS_ENUM_END=33, /* | */
1109} CAMERA_CAP_FLAGS;
1110#endif
1111
1113#ifndef HAVE_ENUM_PARAM_ACK
1114#define HAVE_ENUM_PARAM_ACK
1115typedef enum PARAM_ACK
1116{
1117 PARAM_ACK_ACCEPTED=0, /* Parameter value ACCEPTED and SET | */
1118 PARAM_ACK_VALUE_UNSUPPORTED=1, /* Parameter value UNKNOWN/UNSUPPORTED | */
1119 PARAM_ACK_FAILED=2, /* Parameter failed to set | */
1120 PARAM_ACK_IN_PROGRESS=3, /* Parameter value received but not yet validated or set. A subsequent PARAM_EXT_ACK will follow once operation is completed with the actual result. These are for parameters that may take longer to set. Instead of waiting for an ACK and potentially timing out, you will immediately receive this response to let you know it was received. | */
1121 PARAM_ACK_ENUM_END=4, /* | */
1122} PARAM_ACK;
1123#endif
1124
1126#ifndef HAVE_ENUM_CAMERA_MODE
1127#define HAVE_ENUM_CAMERA_MODE
1128typedef enum CAMERA_MODE
1129{
1130 CAMERA_MODE_IMAGE=0, /* Camera is in image/photo capture mode. | */
1131 CAMERA_MODE_VIDEO=1, /* Camera is in video capture mode. | */
1132 CAMERA_MODE_IMAGE_SURVEY=2, /* Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys. | */
1133 CAMERA_MODE_ENUM_END=3, /* | */
1134} CAMERA_MODE;
1135#endif
1136
1138#ifndef HAVE_ENUM_MAV_ARM_AUTH_DENIED_REASON
1139#define HAVE_ENUM_MAV_ARM_AUTH_DENIED_REASON
1140typedef enum MAV_ARM_AUTH_DENIED_REASON
1141{
1142 MAV_ARM_AUTH_DENIED_REASON_GENERIC=0, /* Not a specific reason | */
1143 MAV_ARM_AUTH_DENIED_REASON_NONE=1, /* Authorizer will send the error as string to GCS | */
1144 MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT=2, /* At least one waypoint have a invalid value | */
1145 MAV_ARM_AUTH_DENIED_REASON_TIMEOUT=3, /* Timeout in the authorizer process(in case it depends on network) | */
1146 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. | */
1147 MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER=5, /* Weather is not good to fly | */
1148 MAV_ARM_AUTH_DENIED_REASON_ENUM_END=6, /* | */
1149} MAV_ARM_AUTH_DENIED_REASON;
1150#endif
1151
1152// MAVLINK VERSION
1153
1154#ifndef MAVLINK_VERSION
1155#define MAVLINK_VERSION 3
1156#endif
1157
1158#if (MAVLINK_VERSION == 0)
1159#undef MAVLINK_VERSION
1160#define MAVLINK_VERSION 3
1161#endif
1162
1163// MESSAGE DEFINITIONS
1164#include "./mavlink_msg_heartbeat.h"
1165#include "./mavlink_msg_sys_status.h"
1166#include "./mavlink_msg_system_time.h"
1167#include "./mavlink_msg_ping.h"
1168#include "./mavlink_msg_change_operator_control.h"
1169#include "./mavlink_msg_change_operator_control_ack.h"
1170#include "./mavlink_msg_auth_key.h"
1171#include "./mavlink_msg_set_mode.h"
1172#include "./mavlink_msg_param_request_read.h"
1173#include "./mavlink_msg_param_request_list.h"
1174#include "./mavlink_msg_param_value.h"
1175#include "./mavlink_msg_param_set.h"
1176#include "./mavlink_msg_gps_raw_int.h"
1177#include "./mavlink_msg_gps_status.h"
1178#include "./mavlink_msg_scaled_imu.h"
1179#include "./mavlink_msg_raw_imu.h"
1180#include "./mavlink_msg_raw_pressure.h"
1181#include "./mavlink_msg_scaled_pressure.h"
1182#include "./mavlink_msg_attitude.h"
1183#include "./mavlink_msg_attitude_quaternion.h"
1184#include "./mavlink_msg_local_position_ned.h"
1185#include "./mavlink_msg_global_position_int.h"
1186#include "./mavlink_msg_rc_channels_scaled.h"
1187#include "./mavlink_msg_rc_channels_raw.h"
1188#include "./mavlink_msg_servo_output_raw.h"
1189#include "./mavlink_msg_mission_request_partial_list.h"
1190#include "./mavlink_msg_mission_write_partial_list.h"
1191#include "./mavlink_msg_mission_item.h"
1192#include "./mavlink_msg_mission_request.h"
1193#include "./mavlink_msg_mission_set_current.h"
1194#include "./mavlink_msg_mission_current.h"
1195#include "./mavlink_msg_mission_request_list.h"
1196#include "./mavlink_msg_mission_count.h"
1197#include "./mavlink_msg_mission_clear_all.h"
1198#include "./mavlink_msg_mission_item_reached.h"
1199#include "./mavlink_msg_mission_ack.h"
1200#include "./mavlink_msg_set_gps_global_origin.h"
1201#include "./mavlink_msg_gps_global_origin.h"
1202#include "./mavlink_msg_param_map_rc.h"
1203#include "./mavlink_msg_mission_request_int.h"
1204#include "./mavlink_msg_safety_set_allowed_area.h"
1205#include "./mavlink_msg_safety_allowed_area.h"
1206#include "./mavlink_msg_attitude_quaternion_cov.h"
1207#include "./mavlink_msg_nav_controller_output.h"
1208#include "./mavlink_msg_global_position_int_cov.h"
1209#include "./mavlink_msg_local_position_ned_cov.h"
1210#include "./mavlink_msg_rc_channels.h"
1211#include "./mavlink_msg_request_data_stream.h"
1212#include "./mavlink_msg_data_stream.h"
1213#include "./mavlink_msg_manual_control.h"
1214#include "./mavlink_msg_rc_channels_override.h"
1215#include "./mavlink_msg_mission_item_int.h"
1216#include "./mavlink_msg_vfr_hud.h"
1217#include "./mavlink_msg_command_int.h"
1218#include "./mavlink_msg_command_long.h"
1219#include "./mavlink_msg_command_ack.h"
1220#include "./mavlink_msg_manual_setpoint.h"
1221#include "./mavlink_msg_set_attitude_target.h"
1222#include "./mavlink_msg_attitude_target.h"
1223#include "./mavlink_msg_set_position_target_local_ned.h"
1224#include "./mavlink_msg_position_target_local_ned.h"
1225#include "./mavlink_msg_set_position_target_global_int.h"
1226#include "./mavlink_msg_position_target_global_int.h"
1227#include "./mavlink_msg_local_position_ned_system_global_offset.h"
1228#include "./mavlink_msg_hil_state.h"
1229#include "./mavlink_msg_hil_controls.h"
1230#include "./mavlink_msg_hil_rc_inputs_raw.h"
1231#include "./mavlink_msg_hil_actuator_controls.h"
1232#include "./mavlink_msg_optical_flow.h"
1233#include "./mavlink_msg_global_vision_position_estimate.h"
1234#include "./mavlink_msg_vision_position_estimate.h"
1235#include "./mavlink_msg_vision_speed_estimate.h"
1236#include "./mavlink_msg_vicon_position_estimate.h"
1237#include "./mavlink_msg_highres_imu.h"
1238#include "./mavlink_msg_optical_flow_rad.h"
1239#include "./mavlink_msg_hil_sensor.h"
1240#include "./mavlink_msg_sim_state.h"
1241#include "./mavlink_msg_radio_status.h"
1242#include "./mavlink_msg_file_transfer_protocol.h"
1243#include "./mavlink_msg_timesync.h"
1244#include "./mavlink_msg_camera_trigger.h"
1245#include "./mavlink_msg_hil_gps.h"
1246#include "./mavlink_msg_hil_optical_flow.h"
1247#include "./mavlink_msg_hil_state_quaternion.h"
1248#include "./mavlink_msg_scaled_imu2.h"
1249#include "./mavlink_msg_log_request_list.h"
1250#include "./mavlink_msg_log_entry.h"
1251#include "./mavlink_msg_log_request_data.h"
1252#include "./mavlink_msg_log_data.h"
1253#include "./mavlink_msg_log_erase.h"
1254#include "./mavlink_msg_log_request_end.h"
1255#include "./mavlink_msg_gps_inject_data.h"
1256#include "./mavlink_msg_gps2_raw.h"
1257#include "./mavlink_msg_power_status.h"
1258#include "./mavlink_msg_serial_control.h"
1259#include "./mavlink_msg_gps_rtk.h"
1260#include "./mavlink_msg_gps2_rtk.h"
1261#include "./mavlink_msg_scaled_imu3.h"
1262#include "./mavlink_msg_data_transmission_handshake.h"
1263#include "./mavlink_msg_encapsulated_data.h"
1264#include "./mavlink_msg_distance_sensor.h"
1265#include "./mavlink_msg_terrain_request.h"
1266#include "./mavlink_msg_terrain_data.h"
1267#include "./mavlink_msg_terrain_check.h"
1268#include "./mavlink_msg_terrain_report.h"
1269#include "./mavlink_msg_scaled_pressure2.h"
1270#include "./mavlink_msg_att_pos_mocap.h"
1271#include "./mavlink_msg_set_actuator_control_target.h"
1272#include "./mavlink_msg_actuator_control_target.h"
1273#include "./mavlink_msg_altitude.h"
1274#include "./mavlink_msg_resource_request.h"
1275#include "./mavlink_msg_scaled_pressure3.h"
1276#include "./mavlink_msg_follow_target.h"
1277#include "./mavlink_msg_control_system_state.h"
1278#include "./mavlink_msg_battery_status.h"
1279#include "./mavlink_msg_autopilot_version.h"
1280#include "./mavlink_msg_landing_target.h"
1281#include "./mavlink_msg_estimator_status.h"
1282#include "./mavlink_msg_wind_cov.h"
1283#include "./mavlink_msg_gps_input.h"
1284#include "./mavlink_msg_gps_rtcm_data.h"
1285#include "./mavlink_msg_high_latency.h"
1286#include "./mavlink_msg_vibration.h"
1287#include "./mavlink_msg_home_position.h"
1288#include "./mavlink_msg_set_home_position.h"
1289#include "./mavlink_msg_message_interval.h"
1290#include "./mavlink_msg_extended_sys_state.h"
1291#include "./mavlink_msg_adsb_vehicle.h"
1292#include "./mavlink_msg_collision.h"
1293#include "./mavlink_msg_v2_extension.h"
1294#include "./mavlink_msg_memory_vect.h"
1295#include "./mavlink_msg_debug_vect.h"
1296#include "./mavlink_msg_named_value_float.h"
1297#include "./mavlink_msg_named_value_int.h"
1298#include "./mavlink_msg_statustext.h"
1299#include "./mavlink_msg_debug.h"
1300#include "./mavlink_msg_setup_signing.h"
1301#include "./mavlink_msg_button_change.h"
1302#include "./mavlink_msg_play_tune.h"
1303#include "./mavlink_msg_camera_information.h"
1304#include "./mavlink_msg_camera_settings.h"
1305#include "./mavlink_msg_storage_information.h"
1306#include "./mavlink_msg_camera_capture_status.h"
1307#include "./mavlink_msg_camera_image_captured.h"
1308#include "./mavlink_msg_flight_information.h"
1309#include "./mavlink_msg_mount_orientation.h"
1310#include "./mavlink_msg_logging_data.h"
1311#include "./mavlink_msg_logging_data_acked.h"
1312#include "./mavlink_msg_logging_ack.h"
1313#include "./mavlink_msg_video_stream_information.h"
1314#include "./mavlink_msg_set_video_stream_settings.h"
1315#include "./mavlink_msg_wifi_config_ap.h"
1316#include "./mavlink_msg_protocol_version.h"
1317#include "./mavlink_msg_uavcan_node_status.h"
1318#include "./mavlink_msg_uavcan_node_info.h"
1319#include "./mavlink_msg_param_ext_request_read.h"
1320#include "./mavlink_msg_param_ext_request_list.h"
1321#include "./mavlink_msg_param_ext_value.h"
1322#include "./mavlink_msg_param_ext_set.h"
1323#include "./mavlink_msg_param_ext_ack.h"
1324#include "./mavlink_msg_obstacle_distance.h"
1325
1326// base include
1327
1328
1329#undef MAVLINK_THIS_XML_IDX
1330#define MAVLINK_THIS_XML_IDX 1
1331
1332#if MAVLINK_THIS_XML_IDX == MAVLINK_PRIMARY_XML_IDX
1333# 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_SET_MODE, 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_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_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_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_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_SET_VIDEO_STREAM_SETTINGS, MAVLINK_MESSAGE_INFO_WIFI_CONFIG_AP, MAVLINK_MESSAGE_INFO_PROTOCOL_VERSION, 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}
1334# define MAVLINK_MESSAGE_NAMES {{ "ACTUATOR_CONTROL_TARGET", 140 }, { "ADSB_VEHICLE", 246 }, { "ALTITUDE", 141 }, { "ATTITUDE", 30 }, { "ATTITUDE_QUATERNION", 31 }, { "ATTITUDE_QUATERNION_COV", 61 }, { "ATTITUDE_TARGET", 83 }, { "ATT_POS_MOCAP", 138 }, { "AUTH_KEY", 7 }, { "AUTOPILOT_VERSION", 148 }, { "BATTERY_STATUS", 147 }, { "BUTTON_CHANGE", 257 }, { "CAMERA_CAPTURE_STATUS", 262 }, { "CAMERA_IMAGE_CAPTURED", 263 }, { "CAMERA_INFORMATION", 259 }, { "CAMERA_SETTINGS", 260 }, { "CAMERA_TRIGGER", 112 }, { "CHANGE_OPERATOR_CONTROL", 5 }, { "CHANGE_OPERATOR_CONTROL_ACK", 6 }, { "COLLISION", 247 }, { "COMMAND_ACK", 77 }, { "COMMAND_INT", 75 }, { "COMMAND_LONG", 76 }, { "CONTROL_SYSTEM_STATE", 146 }, { "DATA_STREAM", 67 }, { "DATA_TRANSMISSION_HANDSHAKE", 130 }, { "DEBUG", 254 }, { "DEBUG_VECT", 250 }, { "DISTANCE_SENSOR", 132 }, { "ENCAPSULATED_DATA", 131 }, { "ESTIMATOR_STATUS", 230 }, { "EXTENDED_SYS_STATE", 245 }, { "FILE_TRANSFER_PROTOCOL", 110 }, { "FLIGHT_INFORMATION", 264 }, { "FOLLOW_TARGET", 144 }, { "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 }, { "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 }, { "LANDING_TARGET", 149 }, { "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 }, { "MANUAL_CONTROL", 69 }, { "MANUAL_SETPOINT", 81 }, { "MEMORY_VECT", 249 }, { "MESSAGE_INTERVAL", 244 }, { "MISSION_ACK", 47 }, { "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 }, { "OPTICAL_FLOW", 100 }, { "OPTICAL_FLOW_RAD", 106 }, { "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 }, { "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 }, { "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 }, { "SET_VIDEO_STREAM_SETTINGS", 270 }, { "SIM_STATE", 108 }, { "STATUSTEXT", 253 }, { "STORAGE_INFORMATION", 261 }, { "SYSTEM_TIME", 2 }, { "SYS_STATUS", 1 }, { "TERRAIN_CHECK", 135 }, { "TERRAIN_DATA", 134 }, { "TERRAIN_REPORT", 136 }, { "TERRAIN_REQUEST", 133 }, { "TIMESYNC", 111 }, { "UAVCAN_NODE_INFO", 311 }, { "UAVCAN_NODE_STATUS", 310 }, { "V2_EXTENSION", 248 }, { "VFR_HUD", 74 }, { "VIBRATION", 241 }, { "VICON_POSITION_ESTIMATE", 104 }, { "VIDEO_STREAM_INFORMATION", 269 }, { "VISION_POSITION_ESTIMATE", 102 }, { "VISION_SPEED_ESTIMATE", 103 }, { "WIFI_CONFIG_AP", 299 }, { "WIND_COV", 231 }}
1335# if MAVLINK_COMMAND_24BIT
1336# include "../mavlink_get_info.h"
1337# endif
1338#endif
1339
1340#ifdef __cplusplus
1341}
1342#endif // __cplusplus
1343#endif // MAVLINK_COMMON_H