Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1702 | - | 1 | <?xml version='1.0'?> |
2 | <mavlink> |
||
3 | <version>3</version> |
||
4 | <enums> |
||
5 | <enum name="MAV_AUTOPILOT"> |
||
6 | <description>Micro air vehicle / autopilot classes. This identifies the individual model.</description> |
||
7 | <entry value="0" name="MAV_AUTOPILOT_GENERIC"> |
||
8 | <description>Generic autopilot, full support for everything</description> |
||
9 | </entry> |
||
10 | <entry value="1" name="MAV_AUTOPILOT_PIXHAWK"> |
||
11 | <description>PIXHAWK autopilot, http://pixhawk.ethz.ch</description> |
||
12 | </entry> |
||
13 | <entry value="2" name="MAV_AUTOPILOT_SLUGS"> |
||
14 | <description>SLUGS autopilot, http://slugsuav.soe.ucsc.edu</description> |
||
15 | </entry> |
||
16 | <entry value="3" name="MAV_AUTOPILOT_ARDUPILOTMEGA"> |
||
17 | <description>ArduPilotMega / ArduCopter, http://diydrones.com</description> |
||
18 | </entry> |
||
19 | <entry value="4" name="MAV_AUTOPILOT_OPENPILOT"> |
||
20 | <description>OpenPilot, http://openpilot.org</description> |
||
21 | </entry> |
||
22 | <entry value="5" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY"> |
||
23 | <description>Generic autopilot only supporting simple waypoints</description> |
||
24 | </entry> |
||
25 | <entry value="6" name="MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY"> |
||
26 | <description>Generic autopilot supporting waypoints and other simple navigation commands</description> |
||
27 | </entry> |
||
28 | <entry value="7" name="MAV_AUTOPILOT_GENERIC_MISSION_FULL"> |
||
29 | <description>Generic autopilot supporting the full mission command set</description> |
||
30 | </entry> |
||
31 | <entry value="8" name="MAV_AUTOPILOT_INVALID"> |
||
32 | <description>No valid autopilot, e.g. a GCS or other MAVLink component</description> |
||
33 | </entry> |
||
34 | <entry value="9" name="MAV_AUTOPILOT_PPZ"> |
||
35 | <description>PPZ UAV - http://nongnu.org/paparazzi</description> |
||
36 | </entry> |
||
37 | <entry value="10" name="MAV_AUTOPILOT_UDB"> |
||
38 | <description>UAV Dev Board</description> |
||
39 | </entry> |
||
40 | <entry value="11" name="MAV_AUTOPILOT_FP"> |
||
41 | <description>FlexiPilot</description> |
||
42 | </entry> |
||
43 | </enum> |
||
44 | <enum name="MAV_TYPE"> |
||
45 | <entry value="0" name="MAV_TYPE_GENERIC"> |
||
46 | <description>Generic micro air vehicle.</description> |
||
47 | </entry> |
||
48 | <entry value="1" name="MAV_TYPE_FIXED_WING"> |
||
49 | <description>Fixed wing aircraft.</description> |
||
50 | </entry> |
||
51 | <entry value="2" name="MAV_TYPE_QUADROTOR"> |
||
52 | <description>Quadrotor</description> |
||
53 | </entry> |
||
54 | <entry value="3" name="MAV_TYPE_COAXIAL"> |
||
55 | <description>Coaxial helicopter</description> |
||
56 | </entry> |
||
57 | <entry value="4" name="MAV_TYPE_HELICOPTER"> |
||
58 | <description>Normal helicopter with tail rotor.</description> |
||
59 | </entry> |
||
60 | <entry value="5" name="MAV_TYPE_ANTENNA_TRACKER"> |
||
61 | <description>Ground installation</description> |
||
62 | </entry> |
||
63 | <entry value="6" name="MAV_TYPE_GCS"> |
||
64 | <description>Operator control unit / ground control station</description> |
||
65 | </entry> |
||
66 | <entry value="7" name="MAV_TYPE_AIRSHIP"> |
||
67 | <description>Airship, controlled</description> |
||
68 | </entry> |
||
69 | <entry value="8" name="MAV_TYPE_FREE_BALLOON"> |
||
70 | <description>Free balloon, uncontrolled</description> |
||
71 | </entry> |
||
72 | <entry value="9" name="MAV_TYPE_ROCKET"> |
||
73 | <description>Rocket</description> |
||
74 | </entry> |
||
75 | <entry value="10" name="MAV_TYPE_GROUND_ROVER"> |
||
76 | <description>Ground rover</description> |
||
77 | </entry> |
||
78 | <entry value="11" name="MAV_TYPE_SURFACE_BOAT"> |
||
79 | <description>Surface vessel, boat, ship</description> |
||
80 | </entry> |
||
81 | <entry value="12" name="MAV_TYPE_SUBMARINE"> |
||
82 | <description>Submarine</description> |
||
83 | </entry> |
||
84 | <entry value="13" name="MAV_TYPE_HEXAROTOR"> |
||
85 | <description>Hexarotor</description> |
||
86 | </entry> |
||
87 | <entry value="14" name="MAV_TYPE_OCTOROTOR"> |
||
88 | <description>Octorotor</description> |
||
89 | </entry> |
||
90 | <entry value="15" name="MAV_TYPE_TRICOPTER"> |
||
91 | <description>Octorotor</description> |
||
92 | </entry> |
||
93 | <entry value="16" name="MAV_TYPE_FLAPPING_WING"> |
||
94 | <description>Flapping wing</description> |
||
95 | </entry> |
||
96 | </enum> |
||
97 | <!-- WARNING: MAV_ACTION Enum is no longer supported - has been removed. Please use MAV_CMD --> |
||
98 | <enum name="MAV_MODE_FLAG"> |
||
99 | <description>These flags encode the MAV mode.</description> |
||
100 | <entry value="128" name="MAV_MODE_FLAG_SAFETY_ARMED"> |
||
101 | <description>0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly.</description> |
||
102 | </entry> |
||
103 | <entry value="64" name="MAV_MODE_FLAG_MANUAL_INPUT_ENABLED"> |
||
104 | <description>0b01000000 remote control input is enabled.</description> |
||
105 | </entry> |
||
106 | <entry value="32" name="MAV_MODE_FLAG_HIL_ENABLED"> |
||
107 | <description>0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.</description> |
||
108 | </entry> |
||
109 | <entry value="16" name="MAV_MODE_FLAG_STABILIZE_ENABLED"> |
||
110 | <description>0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.</description> |
||
111 | </entry> |
||
112 | <entry value="8" name="MAV_MODE_FLAG_GUIDED_ENABLED"> |
||
113 | <description>0b00001000 guided mode enabled, system flies MISSIONs / mission items.</description> |
||
114 | </entry> |
||
115 | <entry value="4" name="MAV_MODE_FLAG_AUTO_ENABLED"> |
||
116 | <description>0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.</description> |
||
117 | </entry> |
||
118 | <entry value="2" name="MAV_MODE_FLAG_TEST_ENABLED"> |
||
119 | <description>0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.</description> |
||
120 | </entry> |
||
121 | <entry value="1" name="MAV_MODE_FLAG_CUSTOM_MODE_ENABLED"> |
||
122 | <description>0b00000001 Reserved for future use.</description> |
||
123 | </entry> |
||
124 | </enum> |
||
125 | <enum name="MAV_MODE_FLAG_DECODE_POSITION"> |
||
126 | <description>These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.</description> |
||
127 | <entry value="128" name="MAV_MODE_FLAG_DECODE_POSITION_SAFETY"> |
||
128 | <description>First bit: 10000000</description> |
||
129 | </entry> |
||
130 | <entry value="64" name="MAV_MODE_FLAG_DECODE_POSITION_MANUAL"> |
||
131 | <description>Second bit: 01000000</description> |
||
132 | </entry> |
||
133 | <entry value="32" name="MAV_MODE_FLAG_DECODE_POSITION_HIL"> |
||
134 | <description>Third bit: 00100000</description> |
||
135 | </entry> |
||
136 | <entry value="16" name="MAV_MODE_FLAG_DECODE_POSITION_STABILIZE"> |
||
137 | <description>Fourth bit: 00010000</description> |
||
138 | </entry> |
||
139 | <entry value="8" name="MAV_MODE_FLAG_DECODE_POSITION_GUIDED"> |
||
140 | <description>Fifth bit: 00001000</description> |
||
141 | </entry> |
||
142 | <entry value="4" name="MAV_MODE_FLAG_DECODE_POSITION_AUTO"> |
||
143 | <description>Sixt bit: 00000100</description> |
||
144 | </entry> |
||
145 | <entry value="2" name="MAV_MODE_FLAG_DECODE_POSITION_TEST"> |
||
146 | <description>Seventh bit: 00000010</description> |
||
147 | </entry> |
||
148 | <entry value="1" name="MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE"> |
||
149 | <description>Eighth bit: 00000001</description> |
||
150 | </entry> |
||
151 | </enum> |
||
152 | <enum name="MAV_GOTO"> |
||
153 | <description>Override command, pauses current mission execution and moves immediately to a position</description> |
||
154 | <entry value="0" name="MAV_GOTO_DO_HOLD"> |
||
155 | <description>Hold at the current position.</description> |
||
156 | </entry> |
||
157 | <entry value="1" name="MAV_GOTO_DO_CONTINUE"> |
||
158 | <description>Continue with the next item in mission execution.</description> |
||
159 | </entry> |
||
160 | <entry value="2" name="MAV_GOTO_HOLD_AT_CURRENT_POSITION"> |
||
161 | <description>Hold at the current position of the system</description> |
||
162 | </entry> |
||
163 | <entry value="3" name="MAV_GOTO_HOLD_AT_SPECIFIED_POSITION"> |
||
164 | <description>Hold at the position specified in the parameters of the DO_HOLD action</description> |
||
165 | </entry> |
||
166 | </enum> |
||
167 | <enum name="MAV_MODE"> |
||
168 | <description>These defines are predefined OR-combined mode flags. There is no need to use values from this enum, but it |
||
169 | simplifies the use of the mode flags. Note that manual input is enabled in all modes as a safety override.</description> |
||
170 | <entry value="0" name="MAV_MODE_PREFLIGHT"> |
||
171 | <description>System is not ready to fly, booting, calibrating, etc. No flag is set.</description> |
||
172 | </entry> |
||
173 | <entry value="80" name="MAV_MODE_STABILIZE_DISARMED"> |
||
174 | <description>System is allowed to be active, under assisted RC control.</description> |
||
175 | </entry> |
||
176 | <entry value="208" name="MAV_MODE_STABILIZE_ARMED"> |
||
177 | <description>System is allowed to be active, under assisted RC control.</description> |
||
178 | </entry> |
||
179 | <entry value="64" name="MAV_MODE_MANUAL_DISARMED"> |
||
180 | <description>System is allowed to be active, under manual (RC) control, no stabilization</description> |
||
181 | </entry> |
||
182 | <entry value="192" name="MAV_MODE_MANUAL_ARMED"> |
||
183 | <description>System is allowed to be active, under manual (RC) control, no stabilization</description> |
||
184 | </entry> |
||
185 | <entry value="88" name="MAV_MODE_GUIDED_DISARMED"> |
||
186 | <description>System is allowed to be active, under autonomous control, manual setpoint</description> |
||
187 | </entry> |
||
188 | <entry value="216" name="MAV_MODE_GUIDED_ARMED"> |
||
189 | <description>System is allowed to be active, under autonomous control, manual setpoint</description> |
||
190 | </entry> |
||
191 | <entry value="92" name="MAV_MODE_AUTO_DISARMED"> |
||
192 | <description>System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by MISSIONs)</description> |
||
193 | </entry> |
||
194 | <entry value="220" name="MAV_MODE_AUTO_ARMED"> |
||
195 | <description>System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by MISSIONs)</description> |
||
196 | </entry> |
||
197 | <entry value="66" name="MAV_MODE_TEST_DISARMED"> |
||
198 | <description>UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.</description> |
||
199 | </entry> |
||
200 | <entry value="194" name="MAV_MODE_TEST_ARMED"> |
||
201 | <description>UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only.</description> |
||
202 | </entry> |
||
203 | </enum> |
||
204 | <enum name="MAV_STATE"> |
||
205 | <entry value="0" name="MAV_STATE_UNINIT"> |
||
206 | <description>Uninitialized system, state is unknown.</description> |
||
207 | </entry> |
||
208 | <entry name="MAV_STATE_BOOT"> |
||
209 | <description>System is booting up.</description> |
||
210 | </entry> |
||
211 | <entry name="MAV_STATE_CALIBRATING"> |
||
212 | <description>System is calibrating and not flight-ready.</description> |
||
213 | </entry> |
||
214 | <entry name="MAV_STATE_STANDBY"> |
||
215 | <description>System is grounded and on standby. It can be launched any time.</description> |
||
216 | </entry> |
||
217 | <entry name="MAV_STATE_ACTIVE"> |
||
218 | <description>System is active and might be already airborne. Motors are engaged.</description> |
||
219 | </entry> |
||
220 | <entry name="MAV_STATE_CRITICAL"> |
||
221 | <description>System is in a non-normal flight mode. It can however still navigate.</description> |
||
222 | </entry> |
||
223 | <entry name="MAV_STATE_EMERGENCY"> |
||
224 | <description>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.</description> |
||
225 | </entry> |
||
226 | <entry name="MAV_STATE_POWEROFF"> |
||
227 | <description>System just initialized its power-down sequence, will shut down now.</description> |
||
228 | </entry> |
||
229 | </enum> |
||
230 | <enum name="MAV_COMPONENT"> |
||
231 | <entry value="0" name="MAV_COMP_ID_ALL"> |
||
232 | <description/> |
||
233 | </entry> |
||
234 | <entry value="220" name="MAV_COMP_ID_GPS"> |
||
235 | <description/> |
||
236 | </entry> |
||
237 | <entry value="190" name="MAV_COMP_ID_MISSIONPLANNER"> |
||
238 | <description/> |
||
239 | </entry> |
||
240 | <entry value="195" name="MAV_COMP_ID_PATHPLANNER"> |
||
241 | <description/> |
||
242 | </entry> |
||
243 | <entry value="180" name="MAV_COMP_ID_MAPPER"> |
||
244 | <description/> |
||
245 | </entry> |
||
246 | <entry value="100" name="MAV_COMP_ID_CAMERA"> |
||
247 | <description/> |
||
248 | </entry> |
||
249 | <entry value="200" name="MAV_COMP_ID_IMU"> |
||
250 | <description/> |
||
251 | </entry> |
||
252 | <entry value="201" name="MAV_COMP_ID_IMU_2"> |
||
253 | <description/> |
||
254 | </entry> |
||
255 | <entry value="202" name="MAV_COMP_ID_IMU_3"> |
||
256 | <description/> |
||
257 | </entry> |
||
258 | <entry value="240" name="MAV_COMP_ID_UDP_BRIDGE"> |
||
259 | <description/> |
||
260 | </entry> |
||
261 | <entry value="241" name="MAV_COMP_ID_UART_BRIDGE"> |
||
262 | <description/> |
||
263 | </entry> |
||
264 | <entry value="250" name="MAV_COMP_ID_SYSTEM_CONTROL"> |
||
265 | <description/> |
||
266 | </entry> |
||
267 | <entry value="140" name="MAV_COMP_ID_SERVO1"> |
||
268 | <description/> |
||
269 | </entry> |
||
270 | <entry value="141" name="MAV_COMP_ID_SERVO2"> |
||
271 | <description/> |
||
272 | </entry> |
||
273 | <entry value="142" name="MAV_COMP_ID_SERVO3"> |
||
274 | <description/> |
||
275 | </entry> |
||
276 | <entry value="143" name="MAV_COMP_ID_SERVO4"> |
||
277 | <description/> |
||
278 | </entry> |
||
279 | <entry value="144" name="MAV_COMP_ID_SERVO5"> |
||
280 | <description/> |
||
281 | </entry> |
||
282 | <entry value="145" name="MAV_COMP_ID_SERVO6"> |
||
283 | <description/> |
||
284 | </entry> |
||
285 | <entry value="146" name="MAV_COMP_ID_SERVO7"> |
||
286 | <description/> |
||
287 | </entry> |
||
288 | <entry value="147" name="MAV_COMP_ID_SERVO8"> |
||
289 | <description/> |
||
290 | </entry> |
||
291 | <entry value="148" name="MAV_COMP_ID_SERVO9"> |
||
292 | <description/> |
||
293 | </entry> |
||
294 | <entry value="149" name="MAV_COMP_ID_SERVO10"> |
||
295 | <description/> |
||
296 | </entry> |
||
297 | <entry value="150" name="MAV_COMP_ID_SERVO11"> |
||
298 | <description/> |
||
299 | </entry> |
||
300 | <entry value="151" name="MAV_COMP_ID_SERVO12"> |
||
301 | <description/> |
||
302 | </entry> |
||
303 | <entry value="152" name="MAV_COMP_ID_SERVO13"> |
||
304 | <description/> |
||
305 | </entry> |
||
306 | <entry value="153" name="MAV_COMP_ID_SERVO14"> |
||
307 | <description/> |
||
308 | </entry> |
||
309 | </enum> |
||
310 | <enum name="MAV_FRAME"> |
||
311 | <entry value="0" name="MAV_FRAME_GLOBAL"> |
||
312 | <description>Global coordinate frame, WGS84 coordinate system. First value / x: latitude, second value / y: longitude, third value / z: positive altitude over mean sea level (MSL)</description> |
||
313 | </entry> |
||
314 | <entry value="1" name="MAV_FRAME_LOCAL_NED"> |
||
315 | <description>Local coordinate frame, Z-up (x: north, y: east, z: down).</description> |
||
316 | </entry> |
||
317 | <entry value="2" name="MAV_FRAME_MISSION"> |
||
318 | <description>NOT a coordinate frame, indicates a mission command.</description> |
||
319 | </entry> |
||
320 | <entry value="3" name="MAV_FRAME_GLOBAL_RELATIVE_ALT"> |
||
321 | <description>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.</description> |
||
322 | </entry> |
||
323 | <entry value="4" name="MAV_FRAME_LOCAL_ENU"> |
||
324 | <description>Local coordinate frame, Z-down (x: east, y: north, z: up)</description> |
||
325 | </entry> |
||
326 | </enum> |
||
327 | <enum name="MAVLINK_DATA_STREAM_TYPE"> |
||
328 | <entry name="MAVLINK_DATA_STREAM_IMG_JPEG"> |
||
329 | <description/> |
||
330 | </entry> |
||
331 | <entry name="MAVLINK_DATA_STREAM_IMG_BMP"> |
||
332 | <description/> |
||
333 | </entry> |
||
334 | <entry name="MAVLINK_DATA_STREAM_IMG_RAW8U"> |
||
335 | <description/> |
||
336 | </entry> |
||
337 | <entry name="MAVLINK_DATA_STREAM_IMG_RAW32U"> |
||
338 | <description/> |
||
339 | </entry> |
||
340 | <entry name="MAVLINK_DATA_STREAM_IMG_PGM"> |
||
341 | <description/> |
||
342 | </entry> |
||
343 | <entry name="MAVLINK_DATA_STREAM_IMG_PNG"> |
||
344 | <description/> |
||
345 | </entry> |
||
346 | </enum> |
||
347 | <enum name="MAV_CMD"> |
||
348 | <description>Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data.</description> |
||
349 | <entry value="16" name="MAV_CMD_NAV_WAYPOINT"> |
||
350 | <description>Navigate to MISSION.</description> |
||
351 | <param index="1">Hold time in decimal seconds. (ignored by fixed wing, time to stay at MISSION for rotary wing)</param> |
||
352 | <param index="2">Acceptance radius in meters (if the sphere with this radius is hit, the MISSION counts as reached)</param> |
||
353 | <param index="3">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.</param> |
||
354 | <param index="4">Desired yaw angle at MISSION (rotary wing)</param> |
||
355 | <param index="5">Latitude</param> |
||
356 | <param index="6">Longitude</param> |
||
357 | <param index="7">Altitude</param> |
||
358 | </entry> |
||
359 | <entry value="17" name="MAV_CMD_NAV_LOITER_UNLIM"> |
||
360 | <description>Loiter around this MISSION an unlimited amount of time</description> |
||
361 | <param index="1">Empty</param> |
||
362 | <param index="2">Empty</param> |
||
363 | <param index="3">Radius around MISSION, in meters. If positive loiter clockwise, else counter-clockwise</param> |
||
364 | <param index="4">Desired yaw angle.</param> |
||
365 | <param index="5">Latitude</param> |
||
366 | <param index="6">Longitude</param> |
||
367 | <param index="7">Altitude</param> |
||
368 | </entry> |
||
369 | <entry value="18" name="MAV_CMD_NAV_LOITER_TURNS"> |
||
370 | <description>Loiter around this MISSION for X turns</description> |
||
371 | <param index="1">Turns</param> |
||
372 | <param index="2">Empty</param> |
||
373 | <param index="3">Radius around MISSION, in meters. If positive loiter clockwise, else counter-clockwise</param> |
||
374 | <param index="4">Desired yaw angle.</param> |
||
375 | <param index="5">Latitude</param> |
||
376 | <param index="6">Longitude</param> |
||
377 | <param index="7">Altitude</param> |
||
378 | </entry> |
||
379 | <entry value="19" name="MAV_CMD_NAV_LOITER_TIME"> |
||
380 | <description>Loiter around this MISSION for X seconds</description> |
||
381 | <param index="1">Seconds (decimal)</param> |
||
382 | <param index="2">Empty</param> |
||
383 | <param index="3">Radius around MISSION, in meters. If positive loiter clockwise, else counter-clockwise</param> |
||
384 | <param index="4">Desired yaw angle.</param> |
||
385 | <param index="5">Latitude</param> |
||
386 | <param index="6">Longitude</param> |
||
387 | <param index="7">Altitude</param> |
||
388 | </entry> |
||
389 | <entry value="20" name="MAV_CMD_NAV_RETURN_TO_LAUNCH"> |
||
390 | <description>Return to launch location</description> |
||
391 | <param index="1">Empty</param> |
||
392 | <param index="2">Empty</param> |
||
393 | <param index="3">Empty</param> |
||
394 | <param index="4">Empty</param> |
||
395 | <param index="5">Empty</param> |
||
396 | <param index="6">Empty</param> |
||
397 | <param index="7">Empty</param> |
||
398 | </entry> |
||
399 | <entry value="21" name="MAV_CMD_NAV_LAND"> |
||
400 | <description>Land at location</description> |
||
401 | <param index="1">Empty</param> |
||
402 | <param index="2">Empty</param> |
||
403 | <param index="3">Empty</param> |
||
404 | <param index="4">Desired yaw angle.</param> |
||
405 | <param index="5">Latitude</param> |
||
406 | <param index="6">Longitude</param> |
||
407 | <param index="7">Altitude</param> |
||
408 | </entry> |
||
409 | <entry value="22" name="MAV_CMD_NAV_TAKEOFF"> |
||
410 | <description>Takeoff from ground / hand</description> |
||
411 | <param index="1">Minimum pitch (if airspeed sensor present), desired pitch without sensor</param> |
||
412 | <param index="2">Empty</param> |
||
413 | <param index="3">Empty</param> |
||
414 | <param index="4">Yaw angle (if magnetometer present), ignored without magnetometer</param> |
||
415 | <param index="5">Latitude</param> |
||
416 | <param index="6">Longitude</param> |
||
417 | <param index="7">Altitude</param> |
||
418 | </entry> |
||
419 | <entry value="80" name="MAV_CMD_NAV_ROI"> |
||
420 | <description>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.</description> |
||
421 | <param index="1">Region of intereset mode. (see MAV_ROI enum)</param> |
||
422 | <param index="2">MISSION index/ target ID. (see MAV_ROI enum)</param> |
||
423 | <param index="3">ROI index (allows a vehicle to manage multiple ROI's)</param> |
||
424 | <param index="4">Empty</param> |
||
425 | <param index="5">x the location of the fixed ROI (see MAV_FRAME)</param> |
||
426 | <param index="6">y</param> |
||
427 | <param index="7">z</param> |
||
428 | </entry> |
||
429 | <entry value="81" name="MAV_CMD_NAV_PATHPLANNING"> |
||
430 | <description>Control autonomous path planning on the MAV.</description> |
||
431 | <param index="1">0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning</param> |
||
432 | <param index="2">0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid</param> |
||
433 | <param index="3">Empty</param> |
||
434 | <param index="4">Yaw angle at goal, in compass degrees, [0..360]</param> |
||
435 | <param index="5">Latitude/X of goal</param> |
||
436 | <param index="6">Longitude/Y of goal</param> |
||
437 | <param index="7">Altitude/Z of goal</param> |
||
438 | </entry> |
||
439 | <entry value="95" name="MAV_CMD_NAV_LAST"> |
||
440 | <description>NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration</description> |
||
441 | <param index="1">Empty</param> |
||
442 | <param index="2">Empty</param> |
||
443 | <param index="3">Empty</param> |
||
444 | <param index="4">Empty</param> |
||
445 | <param index="5">Empty</param> |
||
446 | <param index="6">Empty</param> |
||
447 | <param index="7">Empty</param> |
||
448 | </entry> |
||
449 | <entry value="112" name="MAV_CMD_CONDITION_DELAY"> |
||
450 | <description>Delay mission state machine.</description> |
||
451 | <param index="1">Delay in seconds (decimal)</param> |
||
452 | <param index="2">Empty</param> |
||
453 | <param index="3">Empty</param> |
||
454 | <param index="4">Empty</param> |
||
455 | <param index="5">Empty</param> |
||
456 | <param index="6">Empty</param> |
||
457 | <param index="7">Empty</param> |
||
458 | </entry> |
||
459 | <entry value="113" name="MAV_CMD_CONDITION_CHANGE_ALT"> |
||
460 | <description>Ascend/descend at rate. Delay mission state machine until desired altitude reached.</description> |
||
461 | <param index="1">Descent / Ascend rate (m/s)</param> |
||
462 | <param index="2">Empty</param> |
||
463 | <param index="3">Empty</param> |
||
464 | <param index="4">Empty</param> |
||
465 | <param index="5">Empty</param> |
||
466 | <param index="6">Empty</param> |
||
467 | <param index="7">Finish Altitude</param> |
||
468 | </entry> |
||
469 | <entry value="114" name="MAV_CMD_CONDITION_DISTANCE"> |
||
470 | <description>Delay mission state machine until within desired distance of next NAV point.</description> |
||
471 | <param index="1">Distance (meters)</param> |
||
472 | <param index="2">Empty</param> |
||
473 | <param index="3">Empty</param> |
||
474 | <param index="4">Empty</param> |
||
475 | <param index="5">Empty</param> |
||
476 | <param index="6">Empty</param> |
||
477 | <param index="7">Empty</param> |
||
478 | </entry> |
||
479 | <entry value="115" name="MAV_CMD_CONDITION_YAW"> |
||
480 | <description>Reach a certain target angle.</description> |
||
481 | <param index="1">target angle: [0-360], 0 is north</param> |
||
482 | <param index="2">speed during yaw change:[deg per second]</param> |
||
483 | <param index="3">direction: negative: counter clockwise, positive: clockwise [-1,1]</param> |
||
484 | <param index="4">relative offset or absolute angle: [ 1,0]</param> |
||
485 | <param index="5">Empty</param> |
||
486 | <param index="6">Empty</param> |
||
487 | <param index="7">Empty</param> |
||
488 | </entry> |
||
489 | <entry value="159" name="MAV_CMD_CONDITION_LAST"> |
||
490 | <description>NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration</description> |
||
491 | <param index="1">Empty</param> |
||
492 | <param index="2">Empty</param> |
||
493 | <param index="3">Empty</param> |
||
494 | <param index="4">Empty</param> |
||
495 | <param index="5">Empty</param> |
||
496 | <param index="6">Empty</param> |
||
497 | <param index="7">Empty</param> |
||
498 | </entry> |
||
499 | <entry value="176" name="MAV_CMD_DO_SET_MODE"> |
||
500 | <description>Set system mode.</description> |
||
501 | <param index="1">Mode, as defined by ENUM MAV_MODE</param> |
||
502 | <param index="2">Empty</param> |
||
503 | <param index="3">Empty</param> |
||
504 | <param index="4">Empty</param> |
||
505 | <param index="5">Empty</param> |
||
506 | <param index="6">Empty</param> |
||
507 | <param index="7">Empty</param> |
||
508 | </entry> |
||
509 | <entry value="177" name="MAV_CMD_DO_JUMP"> |
||
510 | <description>Jump to the desired command in the mission list. Repeat this action only the specified number of times</description> |
||
511 | <param index="1">Sequence number</param> |
||
512 | <param index="2">Repeat count</param> |
||
513 | <param index="3">Empty</param> |
||
514 | <param index="4">Empty</param> |
||
515 | <param index="5">Empty</param> |
||
516 | <param index="6">Empty</param> |
||
517 | <param index="7">Empty</param> |
||
518 | </entry> |
||
519 | <entry value="178" name="MAV_CMD_DO_CHANGE_SPEED"> |
||
520 | <description>Change speed and/or throttle set points.</description> |
||
521 | <param index="1">Speed type (0=Airspeed, 1=Ground Speed)</param> |
||
522 | <param index="2">Speed (m/s, -1 indicates no change)</param> |
||
523 | <param index="3">Throttle ( Percent, -1 indicates no change)</param> |
||
524 | <param index="4">Empty</param> |
||
525 | <param index="5">Empty</param> |
||
526 | <param index="6">Empty</param> |
||
527 | <param index="7">Empty</param> |
||
528 | </entry> |
||
529 | <entry value="179" name="MAV_CMD_DO_SET_HOME"> |
||
530 | <description>Changes the home location either to the current location or a specified location.</description> |
||
531 | <param index="1">Use current (1=use current location, 0=use specified location)</param> |
||
532 | <param index="2">Empty</param> |
||
533 | <param index="3">Empty</param> |
||
534 | <param index="4">Empty</param> |
||
535 | <param index="5">Latitude</param> |
||
536 | <param index="6">Longitude</param> |
||
537 | <param index="7">Altitude</param> |
||
538 | </entry> |
||
539 | <entry value="180" name="MAV_CMD_DO_SET_PARAMETER"> |
||
540 | <description>Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter.</description> |
||
541 | <param index="1">Parameter number</param> |
||
542 | <param index="2">Parameter value</param> |
||
543 | <param index="3">Empty</param> |
||
544 | <param index="4">Empty</param> |
||
545 | <param index="5">Empty</param> |
||
546 | <param index="6">Empty</param> |
||
547 | <param index="7">Empty</param> |
||
548 | </entry> |
||
549 | <entry value="181" name="MAV_CMD_DO_SET_RELAY"> |
||
550 | <description>Set a relay to a condition.</description> |
||
551 | <param index="1">Relay number</param> |
||
552 | <param index="2">Setting (1=on, 0=off, others possible depending on system hardware)</param> |
||
553 | <param index="3">Empty</param> |
||
554 | <param index="4">Empty</param> |
||
555 | <param index="5">Empty</param> |
||
556 | <param index="6">Empty</param> |
||
557 | <param index="7">Empty</param> |
||
558 | </entry> |
||
559 | <entry value="182" name="MAV_CMD_DO_REPEAT_RELAY"> |
||
560 | <description>Cycle a relay on and off for a desired number of cyles with a desired period.</description> |
||
561 | <param index="1">Relay number</param> |
||
562 | <param index="2">Cycle count</param> |
||
563 | <param index="3">Cycle time (seconds, decimal)</param> |
||
564 | <param index="4">Empty</param> |
||
565 | <param index="5">Empty</param> |
||
566 | <param index="6">Empty</param> |
||
567 | <param index="7">Empty</param> |
||
568 | </entry> |
||
569 | <entry value="183" name="MAV_CMD_DO_SET_SERVO"> |
||
570 | <description>Set a servo to a desired PWM value.</description> |
||
571 | <param index="1">Servo number</param> |
||
572 | <param index="2">PWM (microseconds, 1000 to 2000 typical)</param> |
||
573 | <param index="3">Empty</param> |
||
574 | <param index="4">Empty</param> |
||
575 | <param index="5">Empty</param> |
||
576 | <param index="6">Empty</param> |
||
577 | <param index="7">Empty</param> |
||
578 | </entry> |
||
579 | <entry value="184" name="MAV_CMD_DO_REPEAT_SERVO"> |
||
580 | <description>Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period.</description> |
||
581 | <param index="1">Servo number</param> |
||
582 | <param index="2">PWM (microseconds, 1000 to 2000 typical)</param> |
||
583 | <param index="3">Cycle count</param> |
||
584 | <param index="4">Cycle time (seconds)</param> |
||
585 | <param index="5">Empty</param> |
||
586 | <param index="6">Empty</param> |
||
587 | <param index="7">Empty</param> |
||
588 | </entry> |
||
589 | <entry value="200" name="MAV_CMD_DO_CONTROL_VIDEO"> |
||
590 | <description>Control onboard camera system.</description> |
||
591 | <param index="1">Camera ID (-1 for all)</param> |
||
592 | <param index="2">Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw</param> |
||
593 | <param index="3">Transmission mode: 0: video stream, >0: single images every n seconds (decimal)</param> |
||
594 | <param index="4">Recording: 0: disabled, 1: enabled compressed, 2: enabled raw</param> |
||
595 | <param index="5">Empty</param> |
||
596 | <param index="6">Empty</param> |
||
597 | <param index="7">Empty</param> |
||
598 | </entry> |
||
599 | <entry value="240" name="MAV_CMD_DO_LAST"> |
||
600 | <description>NOP - This command is only used to mark the upper limit of the DO commands in the enumeration</description> |
||
601 | <param index="1">Empty</param> |
||
602 | <param index="2">Empty</param> |
||
603 | <param index="3">Empty</param> |
||
604 | <param index="4">Empty</param> |
||
605 | <param index="5">Empty</param> |
||
606 | <param index="6">Empty</param> |
||
607 | <param index="7">Empty</param> |
||
608 | </entry> |
||
609 | <entry value="241" name="MAV_CMD_PREFLIGHT_CALIBRATION"> |
||
610 | <description>Trigger calibration. This command will be only accepted if in pre-flight mode.</description> |
||
611 | <param index="1">Gyro calibration: 0: no, 1: yes</param> |
||
612 | <param index="2">Magnetometer calibration: 0: no, 1: yes</param> |
||
613 | <param index="3">Ground pressure: 0: no, 1: yes</param> |
||
614 | <param index="4">Radio calibration: 0: no, 1: yes</param> |
||
615 | <param index="5">Empty</param> |
||
616 | <param index="6">Empty</param> |
||
617 | <param index="7">Empty</param> |
||
618 | </entry> |
||
619 | <entry value="242" name="MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS"> |
||
620 | <description>Set sensor offsets. This command will be only accepted if in pre-flight mode.</description> |
||
621 | <param index="1">Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow</param> |
||
622 | <param index="2">X axis offset (or generic dimension 1), in the sensor's raw units</param> |
||
623 | <param index="3">Y axis offset (or generic dimension 2), in the sensor's raw units</param> |
||
624 | <param index="4">Z axis offset (or generic dimension 3), in the sensor's raw units</param> |
||
625 | <param index="5">Generic dimension 4, in the sensor's raw units</param> |
||
626 | <param index="6">Generic dimension 5, in the sensor's raw units</param> |
||
627 | <param index="7">Generic dimension 6, in the sensor's raw units</param> |
||
628 | </entry> |
||
629 | <entry value="245" name="MAV_CMD_PREFLIGHT_STORAGE"> |
||
630 | <description>Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.</description> |
||
631 | <param index="1">Parameter storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM</param> |
||
632 | <param index="2">Mission storage: 0: READ FROM FLASH/EEPROM, 1: WRITE CURRENT TO FLASH/EEPROM</param> |
||
633 | <param index="3">Reserved</param> |
||
634 | <param index="4">Reserved</param> |
||
635 | <param index="5">Empty</param> |
||
636 | <param index="6">Empty</param> |
||
637 | <param index="7">Empty</param> |
||
638 | </entry> |
||
639 | <entry value="246" name="MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN"> |
||
640 | <description>Request the reboot or shutdown of system components.</description> |
||
641 | <param index="1">0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot.</param> |
||
642 | <param index="2">0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer.</param> |
||
643 | <param index="3">Reserved</param> |
||
644 | <param index="4">Reserved</param> |
||
645 | <param index="5">Empty</param> |
||
646 | <param index="6">Empty</param> |
||
647 | <param index="7">Empty</param> |
||
648 | </entry> |
||
649 | <entry value="252" name="MAV_CMD_OVERRIDE_GOTO"> |
||
650 | <description>Hold / continue the current action</description> |
||
651 | <param index="1">MAV_GOTO_DO_HOLD: hold MAV_GOTO_DO_CONTINUE: continue with next item in mission plan</param> |
||
652 | <param index="2">MAV_GOTO_HOLD_AT_CURRENT_POSITION: Hold at current position MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position</param> |
||
653 | <param index="3">MAV_FRAME coordinate frame of hold point</param> |
||
654 | <param index="4">Desired yaw angle in degrees</param> |
||
655 | <param index="5">Latitude / X position</param> |
||
656 | <param index="6">Longitude / Y position</param> |
||
657 | <param index="7">Altitude / Z position</param> |
||
658 | </entry> |
||
659 | <entry value="300" name="MAV_CMD_MISSION_START"> |
||
660 | <description>start running a mission</description> |
||
661 | <param index="1">first_item: the first mission item to run</param> |
||
662 | <param index="2">last_item: the last mission item to run (after this item is run, the mission ends)</param> |
||
663 | </entry> |
||
664 | <entry value="400" name="MAV_CMD_COMPONENT_ARM_DISARM"> |
||
665 | <description>Arms / Disarms a component</description> |
||
666 | <param index="1">1 to arm, 0 to disarm</param> |
||
667 | </entry> |
||
668 | </enum> |
||
669 | <enum name="MAV_DATA_STREAM"> |
||
670 | <description>Data stream IDs. A data stream is not a fixed set of messages, but rather a |
||
671 | recommendation to the autopilot software. Individual autopilots may or may not obey |
||
672 | the recommended messages.</description> |
||
673 | <entry value="0" name="MAV_DATA_STREAM_ALL"> |
||
674 | <description>Enable all data streams</description> |
||
675 | </entry> |
||
676 | <entry value="1" name="MAV_DATA_STREAM_RAW_SENSORS"> |
||
677 | <description>Enable IMU_RAW, GPS_RAW, GPS_STATUS packets.</description> |
||
678 | </entry> |
||
679 | <entry value="2" name="MAV_DATA_STREAM_EXTENDED_STATUS"> |
||
680 | <description>Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS</description> |
||
681 | </entry> |
||
682 | <entry value="3" name="MAV_DATA_STREAM_RC_CHANNELS"> |
||
683 | <description>Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW</description> |
||
684 | </entry> |
||
685 | <entry value="4" name="MAV_DATA_STREAM_RAW_CONTROLLER"> |
||
686 | <description>Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT.</description> |
||
687 | </entry> |
||
688 | <entry value="6" name="MAV_DATA_STREAM_POSITION"> |
||
689 | <description>Enable LOCAL_POSITION, GLOBAL_POSITION/GLOBAL_POSITION_INT messages.</description> |
||
690 | </entry> |
||
691 | <entry value="10" name="MAV_DATA_STREAM_EXTRA1"> |
||
692 | <description>Dependent on the autopilot</description> |
||
693 | </entry> |
||
694 | <entry value="11" name="MAV_DATA_STREAM_EXTRA2"> |
||
695 | <description>Dependent on the autopilot</description> |
||
696 | </entry> |
||
697 | <entry value="12" name="MAV_DATA_STREAM_EXTRA3"> |
||
698 | <description>Dependent on the autopilot</description> |
||
699 | </entry> |
||
700 | </enum> |
||
701 | <enum name="MAV_ROI"> |
||
702 | <description> The ROI (region of interest) for the vehicle. This can be |
||
703 | be used by the vehicle for camera/vehicle attitude alignment (see |
||
704 | MAV_CMD_NAV_ROI).</description> |
||
705 | <entry value="0" name="MAV_ROI_NONE"> |
||
706 | <description>No region of interest.</description> |
||
707 | </entry> |
||
708 | <entry value="1" name="MAV_ROI_WPNEXT"> |
||
709 | <description>Point toward next MISSION.</description> |
||
710 | </entry> |
||
711 | <entry value="2" name="MAV_ROI_WPINDEX"> |
||
712 | <description>Point toward given MISSION.</description> |
||
713 | </entry> |
||
714 | <entry value="3" name="MAV_ROI_LOCATION"> |
||
715 | <description>Point toward fixed location.</description> |
||
716 | </entry> |
||
717 | <entry value="4" name="MAV_ROI_TARGET"> |
||
718 | <description>Point toward of given id.</description> |
||
719 | </entry> |
||
720 | </enum> |
||
721 | <enum name="MAV_CMD_ACK"> |
||
722 | <description>ACK / NACK / ERROR values as a result of MAV_CMDs and for mission item transmission.</description> |
||
723 | <entry name="MAV_CMD_ACK_OK"> |
||
724 | <description>Command / mission item is ok.</description> |
||
725 | </entry> |
||
726 | <entry name="MAV_CMD_ACK_ERR_FAIL"> |
||
727 | <description>Generic error message if none of the other reasons fails or if no detailed error reporting is implemented.</description> |
||
728 | </entry> |
||
729 | <entry name="MAV_CMD_ACK_ERR_ACCESS_DENIED"> |
||
730 | <description>The system is refusing to accept this command from this source / communication partner.</description> |
||
731 | </entry> |
||
732 | <entry name="MAV_CMD_ACK_ERR_NOT_SUPPORTED"> |
||
733 | <description>Command or mission item is not supported, other commands would be accepted.</description> |
||
734 | </entry> |
||
735 | <entry name="MAV_CMD_ACK_ERR_COORDINATE_FRAME_NOT_SUPPORTED"> |
||
736 | <description>The coordinate frame of this command / mission item is not supported.</description> |
||
737 | </entry> |
||
738 | <entry name="MAV_CMD_ACK_ERR_COORDINATES_OUT_OF_RANGE"> |
||
739 | <description>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.</description> |
||
740 | </entry> |
||
741 | <entry name="MAV_CMD_ACK_ERR_X_LAT_OUT_OF_RANGE"> |
||
742 | <description>The X or latitude value is out of range.</description> |
||
743 | </entry> |
||
744 | <entry name="MAV_CMD_ACK_ERR_Y_LON_OUT_OF_RANGE"> |
||
745 | <description>The Y or longitude value is out of range.</description> |
||
746 | </entry> |
||
747 | <entry name="MAV_CMD_ACK_ERR_Z_ALT_OUT_OF_RANGE"> |
||
748 | <description>The Z or altitude value is out of range.</description> |
||
749 | </entry> |
||
750 | </enum> |
||
751 | <enum name="MAV_VAR"> |
||
752 | <description>type of a mavlink parameter</description> |
||
753 | <entry value="0" name="MAV_VAR_FLOAT"> |
||
754 | <description>32 bit float</description> |
||
755 | </entry> |
||
756 | <entry value="1" name="MAV_VAR_UINT8"> |
||
757 | <description>8 bit unsigned integer</description> |
||
758 | </entry> |
||
759 | <entry value="2" name="MAV_VAR_INT8"> |
||
760 | <description>8 bit signed integer</description> |
||
761 | </entry> |
||
762 | <entry value="3" name="MAV_VAR_UINT16"> |
||
763 | <description>16 bit unsigned integer</description> |
||
764 | </entry> |
||
765 | <entry value="4" name="MAV_VAR_INT16"> |
||
766 | <description>16 bit signed integer</description> |
||
767 | </entry> |
||
768 | <entry value="5" name="MAV_VAR_UINT32"> |
||
769 | <description>32 bit unsigned integer</description> |
||
770 | </entry> |
||
771 | <entry value="6" name="MAV_VAR_INT32"> |
||
772 | <description>32 bit signed integer</description> |
||
773 | </entry> |
||
774 | </enum> |
||
775 | <enum name="MAV_RESULT"> |
||
776 | <description>result from a mavlink command</description> |
||
777 | <entry value="0" name="MAV_RESULT_ACCEPTED"> |
||
778 | <description>Command ACCEPTED and EXECUTED</description> |
||
779 | </entry> |
||
780 | <entry value="1" name="MAV_RESULT_TEMPORARILY_REJECTED"> |
||
781 | <description>Command TEMPORARY REJECTED/DENIED</description> |
||
782 | </entry> |
||
783 | <entry value="2" name="MAV_RESULT_DENIED"> |
||
784 | <description>Command PERMANENTLY DENIED</description> |
||
785 | </entry> |
||
786 | <entry value="3" name="MAV_RESULT_UNSUPPORTED"> |
||
787 | <description>Command UNKNOWN/UNSUPPORTED</description> |
||
788 | </entry> |
||
789 | <entry value="4" name="MAV_RESULT_FAILED"> |
||
790 | <description>Command executed, but failed</description> |
||
791 | </entry> |
||
792 | </enum> |
||
793 | <enum name="MAV_MISSION_RESULT"> |
||
794 | <description>result in a mavlink mission ack</description> |
||
795 | <entry value="0" name="MAV_MISSION_ACCEPTED"> |
||
796 | <description>mission accepted OK</description> |
||
797 | </entry> |
||
798 | <entry value="1" name="MAV_MISSION_ERROR"> |
||
799 | <description>generic error / not accepting mission commands at all right now</description> |
||
800 | </entry> |
||
801 | <entry value="2" name="MAV_MISSION_UNSUPPORTED_FRAME"> |
||
802 | <description>coordinate frame is not supported</description> |
||
803 | </entry> |
||
804 | <entry value="3" name="MAV_MISSION_UNSUPPORTED"> |
||
805 | <description>command is not supported</description> |
||
806 | </entry> |
||
807 | <entry value="4" name="MAV_MISSION_NO_SPACE"> |
||
808 | <description>mission item exceeds storage space</description> |
||
809 | </entry> |
||
810 | <entry value="5" name="MAV_MISSION_INVALID"> |
||
811 | <description>one of the parameters has an invalid value</description> |
||
812 | </entry> |
||
813 | <entry value="6" name="MAV_MISSION_INVALID_PARAM1"> |
||
814 | <description>param1 has an invalid value</description> |
||
815 | </entry> |
||
816 | <entry value="7" name="MAV_MISSION_INVALID_PARAM2"> |
||
817 | <description>param2 has an invalid value</description> |
||
818 | </entry> |
||
819 | <entry value="8" name="MAV_MISSION_INVALID_PARAM3"> |
||
820 | <description>param3 has an invalid value</description> |
||
821 | </entry> |
||
822 | <entry value="9" name="MAV_MISSION_INVALID_PARAM4"> |
||
823 | <description>param4 has an invalid value</description> |
||
824 | </entry> |
||
825 | <entry value="10" name="MAV_MISSION_INVALID_PARAM5_X"> |
||
826 | <description>x/param5 has an invalid value</description> |
||
827 | </entry> |
||
828 | <entry value="11" name="MAV_MISSION_INVALID_PARAM6_Y"> |
||
829 | <description>y/param6 has an invalid value</description> |
||
830 | </entry> |
||
831 | <entry value="12" name="MAV_MISSION_INVALID_PARAM7"> |
||
832 | <description>param7 has an invalid value</description> |
||
833 | </entry> |
||
834 | <entry value="13" name="MAV_MISSION_INVALID_SEQUENCE"> |
||
835 | <description>received waypoint out of sequence</description> |
||
836 | </entry> |
||
837 | <entry value="14" name="MAV_MISSION_DENIED"> |
||
838 | <description>not accepting any mission commands from this communication partner</description> |
||
839 | </entry> |
||
840 | </enum> |
||
841 | <enum name="MAV_SEVERITY"> |
||
842 | <description>Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.</description> |
||
843 | <entry value="0" name="MAV_SEVERITY_EMERGENCY"> |
||
844 | <description>System is unusable. This is a "panic" condition.</description> |
||
845 | </entry> |
||
846 | <entry value="1" name="MAV_SEVERITY_ALERT"> |
||
847 | <description>Action should be taken immediately. Indicates error in non-critical systems.</description> |
||
848 | </entry> |
||
849 | <entry value="2" name="MAV_SEVERITY_CRITICAL"> |
||
850 | <description>Action must be taken immediately. Indicates failure in a primary system.</description> |
||
851 | </entry> |
||
852 | <entry value="3" name="MAV_SEVERITY_ERROR"> |
||
853 | <description>Indicates an error in secondary/redundant systems.</description> |
||
854 | </entry> |
||
855 | <entry value="4" name="MAV_SEVERITY_WARNING"> |
||
856 | <description>Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.</description> |
||
857 | </entry> |
||
858 | <entry value="5" name="MAV_SEVERITY_NOTICE"> |
||
859 | <description>An unusual event has occured, though not an error condition. This should be investigated for the root cause.</description> |
||
860 | </entry> |
||
861 | <entry value="6" name="MAV_SEVERITY_INFO"> |
||
862 | <description>Normal operational messages. Useful for logging. No action is required for these messages.</description> |
||
863 | </entry> |
||
864 | <entry value="7" name="MAV_SEVERITY_DEBUG"> |
||
865 | <description>Useful non-operational messages that can assist in debugging. These should not occur during normal operation.</description> |
||
866 | </entry> |
||
867 | </enum> |
||
868 | </enums> |
||
869 | <messages> |
||
870 | <message id="0" name="HEARTBEAT"> |
||
871 | <description>The heartbeat message shows that a system is present and responding. The type of the MAV and Autopilot hardware allow the receiving system to treat further messages from this system appropriate (e.g. by laying out the user interface based on the autopilot).</description> |
||
872 | <field type="uint8_t" name="type">Type of the MAV (quadrotor, helicopter, etc., up to 15 types, defined in MAV_TYPE ENUM)</field> |
||
873 | <field type="uint8_t" name="autopilot">Autopilot type / class. defined in MAV_AUTOPILOT ENUM</field> |
||
874 | <field type="uint8_t" name="base_mode">System mode bitfield, see MAV_MODE_FLAGS ENUM in mavlink/include/mavlink_types.h</field> |
||
875 | <field type="uint32_t" name="custom_mode">A bitfield for use for autopilot-specific flags.</field> |
||
876 | <field type="uint8_t" name="system_status">System status flag, see MAV_STATE ENUM</field> |
||
877 | <field type="uint8_t_mavlink_version" name="mavlink_version">MAVLink version, not writable by user, gets added by protocol because of magic data type: uint8_t_mavlink_version</field> |
||
878 | </message> |
||
879 | <message id="1" name="SYS_STATUS"> |
||
880 | <description>The general system state. If the system is following the MAVLink standard, the system state is mainly defined by three orthogonal states/modes: The system mode, which is either LOCKED (motors shut down and locked), MANUAL (system under RC control), GUIDED (system with autonomous position control, position setpoint controlled manually) or AUTO (system guided by path/waypoint planner). The NAV_MODE defined the current flight state: LIFTOFF (often an open-loop maneuver), LANDING, WAYPOINTS or VECTOR. This represents the internal navigation state machine. The system status shows wether the system is currently active or not and if an emergency occured. During the CRITICAL and EMERGENCY states the MAV is still considered to be active, but should start emergency procedures autonomously. After a failure occured it should first move from active to critical to allow manual intervention and then move to emergency after a certain timeout.</description> |
||
881 | <field type="uint32_t" name="onboard_control_sensors_present" print_format="0x%04x">Bitmask showing which onboard controllers and sensors are present. Value of 0: not present. Value of 1: present. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control</field> |
||
882 | <field type="uint32_t" name="onboard_control_sensors_enabled" print_format="0x%04x">Bitmask showing which onboard controllers and sensors are enabled: Value of 0: not enabled. Value of 1: enabled. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control</field> |
||
883 | <field type="uint32_t" name="onboard_control_sensors_health" print_format="0x%04x">Bitmask showing which onboard controllers and sensors are operational or have an error: Value of 0: not enabled. Value of 1: enabled. Indices: 0: 3D gyro, 1: 3D acc, 2: 3D mag, 3: absolute pressure, 4: differential pressure, 5: GPS, 6: optical flow, 7: computer vision position, 8: laser based position, 9: external ground-truth (Vicon or Leica). Controllers: 10: 3D angular rate control 11: attitude stabilization, 12: yaw position, 13: z/altitude control, 14: x/y position control, 15: motor outputs / control</field> |
||
884 | <field type="uint16_t" name="load">Maximum usage in percent of the mainloop time, (0%: 0, 100%: 1000) should be always below 1000</field> |
||
885 | <field type="uint16_t" name="voltage_battery">Battery voltage, in millivolts (1 = 1 millivolt)</field> |
||
886 | <field type="int16_t" name="current_battery">Battery current, in 10*milliamperes (1 = 10 milliampere), -1: autopilot does not measure the current</field> |
||
887 | <field type="int8_t" name="battery_remaining">Remaining battery energy: (0%: 0, 100%: 100), -1: autopilot estimate the remaining battery</field> |
||
888 | <field type="uint16_t" name="drop_rate_comm">Communication drops in percent, (0%: 0, 100%: 10'000), (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)</field> |
||
889 | <field type="uint16_t" name="errors_comm">Communication errors (UART, I2C, SPI, CAN), dropped packets on all links (packets that were corrupted on reception on the MAV)</field> |
||
890 | <field type="uint16_t" name="errors_count1">Autopilot-specific errors</field> |
||
891 | <field type="uint16_t" name="errors_count2">Autopilot-specific errors</field> |
||
892 | <field type="uint16_t" name="errors_count3">Autopilot-specific errors</field> |
||
893 | <field type="uint16_t" name="errors_count4">Autopilot-specific errors</field> |
||
894 | </message> |
||
895 | <message id="2" name="SYSTEM_TIME"> |
||
896 | <description>The system time is the time of the master clock, typically the computer clock of the main onboard computer.</description> |
||
897 | <field type="uint64_t" name="time_unix_usec">Timestamp of the master clock in microseconds since UNIX epoch.</field> |
||
898 | <field type="uint32_t" name="time_boot_ms">Timestamp of the component clock since boot time in milliseconds.</field> |
||
899 | </message> |
||
900 | <!-- FIXME to be removed / merged with SYSTEM_TIME --> |
||
901 | <message id="4" name="PING"> |
||
902 | <description>A ping message either requesting or responding to a ping. This allows to measure the system latencies, including serial port, radio modem and UDP connections.</description> |
||
903 | <field type="uint64_t" name="time_usec">Unix timestamp in microseconds</field> |
||
904 | <field type="uint32_t" name="seq">PING sequence</field> |
||
905 | <field type="uint8_t" name="target_system">0: request ping from all receiving systems, if greater than 0: message is a ping response and number is the system id of the requesting system</field> |
||
906 | <field type="uint8_t" name="target_component">0: request ping from all receiving components, if greater than 0: message is a ping response and number is the system id of the requesting system</field> |
||
907 | </message> |
||
908 | <message id="5" name="CHANGE_OPERATOR_CONTROL"> |
||
909 | <description>Request to control this MAV</description> |
||
910 | <field type="uint8_t" name="target_system">System the GCS requests control for</field> |
||
911 | <field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field> |
||
912 | <field type="uint8_t" name="version">0: key as plaintext, 1-255: future, different hashing/encryption variants. The GCS should in general use the safest mode possible initially and then gradually move down the encryption level if it gets a NACK message indicating an encryption mismatch.</field> |
||
913 | <field type="char[25]" name="passkey">Password / Key, depending on version plaintext or encrypted. 25 or less characters, NULL terminated. The characters may involve A-Z, a-z, 0-9, and "!?,.-"</field> |
||
914 | </message> |
||
915 | <message id="6" name="CHANGE_OPERATOR_CONTROL_ACK"> |
||
916 | <description>Accept / deny control of this MAV</description> |
||
917 | <field type="uint8_t" name="gcs_system_id">ID of the GCS this message </field> |
||
918 | <field type="uint8_t" name="control_request">0: request control of this MAV, 1: Release control of this MAV</field> |
||
919 | <field type="uint8_t" name="ack">0: ACK, 1: NACK: Wrong passkey, 2: NACK: Unsupported passkey encryption method, 3: NACK: Already under control</field> |
||
920 | </message> |
||
921 | <message id="7" name="AUTH_KEY"> |
||
922 | <description>Emit an encrypted signature / key identifying this system. PLEASE NOTE: This protocol has been kept simple, so transmitting the key requires an encrypted channel for true safety.</description> |
||
923 | <field type="char[32]" name="key">key</field> |
||
924 | </message> |
||
925 | <message id="11" name="SET_MODE"> |
||
926 | <description>Set the system mode, as defined by enum MAV_MODE. There is no target component id as the mode is by definition for the overall aircraft, not only for one component.</description> |
||
927 | <field type="uint8_t" name="target_system">The system setting the mode</field> |
||
928 | <field type="uint8_t" name="base_mode">The new base mode</field> |
||
929 | <field type="uint32_t" name="custom_mode">The new autopilot-specific mode. This field can be ignored by an autopilot.</field> |
||
930 | </message> |
||
931 | <message id="20" name="PARAM_REQUEST_READ"> |
||
932 | <description>Request to read the onboard parameter with the param_id string id. Onboard parameters are stored as key[const char*] -> value[float]. This allows to send a parameter to any other component (such as the GCS) without the need of previous knowledge of possible parameter names. Thus the same GCS can store different parameters for different autopilots. See also http://qgroundcontrol.org/parameter_interface for a full documentation of QGroundControl and IMU code.</description> |
||
933 | <field type="uint8_t" name="target_system">System ID</field> |
||
934 | <field type="uint8_t" name="target_component">Component ID</field> |
||
935 | <field type="char[16]" name="param_id">Onboard parameter id</field> |
||
936 | <field type="int16_t" name="param_index">Parameter index. Send -1 to use the param ID field as identifier</field> |
||
937 | </message> |
||
938 | <message id="21" name="PARAM_REQUEST_LIST"> |
||
939 | <description>Request all parameters of this component. After his request, all parameters are emitted.</description> |
||
940 | <field type="uint8_t" name="target_system">System ID</field> |
||
941 | <field type="uint8_t" name="target_component">Component ID</field> |
||
942 | </message> |
||
943 | <message id="22" name="PARAM_VALUE"> |
||
944 | <description>Emit the value of a onboard parameter. The inclusion of param_count and param_index in the message allows the recipient to keep track of received parameters and allows him to re-request missing parameters after a loss or timeout.</description> |
||
945 | <field type="char[16]" name="param_id">Onboard parameter id</field> |
||
946 | <field type="float" name="param_value">Onboard parameter value</field> |
||
947 | <field type="uint8_t" name="param_type">Onboard parameter type: see MAV_VAR enum</field> |
||
948 | <field type="uint16_t" name="param_count">Total number of onboard parameters</field> |
||
949 | <field type="uint16_t" name="param_index">Index of this onboard parameter</field> |
||
950 | </message> |
||
951 | <message id="23" name="PARAM_SET"> |
||
952 | <description>Set a parameter value TEMPORARILY to RAM. It will be reset to default on system reboot. Send the ACTION MAV_ACTION_STORAGE_WRITE to PERMANENTLY write the RAM contents to EEPROM. IMPORTANT: The receiving component should acknowledge the new parameter value by sending a param_value message to all communication partners. This will also ensure that multiple GCS all have an up-to-date list of all parameters. If the sending GCS did not receive a PARAM_VALUE message within its timeout time, it should re-send the PARAM_SET message.</description> |
||
953 | <field type="uint8_t" name="target_system">System ID</field> |
||
954 | <field type="uint8_t" name="target_component">Component ID</field> |
||
955 | <field type="char[16]" name="param_id">Onboard parameter id</field> |
||
956 | <field type="float" name="param_value">Onboard parameter value</field> |
||
957 | <field type="uint8_t" name="param_type">Onboard parameter type: see MAV_VAR enum</field> |
||
958 | </message> |
||
959 | <message id="24" name="GPS_RAW_INT"> |
||
960 | <description>The global position, as returned by the Global Positioning System (GPS). This is |
||
961 | NOT the global position estimate of the sytem, but rather a RAW sensor value. See message GLOBAL_POSITION for the global position estimate. Coordinate frame is right-handed, Z-axis up (GPS frame).</description> |
||
962 | <field type="uint64_t" name="time_usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
963 | <field type="uint8_t" name="fix_type">0-1: no fix, 2: 2D fix, 3: 3D fix. Some applications will not use the value of this field unless it is at least two, so always correctly fill in the fix.</field> |
||
964 | <field type="int32_t" name="lat">Latitude in 1E7 degrees</field> |
||
965 | <field type="int32_t" name="lon">Longitude in 1E7 degrees</field> |
||
966 | <field type="int32_t" name="alt">Altitude in 1E3 meters (millimeters) above MSL</field> |
||
967 | <field type="uint16_t" name="eph">GPS HDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535</field> |
||
968 | <field type="uint16_t" name="epv">GPS VDOP horizontal dilution of position in cm (m*100). If unknown, set to: 65535</field> |
||
969 | <field type="uint16_t" name="vel">GPS ground speed (m/s * 100). If unknown, set to: 65535</field> |
||
970 | <field type="uint16_t" name="cog">Course over ground (NOT heading, but direction of movement) in degrees * 100, 0.0..359.99 degrees. If unknown, set to: 65535</field> |
||
971 | <field type="uint8_t" name="satellites_visible">Number of satellites visible. If unknown, set to 255</field> |
||
972 | </message> |
||
973 | <message id="25" name="GPS_STATUS"> |
||
974 | <description>The positioning status, as reported by GPS. This message is intended to display status information about each satellite visible to the receiver. See message GLOBAL_POSITION for the global position estimate. This message can contain information for up to 20 satellites.</description> |
||
975 | <field type="uint8_t" name="satellites_visible">Number of satellites visible</field> |
||
976 | <field type="uint8_t[20]" name="satellite_prn">Global satellite ID</field> |
||
977 | <field type="uint8_t[20]" name="satellite_used">0: Satellite not used, 1: used for localization</field> |
||
978 | <field type="uint8_t[20]" name="satellite_elevation">Elevation (0: right on top of receiver, 90: on the horizon) of satellite</field> |
||
979 | <field type="uint8_t[20]" name="satellite_azimuth">Direction of satellite, 0: 0 deg, 255: 360 deg.</field> |
||
980 | <field type="uint8_t[20]" name="satellite_snr">Signal to noise ratio of satellite</field> |
||
981 | </message> |
||
982 | <message id="26" name="SCALED_IMU"> |
||
983 | <description>The RAW IMU readings for the usual 9DOF sensor setup. This message should contain the scaled values to the described units</description> |
||
984 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
985 | <field type="int16_t" name="xacc">X acceleration (mg)</field> |
||
986 | <field type="int16_t" name="yacc">Y acceleration (mg)</field> |
||
987 | <field type="int16_t" name="zacc">Z acceleration (mg)</field> |
||
988 | <field type="int16_t" name="xgyro">Angular speed around X axis (millirad /sec)</field> |
||
989 | <field type="int16_t" name="ygyro">Angular speed around Y axis (millirad /sec)</field> |
||
990 | <field type="int16_t" name="zgyro">Angular speed around Z axis (millirad /sec)</field> |
||
991 | <field type="int16_t" name="xmag">X Magnetic field (milli tesla)</field> |
||
992 | <field type="int16_t" name="ymag">Y Magnetic field (milli tesla)</field> |
||
993 | <field type="int16_t" name="zmag">Z Magnetic field (milli tesla)</field> |
||
994 | </message> |
||
995 | <message id="27" name="RAW_IMU"> |
||
996 | <description>The RAW IMU readings for the usual 9DOF sensor setup. This message should always contain the true raw values without any scaling to allow data capture and system debugging.</description> |
||
997 | <field type="uint64_t" name="time_usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
998 | <field type="int16_t" name="xacc">X acceleration (raw)</field> |
||
999 | <field type="int16_t" name="yacc">Y acceleration (raw)</field> |
||
1000 | <field type="int16_t" name="zacc">Z acceleration (raw)</field> |
||
1001 | <field type="int16_t" name="xgyro">Angular speed around X axis (raw)</field> |
||
1002 | <field type="int16_t" name="ygyro">Angular speed around Y axis (raw)</field> |
||
1003 | <field type="int16_t" name="zgyro">Angular speed around Z axis (raw)</field> |
||
1004 | <field type="int16_t" name="xmag">X Magnetic field (raw)</field> |
||
1005 | <field type="int16_t" name="ymag">Y Magnetic field (raw)</field> |
||
1006 | <field type="int16_t" name="zmag">Z Magnetic field (raw)</field> |
||
1007 | </message> |
||
1008 | <message id="28" name="RAW_PRESSURE"> |
||
1009 | <description>The RAW pressure readings for the typical setup of one absolute pressure and one differential pressure sensor. The sensor values should be the raw, UNSCALED ADC values.</description> |
||
1010 | <field type="uint64_t" name="time_usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
1011 | <field type="int16_t" name="press_abs">Absolute pressure (raw)</field> |
||
1012 | <field type="int16_t" name="press_diff1">Differential pressure 1 (raw)</field> |
||
1013 | <field type="int16_t" name="press_diff2">Differential pressure 2 (raw)</field> |
||
1014 | <field type="int16_t" name="temperature">Raw Temperature measurement (raw)</field> |
||
1015 | </message> |
||
1016 | <message id="29" name="SCALED_PRESSURE"> |
||
1017 | <description>The pressure readings for the typical setup of one absolute and differential pressure sensor. The units are as specified in each field.</description> |
||
1018 | <field type="uint32_t" name="time_boot_ms">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
1019 | <field type="float" name="press_abs">Absolute pressure (hectopascal)</field> |
||
1020 | <field type="float" name="press_diff">Differential pressure 1 (hectopascal)</field> |
||
1021 | <field type="int16_t" name="temperature">Temperature measurement (0.01 degrees celsius)</field> |
||
1022 | </message> |
||
1023 | <message id="30" name="ATTITUDE"> |
||
1024 | <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right).</description> |
||
1025 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1026 | <field type="float" name="roll">Roll angle (rad)</field> |
||
1027 | <field type="float" name="pitch">Pitch angle (rad)</field> |
||
1028 | <field type="float" name="yaw">Yaw angle (rad)</field> |
||
1029 | <field type="float" name="rollspeed">Roll angular speed (rad/s)</field> |
||
1030 | <field type="float" name="pitchspeed">Pitch angular speed (rad/s)</field> |
||
1031 | <field type="float" name="yawspeed">Yaw angular speed (rad/s)</field> |
||
1032 | </message> |
||
1033 | <message id="31" name="ATTITUDE_QUATERNION"> |
||
1034 | <description>The attitude in the aeronautical frame (right-handed, Z-down, X-front, Y-right), expressed as quaternion.</description> |
||
1035 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1036 | <field type="float" name="q1">Quaternion component 1</field> |
||
1037 | <field type="float" name="q2">Quaternion component 2</field> |
||
1038 | <field type="float" name="q3">Quaternion component 3</field> |
||
1039 | <field type="float" name="q4">Quaternion component 4</field> |
||
1040 | <field type="float" name="rollspeed">Roll angular speed (rad/s)</field> |
||
1041 | <field type="float" name="pitchspeed">Pitch angular speed (rad/s)</field> |
||
1042 | <field type="float" name="yawspeed">Yaw angular speed (rad/s)</field> |
||
1043 | </message> |
||
1044 | <message id="32" name="LOCAL_POSITION_NED"> |
||
1045 | <description>The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)</description> |
||
1046 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1047 | <field type="float" name="x">X Position</field> |
||
1048 | <field type="float" name="y">Y Position</field> |
||
1049 | <field type="float" name="z">Z Position</field> |
||
1050 | <field type="float" name="vx">X Speed</field> |
||
1051 | <field type="float" name="vy">Y Speed</field> |
||
1052 | <field type="float" name="vz">Z Speed</field> |
||
1053 | </message> |
||
1054 | <message id="33" name="GLOBAL_POSITION_INT"> |
||
1055 | <description>The filtered global position (e.g. fused GPS and accelerometers). The position is in GPS-frame (right-handed, Z-up). It |
||
1056 | is designed as scaled integer message since the resolution of float is not sufficient.</description> |
||
1057 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1058 | <field type="int32_t" name="lat">Latitude, expressed as * 1E7</field> |
||
1059 | <field type="int32_t" name="lon">Longitude, expressed as * 1E7</field> |
||
1060 | <field type="int32_t" name="alt">Altitude in meters, expressed as * 1000 (millimeters), above MSL</field> |
||
1061 | <field type="int32_t" name="relative_alt">Altitude above ground in meters, expressed as * 1000 (millimeters)</field> |
||
1062 | <field type="int16_t" name="vx">Ground X Speed (Latitude), expressed as m/s * 100</field> |
||
1063 | <field type="int16_t" name="vy">Ground Y Speed (Longitude), expressed as m/s * 100</field> |
||
1064 | <field type="int16_t" name="vz">Ground Z Speed (Altitude), expressed as m/s * 100</field> |
||
1065 | <field type="uint16_t" name="hdg">Compass heading in degrees * 100, 0.0..359.99 degrees. If unknown, set to: 65535</field> |
||
1066 | </message> |
||
1067 | <message id="34" name="RC_CHANNELS_SCALED"> |
||
1068 | <description>The scaled values of the RC channels received. (-100%) -10000, (0%) 0, (100%) 10000</description> |
||
1069 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1070 | <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos.</field> |
||
1071 | <field type="int16_t" name="chan1_scaled">RC channel 1 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1072 | <field type="int16_t" name="chan2_scaled">RC channel 2 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1073 | <field type="int16_t" name="chan3_scaled">RC channel 3 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1074 | <field type="int16_t" name="chan4_scaled">RC channel 4 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1075 | <field type="int16_t" name="chan5_scaled">RC channel 5 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1076 | <field type="int16_t" name="chan6_scaled">RC channel 6 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1077 | <field type="int16_t" name="chan7_scaled">RC channel 7 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1078 | <field type="int16_t" name="chan8_scaled">RC channel 8 value scaled, (-100%) -10000, (0%) 0, (100%) 10000</field> |
||
1079 | <field type="uint8_t" name="rssi">Receive signal strength indicator, 0: 0%, 255: 100%</field> |
||
1080 | </message> |
||
1081 | <message id="35" name="RC_CHANNELS_RAW"> |
||
1082 | <description>The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description> |
||
1083 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1084 | <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos.</field> |
||
1085 | <field type="uint16_t" name="chan1_raw">RC channel 1 value, in microseconds</field> |
||
1086 | <field type="uint16_t" name="chan2_raw">RC channel 2 value, in microseconds</field> |
||
1087 | <field type="uint16_t" name="chan3_raw">RC channel 3 value, in microseconds</field> |
||
1088 | <field type="uint16_t" name="chan4_raw">RC channel 4 value, in microseconds</field> |
||
1089 | <field type="uint16_t" name="chan5_raw">RC channel 5 value, in microseconds</field> |
||
1090 | <field type="uint16_t" name="chan6_raw">RC channel 6 value, in microseconds</field> |
||
1091 | <field type="uint16_t" name="chan7_raw">RC channel 7 value, in microseconds</field> |
||
1092 | <field type="uint16_t" name="chan8_raw">RC channel 8 value, in microseconds</field> |
||
1093 | <field type="uint8_t" name="rssi">Receive signal strength indicator, 0: 0%, 255: 100%</field> |
||
1094 | </message> |
||
1095 | <message id="36" name="SERVO_OUTPUT_RAW"> |
||
1096 | <description>The RAW values of the servo outputs (for RC input from the remote, use the RC_CHANNELS messages). The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%.</description> |
||
1097 | <field type="uint32_t" name="time_usec">Timestamp (since UNIX epoch or microseconds since system boot)</field> |
||
1098 | <field type="uint8_t" name="port">Servo output port (set of 8 outputs = 1 port). Most MAVs will just use one, but this allows to encode more than 8 servos.</field> |
||
1099 | <field type="uint16_t" name="servo1_raw">Servo output 1 value, in microseconds</field> |
||
1100 | <field type="uint16_t" name="servo2_raw">Servo output 2 value, in microseconds</field> |
||
1101 | <field type="uint16_t" name="servo3_raw">Servo output 3 value, in microseconds</field> |
||
1102 | <field type="uint16_t" name="servo4_raw">Servo output 4 value, in microseconds</field> |
||
1103 | <field type="uint16_t" name="servo5_raw">Servo output 5 value, in microseconds</field> |
||
1104 | <field type="uint16_t" name="servo6_raw">Servo output 6 value, in microseconds</field> |
||
1105 | <field type="uint16_t" name="servo7_raw">Servo output 7 value, in microseconds</field> |
||
1106 | <field type="uint16_t" name="servo8_raw">Servo output 8 value, in microseconds</field> |
||
1107 | </message> |
||
1108 | <message id="37" name="MISSION_REQUEST_PARTIAL_LIST"> |
||
1109 | <description>Request the overall list of MISSIONs from the system/component. http://qgroundcontrol.org/mavlink/waypoint_protocol</description> |
||
1110 | <field type="uint8_t" name="target_system">System ID</field> |
||
1111 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1112 | <field type="int16_t" name="start_index">Start index, 0 by default</field> |
||
1113 | <field type="int16_t" name="end_index">End index, -1 by default (-1: send list to end). Else a valid index of the list</field> |
||
1114 | </message> |
||
1115 | <message id="38" name="MISSION_WRITE_PARTIAL_LIST"> |
||
1116 | <description>This message is sent to the MAV to write a partial list. If start index == end index, only one item will be transmitted / updated. If the start index is NOT 0 and above the current list size, this request should be REJECTED!</description> |
||
1117 | <field type="uint8_t" name="target_system">System ID</field> |
||
1118 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1119 | <field type="int16_t" name="start_index">Start index, 0 by default and smaller / equal to the largest index of the current onboard list.</field> |
||
1120 | <field type="int16_t" name="end_index">End index, equal or greater than start index.</field> |
||
1121 | </message> |
||
1122 | <message id="39" name="MISSION_ITEM"> |
||
1123 | <description>Message encoding a mission item. This message is emitted to announce |
||
1124 | the presence of a mission item and to set a mission item on the system. The mission item can be either in x, y, z meters (type: LOCAL) or x:lat, y:lon, z:altitude. Local frame is Z-down, right handed (NED), global frame is Z-up, right handed (ENU). See also http://qgroundcontrol.org/mavlink/waypoint_protocol.</description> |
||
1125 | <field type="uint8_t" name="target_system">System ID</field> |
||
1126 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1127 | <field type="uint16_t" name="seq">Sequence</field> |
||
1128 | <field type="uint8_t" name="frame">The coordinate system of the MISSION. see MAV_FRAME in mavlink_types.h</field> |
||
1129 | <field type="uint16_t" name="command">The scheduled action for the MISSION. see MAV_CMD in common.xml MAVLink specs</field> |
||
1130 | <field type="uint8_t" name="current">false:0, true:1</field> |
||
1131 | <field type="uint8_t" name="autocontinue">autocontinue to next wp</field> |
||
1132 | <field type="float" name="param1">PARAM1 / For NAV command MISSIONs: Radius in which the MISSION is accepted as reached, in meters</field> |
||
1133 | <field type="float" name="param2">PARAM2 / For NAV command MISSIONs: Time that the MAV should stay inside the PARAM1 radius before advancing, in milliseconds</field> |
||
1134 | <field type="float" name="param3">PARAM3 / For LOITER command MISSIONs: Orbit to circle around the MISSION, in meters. If positive the orbit direction should be clockwise, if negative the orbit direction should be counter-clockwise.</field> |
||
1135 | <field type="float" name="param4">PARAM4 / For NAV and LOITER command MISSIONs: Yaw orientation in degrees, [0..360] 0 = NORTH</field> |
||
1136 | <field type="float" name="x">PARAM5 / local: x position, global: latitude</field> |
||
1137 | <field type="float" name="y">PARAM6 / y position: global: longitude</field> |
||
1138 | <field type="float" name="z">PARAM7 / z position: global: altitude</field> |
||
1139 | </message> |
||
1140 | <message id="40" name="MISSION_REQUEST"> |
||
1141 | <description>Request the information of the mission item with the sequence number seq. The response of the system to this message should be a MISSION_ITEM message. http://qgroundcontrol.org/mavlink/waypoint_protocol</description> |
||
1142 | <field type="uint8_t" name="target_system">System ID</field> |
||
1143 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1144 | <field type="uint16_t" name="seq">Sequence</field> |
||
1145 | </message> |
||
1146 | <message id="41" name="MISSION_SET_CURRENT"> |
||
1147 | <description>Set the mission item with sequence number seq as current item. This means that the MAV will continue to this mission item on the shortest path (not following the mission items in-between).</description> |
||
1148 | <field type="uint8_t" name="target_system">System ID</field> |
||
1149 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1150 | <field type="uint16_t" name="seq">Sequence</field> |
||
1151 | </message> |
||
1152 | <message id="42" name="MISSION_CURRENT"> |
||
1153 | <description>Message that announces the sequence number of the current active mission item. The MAV will fly towards this mission item.</description> |
||
1154 | <field type="uint16_t" name="seq">Sequence</field> |
||
1155 | </message> |
||
1156 | <message id="43" name="MISSION_REQUEST_LIST"> |
||
1157 | <description>Request the overall list of mission items from the system/component.</description> |
||
1158 | <field type="uint8_t" name="target_system">System ID</field> |
||
1159 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1160 | </message> |
||
1161 | <message id="44" name="MISSION_COUNT"> |
||
1162 | <description>This message is emitted as response to MISSION_REQUEST_LIST by the MAV and to initiate a write transaction. The GCS can then request the individual mission item based on the knowledge of the total number of MISSIONs.</description> |
||
1163 | <field type="uint8_t" name="target_system">System ID</field> |
||
1164 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1165 | <field type="uint16_t" name="count">Number of mission items in the sequence</field> |
||
1166 | </message> |
||
1167 | <message id="45" name="MISSION_CLEAR_ALL"> |
||
1168 | <description>Delete all mission items at once.</description> |
||
1169 | <field type="uint8_t" name="target_system">System ID</field> |
||
1170 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1171 | </message> |
||
1172 | <message id="46" name="MISSION_ITEM_REACHED"> |
||
1173 | <description>A certain mission item has been reached. The system will either hold this position (or circle on the orbit) or (if the autocontinue on the WP was set) continue to the next MISSION.</description> |
||
1174 | <field type="uint16_t" name="seq">Sequence</field> |
||
1175 | </message> |
||
1176 | <message id="47" name="MISSION_ACK"> |
||
1177 | <description>Ack message during MISSION handling. The type field states if this message is a positive ack (type=0) or if an error happened (type=non-zero).</description> |
||
1178 | <field type="uint8_t" name="target_system">System ID</field> |
||
1179 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1180 | <field type="uint8_t" name="type">See MAV_MISSION_RESULT enum</field> |
||
1181 | </message> |
||
1182 | <message id="48" name="SET_GPS_GLOBAL_ORIGIN"> |
||
1183 | <description>As local MISSIONs exist, the global MISSION reference allows to transform between the local coordinate frame and the global (GPS) coordinate frame. This can be necessary when e.g. in- and outdoor settings are connected and the MAV should move from in- to outdoor.</description> |
||
1184 | <field type="uint8_t" name="target_system">System ID</field> |
||
1185 | <field type="int32_t" name="latitude">global position * 1E7</field> |
||
1186 | <field type="int32_t" name="longitude">global position * 1E7</field> |
||
1187 | <field type="int32_t" name="altitude">global position * 1000</field> |
||
1188 | </message> |
||
1189 | <message id="49" name="GPS_GLOBAL_ORIGIN"> |
||
1190 | <description>Once the MAV sets a new GPS-Local correspondence, this message announces the origin (0,0,0) position</description> |
||
1191 | <field type="int32_t" name="latitude">Latitude (WGS84), expressed as * 1E7</field> |
||
1192 | <field type="int32_t" name="longitude">Longitude (WGS84), expressed as * 1E7</field> |
||
1193 | <field type="int32_t" name="altitude">Altitude(WGS84), expressed as * 1000</field> |
||
1194 | </message> |
||
1195 | <message id="50" name="SET_LOCAL_POSITION_SETPOINT"> |
||
1196 | <description>Set the setpoint for a local position controller. This is the position in local coordinates the MAV should fly to. This message is sent by the path/MISSION planner to the onboard position controller. As some MAVs have a degree of freedom in yaw (e.g. all helicopters/quadrotors), the desired yaw angle is part of the message.</description> |
||
1197 | <field type="uint8_t" name="target_system">System ID</field> |
||
1198 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1199 | <field type="uint8_t" name="coordinate_frame">Coordinate frame - valid values are only MAV_FRAME_LOCAL_NED or MAV_FRAME_LOCAL_ENU</field> |
||
1200 | <field type="float" name="x">x position</field> |
||
1201 | <field type="float" name="y">y position</field> |
||
1202 | <field type="float" name="z">z position</field> |
||
1203 | <field type="float" name="yaw">Desired yaw angle</field> |
||
1204 | </message> |
||
1205 | <message id="51" name="LOCAL_POSITION_SETPOINT"> |
||
1206 | <description>Transmit the current local setpoint of the controller to other MAVs (collision avoidance) and to the GCS.</description> |
||
1207 | <field type="uint8_t" name="coordinate_frame">Coordinate frame - valid values are only MAV_FRAME_LOCAL_NED or MAV_FRAME_LOCAL_ENU</field> |
||
1208 | <field type="float" name="x">x position</field> |
||
1209 | <field type="float" name="y">y position</field> |
||
1210 | <field type="float" name="z">z position</field> |
||
1211 | <field type="float" name="yaw">Desired yaw angle</field> |
||
1212 | </message> |
||
1213 | <message id="52" name="GLOBAL_POSITION_SETPOINT_INT"> |
||
1214 | <description>Transmit the current local setpoint of the controller to other MAVs (collision avoidance) and to the GCS.</description> |
||
1215 | <field type="uint8_t" name="coordinate_frame">Coordinate frame - valid values are only MAV_FRAME_GLOBAL or MAV_FRAME_GLOBAL_RELATIVE_ALT</field> |
||
1216 | <field type="int32_t" name="latitude">WGS84 Latitude position in degrees * 1E7</field> |
||
1217 | <field type="int32_t" name="longitude">WGS84 Longitude position in degrees * 1E7</field> |
||
1218 | <field type="int32_t" name="altitude">WGS84 Altitude in meters * 1000 (positive for up)</field> |
||
1219 | <field type="int16_t" name="yaw">Desired yaw angle in degrees * 100</field> |
||
1220 | </message> |
||
1221 | <message id="53" name="SET_GLOBAL_POSITION_SETPOINT_INT"> |
||
1222 | <description>Set the current global position setpoint.</description> |
||
1223 | <field type="uint8_t" name="coordinate_frame">Coordinate frame - valid values are only MAV_FRAME_GLOBAL or MAV_FRAME_GLOBAL_RELATIVE_ALT</field> |
||
1224 | <field type="int32_t" name="latitude">WGS84 Latitude position in degrees * 1E7</field> |
||
1225 | <field type="int32_t" name="longitude">WGS84 Longitude position in degrees * 1E7</field> |
||
1226 | <field type="int32_t" name="altitude">WGS84 Altitude in meters * 1000 (positive for up)</field> |
||
1227 | <field type="int16_t" name="yaw">Desired yaw angle in degrees * 100</field> |
||
1228 | </message> |
||
1229 | <message id="54" name="SAFETY_SET_ALLOWED_AREA"> |
||
1230 | <description>Set a safety zone (volume), which is defined by two corners of a cube. This message can be used to tell the MAV which setpoints/MISSIONs to accept and which to reject. Safety areas are often enforced by national or competition regulations.</description> |
||
1231 | <field type="uint8_t" name="target_system">System ID</field> |
||
1232 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1233 | <field type="uint8_t" name="frame">Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field> |
||
1234 | <field type="float" name="p1x">x position 1 / Latitude 1</field> |
||
1235 | <field type="float" name="p1y">y position 1 / Longitude 1</field> |
||
1236 | <field type="float" name="p1z">z position 1 / Altitude 1</field> |
||
1237 | <field type="float" name="p2x">x position 2 / Latitude 2</field> |
||
1238 | <field type="float" name="p2y">y position 2 / Longitude 2</field> |
||
1239 | <field type="float" name="p2z">z position 2 / Altitude 2</field> |
||
1240 | </message> |
||
1241 | <message id="55" name="SAFETY_ALLOWED_AREA"> |
||
1242 | <description>Read out the safety zone the MAV currently assumes.</description> |
||
1243 | <field type="uint8_t" name="frame">Coordinate frame, as defined by MAV_FRAME enum in mavlink_types.h. Can be either global, GPS, right-handed with Z axis up or local, right handed, Z axis down.</field> |
||
1244 | <field type="float" name="p1x">x position 1 / Latitude 1</field> |
||
1245 | <field type="float" name="p1y">y position 1 / Longitude 1</field> |
||
1246 | <field type="float" name="p1z">z position 1 / Altitude 1</field> |
||
1247 | <field type="float" name="p2x">x position 2 / Latitude 2</field> |
||
1248 | <field type="float" name="p2y">y position 2 / Longitude 2</field> |
||
1249 | <field type="float" name="p2z">z position 2 / Altitude 2</field> |
||
1250 | </message> |
||
1251 | <message id="56" name="SET_ROLL_PITCH_YAW_THRUST"> |
||
1252 | <description>Set roll, pitch and yaw.</description> |
||
1253 | <field type="uint8_t" name="target_system">System ID</field> |
||
1254 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1255 | <field type="float" name="roll">Desired roll angle in radians</field> |
||
1256 | <field type="float" name="pitch">Desired pitch angle in radians</field> |
||
1257 | <field type="float" name="yaw">Desired yaw angle in radians</field> |
||
1258 | <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field> |
||
1259 | </message> |
||
1260 | <message id="57" name="SET_ROLL_PITCH_YAW_SPEED_THRUST"> |
||
1261 | <description>Set roll, pitch and yaw.</description> |
||
1262 | <field type="uint8_t" name="target_system">System ID</field> |
||
1263 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1264 | <field type="float" name="roll_speed">Desired roll angular speed in rad/s</field> |
||
1265 | <field type="float" name="pitch_speed">Desired pitch angular speed in rad/s</field> |
||
1266 | <field type="float" name="yaw_speed">Desired yaw angular speed in rad/s</field> |
||
1267 | <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field> |
||
1268 | </message> |
||
1269 | <message id="58" name="ROLL_PITCH_YAW_THRUST_SETPOINT"> |
||
1270 | <description>Setpoint in roll, pitch, yaw currently active on the system.</description> |
||
1271 | <field type="uint32_t" name="time_boot_ms">Timestamp in milliseconds since system boot</field> |
||
1272 | <field type="float" name="roll">Desired roll angle in radians</field> |
||
1273 | <field type="float" name="pitch">Desired pitch angle in radians</field> |
||
1274 | <field type="float" name="yaw">Desired yaw angle in radians</field> |
||
1275 | <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field> |
||
1276 | </message> |
||
1277 | <message id="59" name="ROLL_PITCH_YAW_SPEED_THRUST_SETPOINT"> |
||
1278 | <description>Setpoint in rollspeed, pitchspeed, yawspeed currently active on the system.</description> |
||
1279 | <field type="uint32_t" name="time_boot_ms">Timestamp in milliseconds since system boot</field> |
||
1280 | <field type="float" name="roll_speed">Desired roll angular speed in rad/s</field> |
||
1281 | <field type="float" name="pitch_speed">Desired pitch angular speed in rad/s</field> |
||
1282 | <field type="float" name="yaw_speed">Desired yaw angular speed in rad/s</field> |
||
1283 | <field type="float" name="thrust">Collective thrust, normalized to 0 .. 1</field> |
||
1284 | </message> |
||
1285 | <message id="60" name="SET_QUAD_MOTORS_SETPOINT"> |
||
1286 | <description>Setpoint in the four motor speeds</description> |
||
1287 | <field type="uint8_t" name="target_system">System ID of the system that should set these motor commands</field> |
||
1288 | <field type="uint16_t" name="motor_front_nw">Front motor in + configuration, front left motor in x configuration</field> |
||
1289 | <field type="uint16_t" name="motor_right_ne">Right motor in + configuration, front right motor in x configuration</field> |
||
1290 | <field type="uint16_t" name="motor_back_se">Back motor in + configuration, back right motor in x configuration</field> |
||
1291 | <field type="uint16_t" name="motor_left_sw">Left motor in + configuration, back left motor in x configuration</field> |
||
1292 | </message> |
||
1293 | <message id="61" name="SET_QUAD_SWARM_ROLL_PITCH_YAW_THRUST"> |
||
1294 | <description></description> |
||
1295 | <field type="uint8_t[6]" name="target_systems">System IDs for 6 quadrotors: 0..5, the ID's are the MAVLink IDs</field> |
||
1296 | <field type="int16_t[6]" name="roll">Desired roll angle in radians, scaled to int16 for 6 quadrotors: 0..5</field> |
||
1297 | <field type="int16_t[6]" name="pitch">Desired pitch angle in radians, scaled to int16 for 6 quadrotors: 0..5</field> |
||
1298 | <field type="int16_t[6]" name="yaw">Desired yaw angle in radians, scaled to int16 for 6 quadrotors: 0..5</field> |
||
1299 | <field type="uint16_t[6]" name="thrust">Collective thrust, scaled to uint16 for 6 quadrotors: 0..5</field> |
||
1300 | </message> |
||
1301 | <message id="62" name="NAV_CONTROLLER_OUTPUT"> |
||
1302 | <description>Outputs of the APM navigation controller. The primary use of this message is to check the response and signs of the controller before actual flight and to assist with tuning controller parameters.</description> |
||
1303 | <field type="float" name="nav_roll">Current desired roll in degrees</field> |
||
1304 | <field type="float" name="nav_pitch">Current desired pitch in degrees</field> |
||
1305 | <field type="int16_t" name="nav_bearing">Current desired heading in degrees</field> |
||
1306 | <field type="int16_t" name="target_bearing">Bearing to current MISSION/target in degrees</field> |
||
1307 | <field type="uint16_t" name="wp_dist">Distance to active MISSION in meters</field> |
||
1308 | <field type="float" name="alt_error">Current altitude error in meters</field> |
||
1309 | <field type="float" name="aspd_error">Current airspeed error in meters/second</field> |
||
1310 | <field type="float" name="xtrack_error">Current crosstrack error on x-y plane in meters</field> |
||
1311 | </message> |
||
1312 | <message id="64" name="STATE_CORRECTION"> |
||
1313 | <description>Corrects the systems state by adding an error correction term to the position and velocity, and by rotating the attitude by a correction angle.</description> |
||
1314 | <field type="float" name="xErr">x position error</field> |
||
1315 | <field type="float" name="yErr">y position error</field> |
||
1316 | <field type="float" name="zErr">z position error</field> |
||
1317 | <field type="float" name="rollErr">roll error (radians)</field> |
||
1318 | <field type="float" name="pitchErr">pitch error (radians)</field> |
||
1319 | <field type="float" name="yawErr">yaw error (radians)</field> |
||
1320 | <field type="float" name="vxErr">x velocity</field> |
||
1321 | <field type="float" name="vyErr">y velocity</field> |
||
1322 | <field type="float" name="vzErr">z velocity</field> |
||
1323 | </message> |
||
1324 | <message id="66" name="REQUEST_DATA_STREAM"> |
||
1325 | <field type="uint8_t" name="target_system">The target requested to send the message stream.</field> |
||
1326 | <field type="uint8_t" name="target_component">The target requested to send the message stream.</field> |
||
1327 | <field type="uint8_t" name="req_stream_id">The ID of the requested data stream</field> |
||
1328 | <field type="uint16_t" name="req_message_rate">The requested interval between two messages of this type</field> |
||
1329 | <field type="uint8_t" name="start_stop">1 to start sending, 0 to stop sending.</field> |
||
1330 | </message> |
||
1331 | <message id="67" name="DATA_STREAM"> |
||
1332 | <field type="uint8_t" name="stream_id">The ID of the requested data stream</field> |
||
1333 | <field type="uint16_t" name="message_rate">The requested interval between two messages of this type</field> |
||
1334 | <field type="uint8_t" name="on_off">1 stream is enabled, 0 stream is stopped.</field> |
||
1335 | </message> |
||
1336 | <message id="69" name="MANUAL_CONTROL"> |
||
1337 | <field type="uint8_t" name="target">The system to be controlled</field> |
||
1338 | <field type="float" name="roll">roll</field> |
||
1339 | <field type="float" name="pitch">pitch</field> |
||
1340 | <field type="float" name="yaw">yaw</field> |
||
1341 | <field type="float" name="thrust">thrust</field> |
||
1342 | <field type="uint8_t" name="roll_manual">roll control enabled auto:0, manual:1</field> |
||
1343 | <field type="uint8_t" name="pitch_manual">pitch auto:0, manual:1</field> |
||
1344 | <field type="uint8_t" name="yaw_manual">yaw auto:0, manual:1</field> |
||
1345 | <field type="uint8_t" name="thrust_manual">thrust auto:0, manual:1</field> |
||
1346 | </message> |
||
1347 | <message id="70" name="RC_CHANNELS_OVERRIDE"> |
||
1348 | <description>The RAW values of the RC channels sent to the MAV to override info received from the RC radio. A value of -1 means no change to that channel. A value of 0 means control of that channel should be released back to the RC radio. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description> |
||
1349 | <field type="uint8_t" name="target_system">System ID</field> |
||
1350 | <field type="uint8_t" name="target_component">Component ID</field> |
||
1351 | <field type="uint16_t" name="chan1_raw">RC channel 1 value, in microseconds</field> |
||
1352 | <field type="uint16_t" name="chan2_raw">RC channel 2 value, in microseconds</field> |
||
1353 | <field type="uint16_t" name="chan3_raw">RC channel 3 value, in microseconds</field> |
||
1354 | <field type="uint16_t" name="chan4_raw">RC channel 4 value, in microseconds</field> |
||
1355 | <field type="uint16_t" name="chan5_raw">RC channel 5 value, in microseconds</field> |
||
1356 | <field type="uint16_t" name="chan6_raw">RC channel 6 value, in microseconds</field> |
||
1357 | <field type="uint16_t" name="chan7_raw">RC channel 7 value, in microseconds</field> |
||
1358 | <field type="uint16_t" name="chan8_raw">RC channel 8 value, in microseconds</field> |
||
1359 | </message> |
||
1360 | <message id="74" name="VFR_HUD"> |
||
1361 | <description>Metrics typically displayed on a HUD for fixed wing aircraft</description> |
||
1362 | <field type="float" name="airspeed">Current airspeed in m/s</field> |
||
1363 | <field type="float" name="groundspeed">Current ground speed in m/s</field> |
||
1364 | <field type="int16_t" name="heading">Current heading in degrees, in compass units (0..360, 0=north)</field> |
||
1365 | <field type="uint16_t" name="throttle">Current throttle setting in integer percent, 0 to 100</field> |
||
1366 | <field type="float" name="alt">Current altitude (MSL), in meters</field> |
||
1367 | <field type="float" name="climb">Current climb rate in meters/second</field> |
||
1368 | </message> |
||
1369 | <message id="76" name="COMMAND_LONG"> |
||
1370 | <description>Send a command with up to four parameters to the MAV</description> |
||
1371 | <field type="uint8_t" name="target_system">System which should execute the command</field> |
||
1372 | <field type="uint8_t" name="target_component">Component which should execute the command, 0 for all components</field> |
||
1373 | <field type="uint16_t" name="command">Command ID, as defined by MAV_CMD enum.</field> |
||
1374 | <field type="uint8_t" name="confirmation">0: First transmission of this command. 1-255: Confirmation transmissions (e.g. for kill command)</field> |
||
1375 | <field type="float" name="param1">Parameter 1, as defined by MAV_CMD enum.</field> |
||
1376 | <field type="float" name="param2">Parameter 2, as defined by MAV_CMD enum.</field> |
||
1377 | <field type="float" name="param3">Parameter 3, as defined by MAV_CMD enum.</field> |
||
1378 | <field type="float" name="param4">Parameter 4, as defined by MAV_CMD enum.</field> |
||
1379 | <field type="float" name="param5">Parameter 5, as defined by MAV_CMD enum.</field> |
||
1380 | <field type="float" name="param6">Parameter 6, as defined by MAV_CMD enum.</field> |
||
1381 | <field type="float" name="param7">Parameter 7, as defined by MAV_CMD enum.</field> |
||
1382 | </message> |
||
1383 | <message id="77" name="COMMAND_ACK"> |
||
1384 | <description>Report status of a command. Includes feedback wether the command was executed.</description> |
||
1385 | <field type="uint16_t" name="command">Command ID, as defined by MAV_CMD enum.</field> |
||
1386 | <field type="uint8_t" name="result">See MAV_RESULT enum</field> |
||
1387 | </message> |
||
1388 | <message id="89" name="LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET"> |
||
1389 | <description>The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)</description> |
||
1390 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1391 | <field type="float" name="x">X Position</field> |
||
1392 | <field type="float" name="y">Y Position</field> |
||
1393 | <field type="float" name="z">Z Position</field> |
||
1394 | <field type="float" name="roll">Roll</field> |
||
1395 | <field type="float" name="pitch">Pitch</field> |
||
1396 | <field type="float" name="yaw">Yaw</field> |
||
1397 | </message> |
||
1398 | <message id="90" name="HIL_STATE"> |
||
1399 | <description>Sent from simulation to autopilot. This packet is useful for high throughput applications such as hardware in the loop simulations.</description> |
||
1400 | <field type="uint64_t" name="time_usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
1401 | <field type="float" name="roll">Roll angle (rad)</field> |
||
1402 | <field type="float" name="pitch">Pitch angle (rad)</field> |
||
1403 | <field type="float" name="yaw">Yaw angle (rad)</field> |
||
1404 | <field type="float" name="rollspeed">Roll angular speed (rad/s)</field> |
||
1405 | <field type="float" name="pitchspeed">Pitch angular speed (rad/s)</field> |
||
1406 | <field type="float" name="yawspeed">Yaw angular speed (rad/s)</field> |
||
1407 | <field type="int32_t" name="lat">Latitude, expressed as * 1E7</field> |
||
1408 | <field type="int32_t" name="lon">Longitude, expressed as * 1E7</field> |
||
1409 | <field type="int32_t" name="alt">Altitude in meters, expressed as * 1000 (millimeters)</field> |
||
1410 | <field type="int16_t" name="vx">Ground X Speed (Latitude), expressed as m/s * 100</field> |
||
1411 | <field type="int16_t" name="vy">Ground Y Speed (Longitude), expressed as m/s * 100</field> |
||
1412 | <field type="int16_t" name="vz">Ground Z Speed (Altitude), expressed as m/s * 100</field> |
||
1413 | <field type="int16_t" name="xacc">X acceleration (mg)</field> |
||
1414 | <field type="int16_t" name="yacc">Y acceleration (mg)</field> |
||
1415 | <field type="int16_t" name="zacc">Z acceleration (mg)</field> |
||
1416 | </message> |
||
1417 | <message id="91" name="HIL_CONTROLS"> |
||
1418 | <description>Sent from autopilot to simulation. Hardware in the loop control outputs</description> |
||
1419 | <field name="time_usec" type="uint64_t">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
1420 | <field name="roll_ailerons" type="float">Control output -1 .. 1</field> |
||
1421 | <field name="pitch_elevator" type="float">Control output -1 .. 1</field> |
||
1422 | <field name="yaw_rudder" type="float">Control output -1 .. 1</field> |
||
1423 | <field name="throttle" type="float">Throttle 0 .. 1</field> |
||
1424 | <field name="aux1" type="float">Aux 1, -1 .. 1</field> |
||
1425 | <field name="aux2" type="float">Aux 2, -1 .. 1</field> |
||
1426 | <field name="aux3" type="float">Aux 3, -1 .. 1</field> |
||
1427 | <field name="aux4" type="float">Aux 4, -1 .. 1</field> |
||
1428 | <field name="mode" type="uint8_t">System mode (MAV_MODE)</field> |
||
1429 | <field name="nav_mode" type="uint8_t">Navigation mode (MAV_NAV_MODE)</field> |
||
1430 | </message> |
||
1431 | <message id="92" name="HIL_RC_INPUTS_RAW"> |
||
1432 | <description>Sent from simulation to autopilot. The RAW values of the RC channels received. The standard PPM modulation is as follows: 1000 microseconds: 0%, 2000 microseconds: 100%. Individual receivers/transmitters might violate this specification.</description> |
||
1433 | <field type="uint64_t" name="time_usec">Timestamp (microseconds since UNIX epoch or microseconds since system boot)</field> |
||
1434 | <field type="uint16_t" name="chan1_raw">RC channel 1 value, in microseconds</field> |
||
1435 | <field type="uint16_t" name="chan2_raw">RC channel 2 value, in microseconds</field> |
||
1436 | <field type="uint16_t" name="chan3_raw">RC channel 3 value, in microseconds</field> |
||
1437 | <field type="uint16_t" name="chan4_raw">RC channel 4 value, in microseconds</field> |
||
1438 | <field type="uint16_t" name="chan5_raw">RC channel 5 value, in microseconds</field> |
||
1439 | <field type="uint16_t" name="chan6_raw">RC channel 6 value, in microseconds</field> |
||
1440 | <field type="uint16_t" name="chan7_raw">RC channel 7 value, in microseconds</field> |
||
1441 | <field type="uint16_t" name="chan8_raw">RC channel 8 value, in microseconds</field> |
||
1442 | <field type="uint16_t" name="chan9_raw">RC channel 9 value, in microseconds</field> |
||
1443 | <field type="uint16_t" name="chan10_raw">RC channel 10 value, in microseconds</field> |
||
1444 | <field type="uint16_t" name="chan11_raw">RC channel 11 value, in microseconds</field> |
||
1445 | <field type="uint16_t" name="chan12_raw">RC channel 12 value, in microseconds</field> |
||
1446 | <field type="uint8_t" name="rssi">Receive signal strength indicator, 0: 0%, 255: 100%</field> |
||
1447 | </message> |
||
1448 | <message id="100" name="OPTICAL_FLOW"> |
||
1449 | <description>Optical flow from a flow sensor (e.g. optical mouse sensor)</description> |
||
1450 | <field type="uint64_t" name="time_usec">Timestamp (UNIX)</field> |
||
1451 | <field type="uint8_t" name="sensor_id">Sensor ID</field> |
||
1452 | <field type="int16_t" name="flow_x">Flow in pixels in x-sensor direction</field> |
||
1453 | <field type="int16_t" name="flow_y">Flow in pixels in y-sensor direction</field> |
||
1454 | <field type="float" name="flow_comp_m_x">Flow in meters in x-sensor direction, angular-speed compensated</field> |
||
1455 | <field type="float" name="flow_comp_m_y">Flow in meters in y-sensor direction, angular-speed compensated</field> |
||
1456 | <field type="uint8_t" name="quality">Optical flow quality / confidence. 0: bad, 255: maximum quality</field> |
||
1457 | <field type="float" name="ground_distance">Ground distance in meters. Positive value: distance known. Negative value: Unknown distance</field> |
||
1458 | </message> |
||
1459 | <message id="101" name="GLOBAL_VISION_POSITION_ESTIMATE"> |
||
1460 | <field type="uint64_t" name="usec">Timestamp (milliseconds)</field> |
||
1461 | <field type="float" name="x">Global X position</field> |
||
1462 | <field type="float" name="y">Global Y position</field> |
||
1463 | <field type="float" name="z">Global Z position</field> |
||
1464 | <field type="float" name="roll">Roll angle in rad</field> |
||
1465 | <field type="float" name="pitch">Pitch angle in rad</field> |
||
1466 | <field type="float" name="yaw">Yaw angle in rad</field> |
||
1467 | </message> |
||
1468 | <message id="102" name="VISION_POSITION_ESTIMATE"> |
||
1469 | <field type="uint64_t" name="usec">Timestamp (milliseconds)</field> |
||
1470 | <field type="float" name="x">Global X position</field> |
||
1471 | <field type="float" name="y">Global Y position</field> |
||
1472 | <field type="float" name="z">Global Z position</field> |
||
1473 | <field type="float" name="roll">Roll angle in rad</field> |
||
1474 | <field type="float" name="pitch">Pitch angle in rad</field> |
||
1475 | <field type="float" name="yaw">Yaw angle in rad</field> |
||
1476 | </message> |
||
1477 | <message id="103" name="VISION_SPEED_ESTIMATE"> |
||
1478 | <field type="uint64_t" name="usec">Timestamp (milliseconds)</field> |
||
1479 | <field type="float" name="x">Global X speed</field> |
||
1480 | <field type="float" name="y">Global Y speed</field> |
||
1481 | <field type="float" name="z">Global Z speed</field> |
||
1482 | </message> |
||
1483 | <message id="104" name="VICON_POSITION_ESTIMATE"> |
||
1484 | <field type="uint64_t" name="usec">Timestamp (milliseconds)</field> |
||
1485 | <field type="float" name="x">Global X position</field> |
||
1486 | <field type="float" name="y">Global Y position</field> |
||
1487 | <field type="float" name="z">Global Z position</field> |
||
1488 | <field type="float" name="roll">Roll angle in rad</field> |
||
1489 | <field type="float" name="pitch">Pitch angle in rad</field> |
||
1490 | <field type="float" name="yaw">Yaw angle in rad</field> |
||
1491 | </message> |
||
1492 | <!-- MESSAGE IDs 150 - 240: Space for custom messages in individual projectname_messages.xml files --> |
||
1493 | <message id="249" name="MEMORY_VECT"> |
||
1494 | <description>Send raw controller memory. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description> |
||
1495 | <field type="uint16_t" name="address">Starting address of the debug variables</field> |
||
1496 | <field type="uint8_t" name="ver">Version code of the type variable. 0=unknown, type ignored and assumed int16_t. 1=as below</field> |
||
1497 | <field type="uint8_t" name="type">Type code of the memory variables. for ver = 1: 0=16 x int16_t, 1=16 x uint16_t, 2=16 x Q15, 3=16 x 1Q14</field> |
||
1498 | <field type="int8_t[32]" name="value">Memory contents at specified address</field> |
||
1499 | </message> |
||
1500 | <message id="250" name="DEBUG_VECT"> |
||
1501 | <field type="char[10]" name="name">Name</field> |
||
1502 | <field type="uint64_t" name="time_usec">Timestamp</field> |
||
1503 | <field type="float" name="x">x</field> |
||
1504 | <field type="float" name="y">y</field> |
||
1505 | <field type="float" name="z">z</field> |
||
1506 | </message> |
||
1507 | <message id="251" name="NAMED_VALUE_FLOAT"> |
||
1508 | <description>Send a key-value pair as float. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description> |
||
1509 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1510 | <field type="char[10]" name="name">Name of the debug variable</field> |
||
1511 | <field type="float" name="value">Floating point value</field> |
||
1512 | </message> |
||
1513 | <message id="252" name="NAMED_VALUE_INT"> |
||
1514 | <description>Send a key-value pair as integer. The use of this message is discouraged for normal packets, but a quite efficient way for testing new messages and getting experimental debug output.</description> |
||
1515 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1516 | <field type="char[10]" name="name">Name of the debug variable</field> |
||
1517 | <field type="int32_t" name="value">Signed integer value</field> |
||
1518 | </message> |
||
1519 | <message id="253" name="STATUSTEXT"> |
||
1520 | <description>Status text message. These messages are printed in yellow in the COMM console of QGroundControl. WARNING: They consume quite some bandwidth, so use only for important status and error messages. If implemented wisely, these messages are buffered on the MCU and sent only at a limited rate (e.g. 10 Hz).</description> |
||
1521 | <field type="uint8_t" name="severity">Severity of status. Relies on the definitions within RFC-5424. See enum MAV_SEVERITY.</field> |
||
1522 | <field type="char[50]" name="text">Status text message, without null termination character</field> |
||
1523 | </message> |
||
1524 | <message id="254" name="DEBUG"> |
||
1525 | <description>Send a debug value. The index is used to discriminate between values. These values show up in the plot of QGroundControl as DEBUG N.</description> |
||
1526 | <field type="uint32_t" name="time_boot_ms">Timestamp (milliseconds since system boot)</field> |
||
1527 | <field type="uint8_t" name="ind">index of debug variable</field> |
||
1528 | <field type="float" name="value">DEBUG value</field> |
||
1529 | </message> |
||
1530 | </messages> |
||
1531 | </mavlink> |