tuasmavlink 0.1.3

Parses the MAVLink data interchange format for UAVs.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
<?xml version="1.0"?>
<mavlink>
  <include>common.xml</include>
  <!-- vendors -->
  <include>uAvionix.xml</include>
  <dialect>2</dialect>
  <!-- note that APM specific messages should use the command id range from 150 to 250, to leave plenty of room for growth of common.xml If you prototype a message here, then you should consider if it is general enough to move into common.xml later -->
  <enums>
    <enum name="ACCELCAL_VEHICLE_POS">
      <entry value="1" name="ACCELCAL_VEHICLE_POS_LEVEL"/>
      <entry value="2" name="ACCELCAL_VEHICLE_POS_LEFT"/>
      <entry value="3" name="ACCELCAL_VEHICLE_POS_RIGHT"/>
      <entry value="4" name="ACCELCAL_VEHICLE_POS_NOSEDOWN"/>
      <entry value="5" name="ACCELCAL_VEHICLE_POS_NOSEUP"/>
      <entry value="6" name="ACCELCAL_VEHICLE_POS_BACK"/>
      <entry value="16777215" name="ACCELCAL_VEHICLE_POS_SUCCESS"/>
      <entry value="16777216" name="ACCELCAL_VEHICLE_POS_FAILED"/>
    </enum>
    <!-- ardupilot specific MAV_CMD_* commands -->
    <enum name="MAV_CMD">
      <entry value="211" name="MAV_CMD_DO_GRIPPER">
        <description>Mission command to operate EPM gripper</description>
        <param index="1">gripper number (a number from 1 to max number of grippers on the vehicle)</param>
        <param index="2">gripper action (0=release, 1=grab. See GRIPPER_ACTIONS enum)</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="212" name="MAV_CMD_DO_AUTOTUNE_ENABLE">
        <description>Enable/disable autotune</description>
        <param index="1">enable (1: enable, 0:disable)</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="83" name="MAV_CMD_NAV_ALTITUDE_WAIT">
        <description>Mission command to wait for an altitude or downwards vertical speed. This is meant for high altitude balloon launches, allowing the aircraft to be idle until either an altitude is reached or a negative vertical speed is reached (indicating early balloon burst). The wiggle time is how often to wiggle the control surfaces to prevent them seizing up.</description>
        <param index="1">altitude (m)</param>
        <param index="2">descent speed (m/s)</param>
        <param index="3">Wiggle Time (s)</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42000" name="MAV_CMD_POWER_OFF_INITIATED">
        <description>A system wide power-off event has been initiated.</description>
        <param index="1">Empty</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <!-- MAV_CMD_SOLO_BTN_* are here to provide vendor-specific support for 3DR Solo until a better solution is found to atomically make multiple commands with control flow -->
      <entry value="42001" name="MAV_CMD_SOLO_BTN_FLY_CLICK">
        <description>FLY button has been clicked.</description>
        <param index="1">Empty</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42002" name="MAV_CMD_SOLO_BTN_FLY_HOLD">
        <description>FLY button has been held for 1.5 seconds.</description>
        <param index="1">Takeoff altitude</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42003" name="MAV_CMD_SOLO_BTN_PAUSE_CLICK">
        <description>PAUSE button has been clicked.</description>
        <param index="1">1 if Solo is in a shot mode, 0 otherwise</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42004" name="MAV_CMD_FIXED_MAG_CAL">
        <description>Magnetometer calibration based on fixed position in earth field</description>
        <param index="1">MagDeclinationDegrees</param>
        <param index="2">MagInclinationDegrees</param>
        <param index="3">MagIntensityMilliGauss</param>
        <param index="4">YawDegrees</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42424" name="MAV_CMD_DO_START_MAG_CAL">
        <description>Initiate a magnetometer calibration</description>
        <param index="1">uint8_t bitmask of magnetometers (0 means all)</param>
        <param index="2">Automatically retry on failure (0=no retry, 1=retry).</param>
        <param index="3">Save without user input (0=require input, 1=autosave).</param>
        <param index="4">Delay (seconds)</param>
        <param index="5">Autoreboot (0=user reboot, 1=autoreboot)</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42425" name="MAV_CMD_DO_ACCEPT_MAG_CAL">
        <description>Initiate a magnetometer calibration</description>
        <param index="1">uint8_t bitmask of magnetometers (0 means all)</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42426" name="MAV_CMD_DO_CANCEL_MAG_CAL">
        <description>Cancel a running magnetometer calibration</description>
        <param index="1">uint8_t bitmask of magnetometers (0 means all)</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42429" name="MAV_CMD_ACCELCAL_VEHICLE_POS">
        <description>Used when doing accelerometer calibration. When sent to the GCS tells it what position to put the vehicle in. When sent to the vehicle says what position the vehicle is in.</description>
        <param index="1">Position, one of the ACCELCAL_VEHICLE_POS enum values</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42428" name="MAV_CMD_DO_SEND_BANNER">
        <description>Reply with the version banner</description>
        <param index="1">Empty</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42501" name="MAV_CMD_GIMBAL_RESET">
        <description>Causes the gimbal to reset and boot as if it was just powered on</description>
        <param index="1">Empty</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42427" name="MAV_CMD_SET_FACTORY_TEST_MODE">
        <description>Command autopilot to get into factory test/diagnostic mode</description>
        <param index="1">0 means get out of test mode, 1 means get into test mode</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42502" name="MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS">
        <description>Reports progress and success or failure of gimbal axis calibration procedure</description>
        <param index="1">Gimbal axis we're reporting calibration progress for</param>
        <param index="2">Current calibration progress for this axis, 0x64=100%</param>
        <param index="3">Status of the calibration</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42503" name="MAV_CMD_GIMBAL_REQUEST_AXIS_CALIBRATION">
        <description>Starts commutation calibration on the gimbal</description>
        <param index="1">Empty</param>
        <param index="2">Empty</param>
        <param index="3">Empty</param>
        <param index="4">Empty</param>
        <param index="5">Empty</param>
        <param index="6">Empty</param>
        <param index="7">Empty</param>
      </entry>
      <entry value="42505" name="MAV_CMD_GIMBAL_FULL_RESET">
        <description>Erases gimbal application and parameters</description>
        <param index="1">Magic number</param>
        <param index="2">Magic number</param>
        <param index="3">Magic number</param>
        <param index="4">Magic number</param>
        <param index="5">Magic number</param>
        <param index="6">Magic number</param>
        <param index="7">Magic number</param>
      </entry>
    </enum>
    <!-- AP_Limits Enums -->
    <enum name="LIMITS_STATE">
      <entry value="0" name="LIMITS_INIT">
        <description>pre-initialization</description>
      </entry>
      <entry value="1" name="LIMITS_DISABLED">
        <description>disabled</description>
      </entry>
      <entry value="2" name="LIMITS_ENABLED">
        <description>checking limits</description>
      </entry>
      <entry value="3" name="LIMITS_TRIGGERED">
        <description>a limit has been breached</description>
      </entry>
      <entry value="4" name="LIMITS_RECOVERING">
        <description>taking action eg. RTL</description>
      </entry>
      <entry value="5" name="LIMITS_RECOVERED">
        <description>we're no longer in breach of a limit</description>
      </entry>
    </enum>
    <!-- AP_Limits Modules - power of 2 (1,2,4,8,16,32 etc) so we can send as bitfield -->
    <enum name="LIMIT_MODULE">
      <entry value="1" name="LIMIT_GPSLOCK">
        <description>pre-initialization</description>
      </entry>
      <entry value="2" name="LIMIT_GEOFENCE">
        <description>disabled</description>
      </entry>
      <entry value="4" name="LIMIT_ALTITUDE">
        <description>checking limits</description>
      </entry>
    </enum>
    <!-- RALLY flags - power of 2 (1,2,4,8,16,32,64,128) so we can send as a bitfield -->
    <enum name="RALLY_FLAGS">
      <description>Flags in RALLY_POINT message</description>
      <entry value="1" name="FAVORABLE_WIND">
        <description>Flag set when requiring favorable winds for landing.</description>
      </entry>
      <entry value="2" name="LAND_IMMEDIATELY">
        <description>Flag set when plane is to immediately descend to break altitude and land without GCS intervention. Flag not set when plane is to loiter at Rally point until commanded to land.</description>
      </entry>
    </enum>
    <!-- parachute action enum -->
    <enum name="PARACHUTE_ACTION">
      <entry value="0" name="PARACHUTE_DISABLE">
        <description>Disable parachute release</description>
      </entry>
      <entry value="1" name="PARACHUTE_ENABLE">
        <description>Enable parachute release</description>
      </entry>
      <entry value="2" name="PARACHUTE_RELEASE">
        <description>Release parachute</description>
      </entry>
    </enum>
    <!-- gripper action enum -->
    <enum name="GRIPPER_ACTIONS">
      <description>Gripper actions.</description>
      <entry value="0" name="GRIPPER_ACTION_RELEASE">
        <description>gripper release of cargo</description>
      </entry>
      <entry value="1" name="GRIPPER_ACTION_GRAB">
        <description>gripper grabs onto cargo</description>
      </entry>
    </enum>
    <!-- Camera event types -->
    <enum name="CAMERA_STATUS_TYPES">
      <entry value="0" name="CAMERA_STATUS_TYPE_HEARTBEAT">
        <description>Camera heartbeat, announce camera component ID at 1hz</description>
      </entry>
      <entry value="1" name="CAMERA_STATUS_TYPE_TRIGGER">
        <description>Camera image triggered</description>
      </entry>
      <entry value="2" name="CAMERA_STATUS_TYPE_DISCONNECT">
        <description>Camera connection lost</description>
      </entry>
      <entry value="3" name="CAMERA_STATUS_TYPE_ERROR">
        <description>Camera unknown error</description>
      </entry>
      <entry value="4" name="CAMERA_STATUS_TYPE_LOWBATT">
        <description>Camera battery low. Parameter p1 shows reported voltage</description>
      </entry>
      <entry value="5" name="CAMERA_STATUS_TYPE_LOWSTORE">
        <description>Camera storage low. Parameter p1 shows reported shots remaining</description>
      </entry>
      <entry value="6" name="CAMERA_STATUS_TYPE_LOWSTOREV">
        <description>Camera storage low. Parameter p1 shows reported video minutes remaining</description>
      </entry>
    </enum>
    <!-- camera feedback flags, a little bit of future-proofing -->
    <enum name="CAMERA_FEEDBACK_FLAGS">
      <entry value="0" name="CAMERA_FEEDBACK_PHOTO">
        <description>Shooting photos, not video</description>
      </entry>
      <entry value="1" name="CAMERA_FEEDBACK_VIDEO">
        <description>Shooting video, not stills</description>
      </entry>
      <entry value="2" name="CAMERA_FEEDBACK_BADEXPOSURE">
        <description>Unable to achieve requested exposure (e.g. shutter speed too low)</description>
      </entry>
      <entry value="3" name="CAMERA_FEEDBACK_CLOSEDLOOP">
        <description>Closed loop feedback from camera, we know for sure it has successfully taken a picture</description>
      </entry>
      <entry value="4" name="CAMERA_FEEDBACK_OPENLOOP">
        <description>Open loop camera, an image trigger has been requested but we can't know for sure it has successfully taken a picture</description>
      </entry>
    </enum>
    <!-- Gimbal payload enumerations -->
    <enum name="MAV_MODE_GIMBAL">
      <entry value="0" name="MAV_MODE_GIMBAL_UNINITIALIZED">
        <description>Gimbal is powered on but has not started initializing yet</description>
      </entry>
      <entry value="1" name="MAV_MODE_GIMBAL_CALIBRATING_PITCH">
        <description>Gimbal is currently running calibration on the pitch axis</description>
      </entry>
      <entry value="2" name="MAV_MODE_GIMBAL_CALIBRATING_ROLL">
        <description>Gimbal is currently running calibration on the roll axis</description>
      </entry>
      <entry value="3" name="MAV_MODE_GIMBAL_CALIBRATING_YAW">
        <description>Gimbal is currently running calibration on the yaw axis</description>
      </entry>
      <entry value="4" name="MAV_MODE_GIMBAL_INITIALIZED">
        <description>Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate command from copter</description>
      </entry>
      <entry value="5" name="MAV_MODE_GIMBAL_ACTIVE">
        <description>Gimbal is actively stabilizing</description>
      </entry>
      <entry value="6" name="MAV_MODE_GIMBAL_RATE_CMD_TIMEOUT">
        <description>Gimbal is relaxed because it missed more than 10 expected rate command messages in a row. Gimbal will move back to active mode when it receives a new rate command</description>
      </entry>
    </enum>
    <enum name="GIMBAL_AXIS">
      <entry value="0" name="GIMBAL_AXIS_YAW">
        <description>Gimbal yaw axis</description>
      </entry>
      <entry value="1" name="GIMBAL_AXIS_PITCH">
        <description>Gimbal pitch axis</description>
      </entry>
      <entry value="2" name="GIMBAL_AXIS_ROLL">
        <description>Gimbal roll axis</description>
      </entry>
    </enum>
    <enum name="GIMBAL_AXIS_CALIBRATION_STATUS">
      <entry value="0" name="GIMBAL_AXIS_CALIBRATION_STATUS_IN_PROGRESS">
        <description>Axis calibration is in progress</description>
      </entry>
      <entry value="1" name="GIMBAL_AXIS_CALIBRATION_STATUS_SUCCEEDED">
        <description>Axis calibration succeeded</description>
      </entry>
      <entry value="2" name="GIMBAL_AXIS_CALIBRATION_STATUS_FAILED">
        <description>Axis calibration failed</description>
      </entry>
    </enum>
    <enum name="GIMBAL_AXIS_CALIBRATION_REQUIRED">
      <entry value="0" name="GIMBAL_AXIS_CALIBRATION_REQUIRED_UNKNOWN">
        <description>Whether or not this axis requires calibration is unknown at this time</description>
      </entry>
      <entry value="1" name="GIMBAL_AXIS_CALIBRATION_REQUIRED_TRUE">
        <description>This axis requires calibration</description>
      </entry>
      <entry value="2" name="GIMBAL_AXIS_CALIBRATION_REQUIRED_FALSE">
        <description>This axis does not require calibration</description>
      </entry>
    </enum>
    <!-- GoPro System Enumerations -->
    <enum name="GOPRO_HEARTBEAT_STATUS">
      <entry value="0" name="GOPRO_HEARTBEAT_STATUS_DISCONNECTED">
        <description>No GoPro connected</description>
      </entry>
      <entry value="1" name="GOPRO_HEARTBEAT_STATUS_INCOMPATIBLE">
        <description>The detected GoPro is not HeroBus compatible</description>
      </entry>
      <entry value="2" name="GOPRO_HEARTBEAT_STATUS_CONNECTED">
        <description>A HeroBus compatible GoPro is connected</description>
      </entry>
      <entry value="3" name="GOPRO_HEARTBEAT_STATUS_ERROR">
        <description>An unrecoverable error was encountered with the connected GoPro, it may require a power cycle</description>
      </entry>
    </enum>
    <enum name="GOPRO_HEARTBEAT_FLAGS">
      <!-- each entry is a mask to test a bit in GOPRO_HEARTBEAT_STATUS.flags -->
      <entry value="1" name="GOPRO_FLAG_RECORDING">
        <description>GoPro is currently recording</description>
      </entry>
    </enum>
    <enum name="GOPRO_REQUEST_STATUS">
      <entry value="0" name="GOPRO_REQUEST_SUCCESS">
        <description>The write message with ID indicated succeeded</description>
      </entry>
      <entry value="1" name="GOPRO_REQUEST_FAILED">
        <description>The write message with ID indicated failed</description>
      </entry>
    </enum>
    <enum name="GOPRO_COMMAND">
      <entry value="0" name="GOPRO_COMMAND_POWER">
        <description>(Get/Set)</description>
      </entry>
      <entry value="1" name="GOPRO_COMMAND_CAPTURE_MODE">
        <description>(Get/Set)</description>
      </entry>
      <entry value="2" name="GOPRO_COMMAND_SHUTTER">
        <description>(___/Set)</description>
      </entry>
      <entry value="3" name="GOPRO_COMMAND_BATTERY">
        <description>(Get/___)</description>
      </entry>
      <entry value="4" name="GOPRO_COMMAND_MODEL">
        <description>(Get/___)</description>
      </entry>
      <entry value="5" name="GOPRO_COMMAND_VIDEO_SETTINGS">
        <description>(Get/Set)</description>
        <!-- Packet structure for the four values is as follows byte 0: GOPRO_RESOLUTION byte 1: GOPRO_FRAME_RATE byte 2: GOPRO_FIELD_OF_VIEW byte 3: GOPRO_VIDEO_SETTINGS_FLAGS -->
      </entry>
      <entry value="6" name="GOPRO_COMMAND_LOW_LIGHT">
        <description>(Get/Set)</description>
      </entry>
      <entry value="7" name="GOPRO_COMMAND_PHOTO_RESOLUTION">
        <description>(Get/Set)</description>
      </entry>
      <entry value="8" name="GOPRO_COMMAND_PHOTO_BURST_RATE">
        <description>(Get/Set)</description>
      </entry>
      <entry value="9" name="GOPRO_COMMAND_PROTUNE">
        <description>(Get/Set)</description>
      </entry>
      <entry value="10" name="GOPRO_COMMAND_PROTUNE_WHITE_BALANCE">
        <description>(Get/Set) Hero 3+ Only</description>
      </entry>
      <entry value="11" name="GOPRO_COMMAND_PROTUNE_COLOUR">
        <description>(Get/Set) Hero 3+ Only</description>
      </entry>
      <entry value="12" name="GOPRO_COMMAND_PROTUNE_GAIN">
        <description>(Get/Set) Hero 3+ Only</description>
      </entry>
      <entry value="13" name="GOPRO_COMMAND_PROTUNE_SHARPNESS">
        <description>(Get/Set) Hero 3+ Only</description>
      </entry>
      <entry value="14" name="GOPRO_COMMAND_PROTUNE_EXPOSURE">
        <description>(Get/Set) Hero 3+ Only</description>
      </entry>
      <entry value="15" name="GOPRO_COMMAND_TIME">
        <description>(Get/Set)</description>
        <!-- Packet structure for the four values is as follows byte 0...3: uint32_t unix timestamp (byte 0 is MSB) -->
      </entry>
      <entry value="16" name="GOPRO_COMMAND_CHARGING">
        <description>(Get/Set)</description>
      </entry>
    </enum>
    <enum name="GOPRO_CAPTURE_MODE">
      <entry value="0" name="GOPRO_CAPTURE_MODE_VIDEO">
        <description>Video mode</description>
      </entry>
      <entry value="1" name="GOPRO_CAPTURE_MODE_PHOTO">
        <description>Photo mode</description>
      </entry>
      <entry value="2" name="GOPRO_CAPTURE_MODE_BURST">
        <description>Burst mode, hero 3+ only</description>
      </entry>
      <entry value="3" name="GOPRO_CAPTURE_MODE_TIME_LAPSE">
        <description>Time lapse mode, hero 3+ only</description>
      </entry>
      <entry value="4" name="GOPRO_CAPTURE_MODE_MULTI_SHOT">
        <description>Multi shot mode, hero 4 only</description>
      </entry>
      <entry value="5" name="GOPRO_CAPTURE_MODE_PLAYBACK">
        <description>Playback mode, hero 4 only, silver only except when LCD or HDMI is connected to black</description>
      </entry>
      <entry value="6" name="GOPRO_CAPTURE_MODE_SETUP">
        <description>Playback mode, hero 4 only</description>
      </entry>
      <entry value="255" name="GOPRO_CAPTURE_MODE_UNKNOWN">
        <description>Mode not yet known</description>
      </entry>
    </enum>
    <enum name="GOPRO_RESOLUTION">
      <entry value="0" name="GOPRO_RESOLUTION_480p">
        <description>848 x 480 (480p)</description>
      </entry>
      <entry value="1" name="GOPRO_RESOLUTION_720p">
        <description>1280 x 720 (720p)</description>
      </entry>
      <entry value="2" name="GOPRO_RESOLUTION_960p">
        <description>1280 x 960 (960p)</description>
      </entry>
      <entry value="3" name="GOPRO_RESOLUTION_1080p">
        <description>1920 x 1080 (1080p)</description>
      </entry>
      <entry value="4" name="GOPRO_RESOLUTION_1440p">
        <description>1920 x 1440 (1440p)</description>
      </entry>
      <entry value="5" name="GOPRO_RESOLUTION_2_7k_17_9">
        <description>2704 x 1440 (2.7k-17:9)</description>
      </entry>
      <entry value="6" name="GOPRO_RESOLUTION_2_7k_16_9">
        <description>2704 x 1524 (2.7k-16:9)</description>
      </entry>
      <entry value="7" name="GOPRO_RESOLUTION_2_7k_4_3">
        <description>2704 x 2028 (2.7k-4:3)</description>
      </entry>
      <entry value="8" name="GOPRO_RESOLUTION_4k_16_9">
        <description>3840 x 2160 (4k-16:9)</description>
      </entry>
      <entry value="9" name="GOPRO_RESOLUTION_4k_17_9">
        <description>4096 x 2160 (4k-17:9)</description>
      </entry>
      <entry value="10" name="GOPRO_RESOLUTION_720p_SUPERVIEW">
        <description>1280 x 720 (720p-SuperView)</description>
      </entry>
      <entry value="11" name="GOPRO_RESOLUTION_1080p_SUPERVIEW">
        <description>1920 x 1080 (1080p-SuperView)</description>
      </entry>
      <entry value="12" name="GOPRO_RESOLUTION_2_7k_SUPERVIEW">
        <description>2704 x 1520 (2.7k-SuperView)</description>
      </entry>
      <entry value="13" name="GOPRO_RESOLUTION_4k_SUPERVIEW">
        <description>3840 x 2160 (4k-SuperView)</description>
      </entry>
    </enum>
    <enum name="GOPRO_FRAME_RATE">
      <entry value="0" name="GOPRO_FRAME_RATE_12">
        <description>12 FPS</description>
      </entry>
      <entry value="1" name="GOPRO_FRAME_RATE_15">
        <description>15 FPS</description>
      </entry>
      <entry value="2" name="GOPRO_FRAME_RATE_24">
        <description>24 FPS</description>
      </entry>
      <entry value="3" name="GOPRO_FRAME_RATE_25">
        <description>25 FPS</description>
      </entry>
      <entry value="4" name="GOPRO_FRAME_RATE_30">
        <description>30 FPS</description>
      </entry>
      <entry value="5" name="GOPRO_FRAME_RATE_48">
        <description>48 FPS</description>
      </entry>
      <entry value="6" name="GOPRO_FRAME_RATE_50">
        <description>50 FPS</description>
      </entry>
      <entry value="7" name="GOPRO_FRAME_RATE_60">
        <description>60 FPS</description>
      </entry>
      <entry value="8" name="GOPRO_FRAME_RATE_80">
        <description>80 FPS</description>
      </entry>
      <entry value="9" name="GOPRO_FRAME_RATE_90">
        <description>90 FPS</description>
      </entry>
      <entry value="10" name="GOPRO_FRAME_RATE_100">
        <description>100 FPS</description>
      </entry>
      <entry value="11" name="GOPRO_FRAME_RATE_120">
        <description>120 FPS</description>
      </entry>
      <entry value="12" name="GOPRO_FRAME_RATE_240">
        <description>240 FPS</description>
      </entry>
      <entry value="13" name="GOPRO_FRAME_RATE_12_5">
        <description>12.5 FPS</description>
      </entry>
    </enum>
    <enum name="GOPRO_FIELD_OF_VIEW">
      <entry value="0" name="GOPRO_FIELD_OF_VIEW_WIDE">
        <description>0x00: Wide</description>
      </entry>
      <entry value="1" name="GOPRO_FIELD_OF_VIEW_MEDIUM">
        <description>0x01: Medium</description>
      </entry>
      <entry value="2" name="GOPRO_FIELD_OF_VIEW_NARROW">
        <description>0x02: Narrow</description>
      </entry>
    </enum>
    <enum name="GOPRO_VIDEO_SETTINGS_FLAGS">
      <entry value="1" name="GOPRO_VIDEO_SETTINGS_TV_MODE">
        <description>0=NTSC, 1=PAL</description>
      </entry>
    </enum>
    <enum name="GOPRO_PHOTO_RESOLUTION">
      <entry value="0" name="GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM">
        <description>5MP Medium</description>
      </entry>
      <entry value="1" name="GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM">
        <description>7MP Medium</description>
      </entry>
      <entry value="2" name="GOPRO_PHOTO_RESOLUTION_7MP_WIDE">
        <description>7MP Wide</description>
      </entry>
      <entry value="3" name="GOPRO_PHOTO_RESOLUTION_10MP_WIDE">
        <description>10MP Wide</description>
      </entry>
      <entry value="4" name="GOPRO_PHOTO_RESOLUTION_12MP_WIDE">
        <description>12MP Wide</description>
      </entry>
    </enum>
    <enum name="GOPRO_PROTUNE_WHITE_BALANCE">
      <entry value="0" name="GOPRO_PROTUNE_WHITE_BALANCE_AUTO">
        <description>Auto</description>
      </entry>
      <entry value="1" name="GOPRO_PROTUNE_WHITE_BALANCE_3000K">
        <description>3000K</description>
      </entry>
      <entry value="2" name="GOPRO_PROTUNE_WHITE_BALANCE_5500K">
        <description>5500K</description>
      </entry>
      <entry value="3" name="GOPRO_PROTUNE_WHITE_BALANCE_6500K">
        <description>6500K</description>
      </entry>
      <entry value="4" name="GOPRO_PROTUNE_WHITE_BALANCE_RAW">
        <description>Camera Raw</description>
      </entry>
    </enum>
    <enum name="GOPRO_PROTUNE_COLOUR">
      <entry value="0" name="GOPRO_PROTUNE_COLOUR_STANDARD">
        <description>Auto</description>
      </entry>
      <entry value="1" name="GOPRO_PROTUNE_COLOUR_NEUTRAL">
        <description>Neutral</description>
      </entry>
    </enum>
    <enum name="GOPRO_PROTUNE_GAIN">
      <entry value="0" name="GOPRO_PROTUNE_GAIN_400">
        <description>ISO 400</description>
      </entry>
      <entry value="1" name="GOPRO_PROTUNE_GAIN_800">
        <description>ISO 800 (Only Hero 4)</description>
      </entry>
      <entry value="2" name="GOPRO_PROTUNE_GAIN_1600">
        <description>ISO 1600</description>
      </entry>
      <entry value="3" name="GOPRO_PROTUNE_GAIN_3200">
        <description>ISO 3200 (Only Hero 4)</description>
      </entry>
      <entry value="4" name="GOPRO_PROTUNE_GAIN_6400">
        <description>ISO 6400</description>
      </entry>
    </enum>
    <enum name="GOPRO_PROTUNE_SHARPNESS">
      <entry value="0" name="GOPRO_PROTUNE_SHARPNESS_LOW">
        <description>Low Sharpness</description>
      </entry>
      <entry value="1" name="GOPRO_PROTUNE_SHARPNESS_MEDIUM">
        <description>Medium Sharpness</description>
      </entry>
      <entry value="2" name="GOPRO_PROTUNE_SHARPNESS_HIGH">
        <description>High Sharpness</description>
      </entry>
    </enum>
    <enum name="GOPRO_PROTUNE_EXPOSURE">
      <entry value="0" name="GOPRO_PROTUNE_EXPOSURE_NEG_5_0">
        <description>-5.0 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="1" name="GOPRO_PROTUNE_EXPOSURE_NEG_4_5">
        <description>-4.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="2" name="GOPRO_PROTUNE_EXPOSURE_NEG_4_0">
        <description>-4.0 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="3" name="GOPRO_PROTUNE_EXPOSURE_NEG_3_5">
        <description>-3.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="4" name="GOPRO_PROTUNE_EXPOSURE_NEG_3_0">
        <description>-3.0 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="5" name="GOPRO_PROTUNE_EXPOSURE_NEG_2_5">
        <description>-2.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="6" name="GOPRO_PROTUNE_EXPOSURE_NEG_2_0">
        <description>-2.0 EV</description>
      </entry>
      <entry value="7" name="GOPRO_PROTUNE_EXPOSURE_NEG_1_5">
        <description>-1.5 EV</description>
      </entry>
      <entry value="8" name="GOPRO_PROTUNE_EXPOSURE_NEG_1_0">
        <description>-1.0 EV</description>
      </entry>
      <entry value="9" name="GOPRO_PROTUNE_EXPOSURE_NEG_0_5">
        <description>-0.5 EV</description>
      </entry>
      <entry value="10" name="GOPRO_PROTUNE_EXPOSURE_ZERO">
        <description>0.0 EV</description>
      </entry>
      <entry value="11" name="GOPRO_PROTUNE_EXPOSURE_POS_0_5">
        <description>+0.5 EV</description>
      </entry>
      <entry value="12" name="GOPRO_PROTUNE_EXPOSURE_POS_1_0">
        <description>+1.0 EV</description>
      </entry>
      <entry value="13" name="GOPRO_PROTUNE_EXPOSURE_POS_1_5">
        <description>+1.5 EV</description>
      </entry>
      <entry value="14" name="GOPRO_PROTUNE_EXPOSURE_POS_2_0">
        <description>+2.0 EV</description>
      </entry>
      <entry value="15" name="GOPRO_PROTUNE_EXPOSURE_POS_2_5">
        <description>+2.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="16" name="GOPRO_PROTUNE_EXPOSURE_POS_3_0">
        <description>+3.0 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="17" name="GOPRO_PROTUNE_EXPOSURE_POS_3_5">
        <description>+3.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="18" name="GOPRO_PROTUNE_EXPOSURE_POS_4_0">
        <description>+4.0 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="19" name="GOPRO_PROTUNE_EXPOSURE_POS_4_5">
        <description>+4.5 EV (Hero 3+ Only)</description>
      </entry>
      <entry value="20" name="GOPRO_PROTUNE_EXPOSURE_POS_5_0">
        <description>+5.0 EV (Hero 3+ Only)</description>
      </entry>
    </enum>
    <enum name="GOPRO_CHARGING">
      <entry value="0" name="GOPRO_CHARGING_DISABLED">
        <description>Charging disabled</description>
      </entry>
      <entry value="1" name="GOPRO_CHARGING_ENABLED">
        <description>Charging enabled</description>
      </entry>
    </enum>
    <enum name="GOPRO_MODEL">
      <entry value="0" name="GOPRO_MODEL_UNKNOWN">
        <description>Unknown gopro model</description>
      </entry>
      <entry value="1" name="GOPRO_MODEL_HERO_3_PLUS_SILVER">
        <description>Hero 3+ Silver (HeroBus not supported by GoPro)</description>
      </entry>
      <entry value="2" name="GOPRO_MODEL_HERO_3_PLUS_BLACK">
        <description>Hero 3+ Black</description>
      </entry>
      <entry value="3" name="GOPRO_MODEL_HERO_4_SILVER">
        <description>Hero 4 Silver</description>
      </entry>
      <entry value="4" name="GOPRO_MODEL_HERO_4_BLACK">
        <description>Hero 4 Black</description>
      </entry>
    </enum>
    <enum name="GOPRO_BURST_RATE">
      <entry value="0" name="GOPRO_BURST_RATE_3_IN_1_SECOND">
        <description>3 Shots / 1 Second</description>
      </entry>
      <entry value="1" name="GOPRO_BURST_RATE_5_IN_1_SECOND">
        <description>5 Shots / 1 Second</description>
      </entry>
      <entry value="2" name="GOPRO_BURST_RATE_10_IN_1_SECOND">
        <description>10 Shots / 1 Second</description>
      </entry>
      <entry value="3" name="GOPRO_BURST_RATE_10_IN_2_SECOND">
        <description>10 Shots / 2 Second</description>
      </entry>
      <entry value="4" name="GOPRO_BURST_RATE_10_IN_3_SECOND">
        <description>10 Shots / 3 Second (Hero 4 Only)</description>
      </entry>
      <entry value="5" name="GOPRO_BURST_RATE_30_IN_1_SECOND">
        <description>30 Shots / 1 Second</description>
      </entry>
      <entry value="6" name="GOPRO_BURST_RATE_30_IN_2_SECOND">
        <description>30 Shots / 2 Second</description>
      </entry>
      <entry value="7" name="GOPRO_BURST_RATE_30_IN_3_SECOND">
        <description>30 Shots / 3 Second</description>
      </entry>
      <entry value="8" name="GOPRO_BURST_RATE_30_IN_6_SECOND">
        <description>30 Shots / 6 Second</description>
      </entry>
    </enum>
    <!-- led control pattern enums (enumeration of specific patterns) -->
    <enum name="LED_CONTROL_PATTERN">
      <entry value="0" name="LED_CONTROL_PATTERN_OFF">
        <description>LED patterns off (return control to regular vehicle control)</description>
      </entry>
      <entry value="1" name="LED_CONTROL_PATTERN_FIRMWAREUPDATE">
        <description>LEDs show pattern during firmware update</description>
      </entry>
      <entry value="255" name="LED_CONTROL_PATTERN_CUSTOM">
        <description>Custom Pattern using custom bytes fields</description>
      </entry>
    </enum>
    <!-- EKF_STATUS_FLAGS - these values should be bit-and with the messages flags field to know if flag has been set -->
    <enum name="EKF_STATUS_FLAGS">
      <description>Flags in EKF_STATUS message</description>
      <entry value="1" name="EKF_ATTITUDE">
        <description>set if EKF's attitude estimate is good</description>
      </entry>
      <entry value="2" name="EKF_VELOCITY_HORIZ">
        <description>set if EKF's horizontal velocity estimate is good</description>
      </entry>
      <entry value="4" name="EKF_VELOCITY_VERT">
        <description>set if EKF's vertical velocity estimate is good</description>
      </entry>
      <entry value="8" name="EKF_POS_HORIZ_REL">
        <description>set if EKF's horizontal position (relative) estimate is good</description>
      </entry>
      <entry value="16" name="EKF_POS_HORIZ_ABS">
        <description>set if EKF's horizontal position (absolute) estimate is good</description>
      </entry>
      <entry value="32" name="EKF_POS_VERT_ABS">
        <description>set if EKF's vertical position (absolute) estimate is good</description>
      </entry>
      <entry value="64" name="EKF_POS_VERT_AGL">
        <description>set if EKF's vertical position (above ground) estimate is good</description>
      </entry>
      <entry value="128" name="EKF_CONST_POS_MODE">
        <description>EKF is in constant position mode and does not know it's absolute or relative position</description>
      </entry>
      <entry value="256" name="EKF_PRED_POS_HORIZ_REL">
        <description>set if EKF's predicted horizontal position (relative) estimate is good</description>
      </entry>
      <entry value="512" name="EKF_PRED_POS_HORIZ_ABS">
        <description>set if EKF's predicted horizontal position (absolute) estimate is good</description>
      </entry>
    </enum>
    <enum name="PID_TUNING_AXIS">
      <entry value="1" name="PID_TUNING_ROLL"/>
      <entry value="2" name="PID_TUNING_PITCH"/>
      <entry value="3" name="PID_TUNING_YAW"/>
      <entry value="4" name="PID_TUNING_ACCZ"/>
      <entry value="5" name="PID_TUNING_STEER"/>
      <entry value="6" name="PID_TUNING_LANDING"/>
    </enum>
    <enum name="MAG_CAL_STATUS">
      <entry value="0" name="MAG_CAL_NOT_STARTED"/>
      <entry value="1" name="MAG_CAL_WAITING_TO_START"/>
      <entry value="2" name="MAG_CAL_RUNNING_STEP_ONE"/>
      <entry value="3" name="MAG_CAL_RUNNING_STEP_TWO"/>
      <entry value="4" name="MAG_CAL_SUCCESS"/>
      <entry value="5" name="MAG_CAL_FAILED"/>
    </enum>
    <enum name="MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS">
      <description>Special ACK block numbers control activation of dataflash log streaming</description>
      <!-- C uses signed integers for enumerations; these constants start at MAX_INT32_T and go down -->
      <!-- 2^31-3 == 2147483645 -->
      <entry value="2147483645" name="MAV_REMOTE_LOG_DATA_BLOCK_STOP">
        <description>UAV to stop sending DataFlash blocks</description>
      </entry>
      <!-- 2^31-2 == 2147483646 -->
      <entry value="2147483646" name="MAV_REMOTE_LOG_DATA_BLOCK_START">
        <description>UAV to start sending DataFlash blocks</description>
      </entry>
      <!-- MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS_ENUM_END will be 2^31-1 == 2147483647 -->
    </enum>
    <enum name="MAV_REMOTE_LOG_DATA_BLOCK_STATUSES">
      <description>Possible remote log data block statuses</description>
      <entry value="0" name="MAV_REMOTE_LOG_DATA_BLOCK_NACK">
        <description>This block has NOT been received</description>
      </entry>
      <entry value="1" name="MAV_REMOTE_LOG_DATA_BLOCK_ACK">
        <description>This block has been received</description>
      </entry>
    </enum>
    <enum name="DEVICE_OP_BUSTYPE">
      <description>Bus types for device operations</description>
      <entry value="0" name="DEVICE_OP_BUSTYPE_I2C">
        <description>I2C Device operation</description>
      </entry>
      <entry value="1" name="DEVICE_OP_BUSTYPE_SPI">
        <description>SPI Device operation</description>
      </entry>
    </enum>
    <enum name="DEEPSTALL_STAGE">
      <description>Deepstall flight stage</description>
      <entry value="0" name="DEEPSTALL_STAGE_FLY_TO_LANDING">
        <description>Flying to the landing point</description>
      </entry>
      <entry value="1" name="DEEPSTALL_STAGE_ESTIMATE_WIND">
        <description>Building an estimate of the wind</description>
      </entry>
      <entry value="2" name="DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT">
        <description>Waiting to breakout of the loiter to fly the approach</description>
      </entry>
      <entry value="3" name="DEEPSTALL_STAGE_FLY_TO_ARC">
        <description>Flying to the first arc point to turn around to the landing point</description>
      </entry>
      <entry value="4" name="DEEPSTALL_STAGE_ARC">
        <description>Turning around back to the deepstall landing point</description>
      </entry>
      <entry value="5" name="DEEPSTALL_STAGE_APPROACH">
        <description>Approaching the landing point</description>
      </entry>
      <entry value="6" name="DEEPSTALL_STAGE_LAND">
        <description>Stalling and steering towards the land point</description>
      </entry>
    </enum>
  </enums>
  <messages>
    <message id="150" name="SENSOR_OFFSETS">
      <description>Offsets and calibrations values for hardware sensors. This makes it easier to debug the calibration process.</description>
      <field type="int16_t" name="mag_ofs_x">magnetometer X offset</field>
      <field type="int16_t" name="mag_ofs_y">magnetometer Y offset</field>
      <field type="int16_t" name="mag_ofs_z">magnetometer Z offset</field>
      <field type="float" name="mag_declination" units="rad">magnetic declination (radians)</field>
      <field type="int32_t" name="raw_press">raw pressure from barometer</field>
      <field type="int32_t" name="raw_temp">raw temperature from barometer</field>
      <field type="float" name="gyro_cal_x">gyro X calibration</field>
      <field type="float" name="gyro_cal_y">gyro Y calibration</field>
      <field type="float" name="gyro_cal_z">gyro Z calibration</field>
      <field type="float" name="accel_cal_x">accel X calibration</field>
      <field type="float" name="accel_cal_y">accel Y calibration</field>
      <field type="float" name="accel_cal_z">accel Z calibration</field>
    </message>
    <message id="151" name="SET_MAG_OFFSETS">
      <description>Deprecated. Use MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS instead. Set the magnetometer offsets</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="int16_t" name="mag_ofs_x">magnetometer X offset</field>
      <field type="int16_t" name="mag_ofs_y">magnetometer Y offset</field>
      <field type="int16_t" name="mag_ofs_z">magnetometer Z offset</field>
    </message>
    <message id="152" name="MEMINFO">
      <description>state of APM memory</description>
      <field type="uint16_t" name="brkval">heap top</field>
      <field type="uint16_t" name="freemem" units="bytes">free memory</field>
      <extensions/>
      <field type="uint32_t" name="freemem32" units="bytes">free memory (32 bit)</field>
    </message>
    <message id="153" name="AP_ADC">
      <description>raw ADC output</description>
      <field type="uint16_t" name="adc1">ADC output 1</field>
      <field type="uint16_t" name="adc2">ADC output 2</field>
      <field type="uint16_t" name="adc3">ADC output 3</field>
      <field type="uint16_t" name="adc4">ADC output 4</field>
      <field type="uint16_t" name="adc5">ADC output 5</field>
      <field type="uint16_t" name="adc6">ADC output 6</field>
    </message>
    <!-- Camera Controller Messages -->
    <message id="154" name="DIGICAM_CONFIGURE">
      <description>Configure on-board Camera Control System.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="mode">Mode enumeration from 1 to N //P, TV, AV, M, Etc (0 means ignore)</field>
      <field type="uint16_t" name="shutter_speed">Divisor number //e.g. 1000 means 1/1000 (0 means ignore)</field>
      <field type="uint8_t" name="aperture">F stop number x 10 //e.g. 28 means 2.8 (0 means ignore)</field>
      <field type="uint8_t" name="iso">ISO enumeration from 1 to N //e.g. 80, 100, 200, Etc (0 means ignore)</field>
      <field type="uint8_t" name="exposure_type">Exposure type enumeration from 1 to N (0 means ignore)</field>
      <field type="uint8_t" name="command_id">Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once</field>
      <field type="uint8_t" name="engine_cut_off" units="ds">Main engine cut-off time before camera trigger in seconds/10 (0 means no cut-off)</field>
      <field type="uint8_t" name="extra_param">Extra parameters enumeration (0 means ignore)</field>
      <field type="float" name="extra_value">Correspondent value to given extra_param</field>
    </message>
    <message id="155" name="DIGICAM_CONTROL">
      <description>Control on-board Camera Control System to take shots.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="session">0: stop, 1: start or keep it up //Session control e.g. show/hide lens</field>
      <field type="uint8_t" name="zoom_pos">1 to N //Zoom's absolute position (0 means ignore)</field>
      <field type="int8_t" name="zoom_step">-100 to 100 //Zooming step value to offset zoom from the current position</field>
      <field type="uint8_t" name="focus_lock">0: unlock focus or keep unlocked, 1: lock focus or keep locked, 3: re-lock focus</field>
      <field type="uint8_t" name="shot">0: ignore, 1: shot or start filming</field>
      <field type="uint8_t" name="command_id">Command Identity (incremental loop: 0 to 255)//A command sent multiple times will be executed or pooled just once</field>
      <field type="uint8_t" name="extra_param">Extra parameters enumeration (0 means ignore)</field>
      <field type="float" name="extra_value">Correspondent value to given extra_param</field>
    </message>
    <!-- Camera Mount Messages -->
    <message id="156" name="MOUNT_CONFIGURE">
      <description>Message to configure a camera mount, directional antenna, etc.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="mount_mode" enum="MAV_MOUNT_MODE">mount operating mode (see MAV_MOUNT_MODE enum)</field>
      <field type="uint8_t" name="stab_roll">(1 = yes, 0 = no)</field>
      <field type="uint8_t" name="stab_pitch">(1 = yes, 0 = no)</field>
      <field type="uint8_t" name="stab_yaw">(1 = yes, 0 = no)</field>
    </message>
    <message id="157" name="MOUNT_CONTROL">
      <description>Message to control a camera mount, directional antenna, etc.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="int32_t" name="input_a">pitch(deg*100) or lat, depending on mount mode</field>
      <field type="int32_t" name="input_b">roll(deg*100) or lon depending on mount mode</field>
      <field type="int32_t" name="input_c">yaw(deg*100) or alt (in cm) depending on mount mode</field>
      <field type="uint8_t" name="save_position">if "1" it will save current trimmed position on EEPROM (just valid for NEUTRAL and LANDING)</field>
    </message>
    <message id="158" name="MOUNT_STATUS">
      <description>Message with some status from APM to GCS about camera or antenna mount</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="int32_t" name="pointing_a" units="cdeg">pitch(deg*100)</field>
      <field type="int32_t" name="pointing_b" units="cdeg">roll(deg*100)</field>
      <field type="int32_t" name="pointing_c" units="cdeg">yaw(deg*100)</field>
    </message>
    <!-- geo-fence messages -->
    <message id="160" name="FENCE_POINT">
      <description>A fence point. Used to set a point when from GCS -&gt; MAV. Also used to return a point from MAV -&gt; GCS</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="idx">point index (first point is 1, 0 is for return point)</field>
      <field type="uint8_t" name="count">total number of points (for sanity checking)</field>
      <field type="float" name="lat" units="deg">Latitude of point</field>
      <field type="float" name="lng" units="deg">Longitude of point</field>
    </message>
    <message id="161" name="FENCE_FETCH_POINT">
      <description>Request a current fence point from MAV</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="idx">point index (first point is 1, 0 is for return point)</field>
    </message>
    <message id="162" name="FENCE_STATUS">
      <description>Status of geo-fencing. Sent in extended status stream when fencing enabled</description>
      <field type="uint8_t" name="breach_status">0 if currently inside fence, 1 if outside</field>
      <field type="uint16_t" name="breach_count">number of fence breaches</field>
      <field type="uint8_t" name="breach_type" enum="FENCE_BREACH">last breach type (see FENCE_BREACH_* enum)</field>
      <field type="uint32_t" name="breach_time" units="ms">time of last breach in milliseconds since boot</field>
    </message>
    <message id="163" name="AHRS">
      <description>Status of DCM attitude estimator</description>
      <field type="float" name="omegaIx" units="rad/s">X gyro drift estimate rad/s</field>
      <field type="float" name="omegaIy" units="rad/s">Y gyro drift estimate rad/s</field>
      <field type="float" name="omegaIz" units="rad/s">Z gyro drift estimate rad/s</field>
      <field type="float" name="accel_weight">average accel_weight</field>
      <field type="float" name="renorm_val">average renormalisation value</field>
      <field type="float" name="error_rp">average error_roll_pitch value</field>
      <field type="float" name="error_yaw">average error_yaw value</field>
    </message>
    <message id="164" name="SIMSTATE">
      <description>Status of simulation environment, if used</description>
      <field type="float" name="roll" units="rad">Roll angle (rad)</field>
      <field type="float" name="pitch" units="rad">Pitch angle (rad)</field>
      <field type="float" name="yaw" units="rad">Yaw angle (rad)</field>
      <field type="float" name="xacc" units="m/s/s">X acceleration m/s/s</field>
      <field type="float" name="yacc" units="m/s/s">Y acceleration m/s/s</field>
      <field type="float" name="zacc" units="m/s/s">Z acceleration m/s/s</field>
      <field type="float" name="xgyro" units="rad/s">Angular speed around X axis rad/s</field>
      <field type="float" name="ygyro" units="rad/s">Angular speed around Y axis rad/s</field>
      <field type="float" name="zgyro" units="rad/s">Angular speed around Z axis rad/s</field>
      <field type="int32_t" name="lat" units="degE7">Latitude in degrees * 1E7</field>
      <field type="int32_t" name="lng" units="degE7">Longitude in degrees * 1E7</field>
    </message>
    <message id="165" name="HWSTATUS">
      <description>Status of key hardware</description>
      <field type="uint16_t" name="Vcc" units="mV">board voltage (mV)</field>
      <field type="uint8_t" name="I2Cerr">I2C error count</field>
    </message>
    <message id="166" name="RADIO">
      <description>Status generated by radio</description>
      <field type="uint8_t" name="rssi">local signal strength</field>
      <field type="uint8_t" name="remrssi">remote signal strength</field>
      <field type="uint8_t" name="txbuf" units="%">how full the tx buffer is as a percentage</field>
      <field type="uint8_t" name="noise">background noise level</field>
      <field type="uint8_t" name="remnoise">remote background noise level</field>
      <field type="uint16_t" name="rxerrors">receive errors</field>
      <field type="uint16_t" name="fixed">count of error corrected packets</field>
    </message>
    <!-- AP_Limits status -->
    <message id="167" name="LIMITS_STATUS">
      <description>Status of AP_Limits. Sent in extended status stream when AP_Limits is enabled</description>
      <field type="uint8_t" name="limits_state" enum="LIMITS_STATE">state of AP_Limits, (see enum LimitState, LIMITS_STATE)</field>
      <field type="uint32_t" name="last_trigger" units="ms">time of last breach in milliseconds since boot</field>
      <field type="uint32_t" name="last_action" units="ms">time of last recovery action in milliseconds since boot</field>
      <field type="uint32_t" name="last_recovery" units="ms">time of last successful recovery in milliseconds since boot</field>
      <field type="uint32_t" name="last_clear" units="ms">time of last all-clear in milliseconds since boot</field>
      <field type="uint16_t" name="breach_count">number of fence breaches</field>
      <field type="uint8_t" name="mods_enabled" enum="LIMIT_MODULE" display="bitmask">AP_Limit_Module bitfield of enabled modules, (see enum moduleid or LIMIT_MODULE)</field>
      <field type="uint8_t" name="mods_required" enum="LIMIT_MODULE" display="bitmask">AP_Limit_Module bitfield of required modules, (see enum moduleid or LIMIT_MODULE)</field>
      <field type="uint8_t" name="mods_triggered" enum="LIMIT_MODULE" display="bitmask">AP_Limit_Module bitfield of triggered modules, (see enum moduleid or LIMIT_MODULE)</field>
    </message>
    <message id="168" name="WIND">
      <description>Wind estimation</description>
      <field type="float" name="direction" units="deg">wind direction that wind is coming from (degrees)</field>
      <field type="float" name="speed" units="m/s">wind speed in ground plane (m/s)</field>
      <field type="float" name="speed_z" units="m/s">vertical wind speed (m/s)</field>
    </message>
    <message id="169" name="DATA16">
      <description>Data packet, size 16</description>
      <field type="uint8_t" name="type">data type</field>
      <field type="uint8_t" name="len" units="bytes">data length</field>
      <field type="uint8_t[16]" name="data">raw data</field>
    </message>
    <message id="170" name="DATA32">
      <description>Data packet, size 32</description>
      <field type="uint8_t" name="type">data type</field>
      <field type="uint8_t" name="len" units="bytes">data length</field>
      <field type="uint8_t[32]" name="data">raw data</field>
    </message>
    <message id="171" name="DATA64">
      <description>Data packet, size 64</description>
      <field type="uint8_t" name="type">data type</field>
      <field type="uint8_t" name="len" units="bytes">data length</field>
      <field type="uint8_t[64]" name="data">raw data</field>
    </message>
    <message id="172" name="DATA96">
      <description>Data packet, size 96</description>
      <field type="uint8_t" name="type">data type</field>
      <field type="uint8_t" name="len" units="bytes">data length</field>
      <field type="uint8_t[96]" name="data">raw data</field>
    </message>
    <message id="173" name="RANGEFINDER">
      <description>Rangefinder reporting</description>
      <field type="float" name="distance" units="m">distance in meters</field>
      <field type="float" name="voltage" units="V">raw voltage if available, zero otherwise</field>
    </message>
    <message id="174" name="AIRSPEED_AUTOCAL">
      <description>Airspeed auto-calibration</description>
      <field type="float" name="vx" units="m/s">GPS velocity north m/s</field>
      <field type="float" name="vy" units="m/s">GPS velocity east m/s</field>
      <field type="float" name="vz" units="m/s">GPS velocity down m/s</field>
      <field type="float" name="diff_pressure" units="Pa">Differential pressure pascals</field>
      <field type="float" name="EAS2TAS">Estimated to true airspeed ratio</field>
      <field type="float" name="ratio">Airspeed ratio</field>
      <field type="float" name="state_x">EKF state x</field>
      <field type="float" name="state_y">EKF state y</field>
      <field type="float" name="state_z">EKF state z</field>
      <field type="float" name="Pax">EKF Pax</field>
      <field type="float" name="Pby">EKF Pby</field>
      <field type="float" name="Pcz">EKF Pcz</field>
    </message>
    <!-- rally point messages -->
    <message id="175" name="RALLY_POINT">
      <description>A rally point. Used to set a point when from GCS -&gt; MAV. Also used to return a point from MAV -&gt; GCS</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="idx">point index (first point is 0)</field>
      <field type="uint8_t" name="count">total number of points (for sanity checking)</field>
      <field type="int32_t" name="lat" units="degE7">Latitude of point in degrees * 1E7</field>
      <field type="int32_t" name="lng" units="degE7">Longitude of point in degrees * 1E7</field>
      <field type="int16_t" name="alt" units="m">Transit / loiter altitude in meters relative to home</field>
      <!-- Path planned landings are still in the future, but we want these fields ready: -->
      <field type="int16_t" name="break_alt" units="m">Break altitude in meters relative to home</field>
      <field type="uint16_t" name="land_dir" units="cdeg">Heading to aim for when landing. In centi-degrees.</field>
      <field type="uint8_t" name="flags" enum="RALLY_FLAGS" display="bitmask">See RALLY_FLAGS enum for definition of the bitmask.</field>
    </message>
    <message id="176" name="RALLY_FETCH_POINT">
      <description>Request a current rally point from MAV. MAV should respond with a RALLY_POINT message. MAV should not respond if the request is invalid.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="idx">point index (first point is 0)</field>
    </message>
    <message id="177" name="COMPASSMOT_STATUS">
      <description>Status of compassmot calibration</description>
      <field type="uint16_t" name="throttle" units="d%">throttle (percent*10)</field>
      <field type="float" name="current" units="A">current (Ampere)</field>
      <field type="uint16_t" name="interference" units="%">interference (percent)</field>
      <field type="float" name="CompensationX">Motor Compensation X</field>
      <field type="float" name="CompensationY">Motor Compensation Y</field>
      <field type="float" name="CompensationZ">Motor Compensation Z</field>
    </message>
    <!-- Coming soon <message name="RALLY_LAND_POINT" id="177"> <description>A rally landing point. An aircraft loitering at a rally point may choose one of these points to land at.</description> <field name="target_system" type="uint8_t">System ID</field> <field name="target_component" type="uint8_t">Component ID</field> <field name="idx" type="uint8_t">point index (first point is 0)</field> <field name="count" type="uint8_t">total number of points (for sanity checking)</field> <field name="lat" type="int32_t">Latitude of point</field> <field name="lng" type="int32_t">Longitude of point</field> <field name="alt" type="uint16_t">Ground AGL (usually 0)</field> </message> <message name="RALLY_LAND_FETCH_POINT" id="178"> <description>Request a current rally land point from MAV</description> <field name="target_system" type="uint8_t">System ID</field> <field name="target_component" type="uint8_t">Component ID</field> <field name="idx" type="uint8_t">point index (first point is 0)</field> </message> -->
    <message id="178" name="AHRS2">
      <description>Status of secondary AHRS filter if available</description>
      <field type="float" name="roll" units="rad">Roll angle (rad)</field>
      <field type="float" name="pitch" units="rad">Pitch angle (rad)</field>
      <field type="float" name="yaw" units="rad">Yaw angle (rad)</field>
      <field type="float" name="altitude" units="m">Altitude (MSL)</field>
      <field type="int32_t" name="lat" units="degE7">Latitude in degrees * 1E7</field>
      <field type="int32_t" name="lng" units="degE7">Longitude in degrees * 1E7</field>
    </message>
    <!-- camera event message from CCB to autopilot: for image trigger events but also things like heartbeat, error, low power, full card, etc -->
    <message id="179" name="CAMERA_STATUS">
      <description>Camera Event</description>
      <field type="uint64_t" name="time_usec" units="us">Image timestamp (microseconds since UNIX epoch, according to camera clock)</field>
      <field type="uint8_t" name="target_system">System ID</field>
      <!-- support multiple concurrent vehicles -->
      <field type="uint8_t" name="cam_idx">Camera ID</field>
      <!-- component ID, to support multiple cameras -->
      <field type="uint16_t" name="img_idx">Image index</field>
      <!-- per camera image index, should be unique+sequential within a mission, preferably non-wrapping -->
      <field type="uint8_t" name="event_id" enum="CAMERA_STATUS_TYPES">See CAMERA_STATUS_TYPES enum for definition of the bitmask</field>
      <field type="float" name="p1">Parameter 1 (meaning depends on event, see CAMERA_STATUS_TYPES enum)</field>
      <field type="float" name="p2">Parameter 2 (meaning depends on event, see CAMERA_STATUS_TYPES enum)</field>
      <field type="float" name="p3">Parameter 3 (meaning depends on event, see CAMERA_STATUS_TYPES enum)</field>
      <field type="float" name="p4">Parameter 4 (meaning depends on event, see CAMERA_STATUS_TYPES enum)</field>
    </message>
    <!-- camera feedback message - can be originated from CCB (in response to a CAMERA_STATUS), or directly from the autopilot as part of a DO_DIGICAM_CONTROL-->
    <message id="180" name="CAMERA_FEEDBACK">
      <description>Camera Capture Feedback</description>
      <field type="uint64_t" name="time_usec" units="us">Image timestamp (microseconds since UNIX epoch), as passed in by CAMERA_STATUS message (or autopilot if no CCB)</field>
      <field type="uint8_t" name="target_system">System ID</field>
      <!-- support multiple concurrent vehicles -->
      <field type="uint8_t" name="cam_idx">Camera ID</field>
      <!-- component ID, to support multiple cameras -->
      <field type="uint16_t" name="img_idx">Image index</field>
      <!-- per camera image index, should be unique+sequential within a mission, preferably non-wrapping -->
      <field type="int32_t" name="lat" units="degE7">Latitude in (deg * 1E7)</field>
      <field type="int32_t" name="lng" units="degE7">Longitude in (deg * 1E7)</field>
      <field type="float" name="alt_msl" units="m">Altitude Absolute (meters AMSL)</field>
      <field type="float" name="alt_rel" units="m">Altitude Relative (meters above HOME location)</field>
      <field type="float" name="roll" units="deg">Camera Roll angle (earth frame, degrees, +-180)</field>
      <!-- initially only supporting fixed cameras, in future we'll need feedback messages from the gimbal so we can include that offset here -->
      <field type="float" name="pitch" units="deg">Camera Pitch angle (earth frame, degrees, +-180)</field>
      <!-- initially only supporting fixed cameras, in future we'll need feedback messages from the gimbal so we can include that offset here -->
      <field type="float" name="yaw" units="deg">Camera Yaw (earth frame, degrees, 0-360, true)</field>
      <!-- initially only supporting fixed cameras, in future we'll need feedback messages from the gimbal so we can include that offset here -->
      <field type="float" name="foc_len" units="mm">Focal Length (mm)</field>
      <!-- per-image to support zooms. Zero means fixed focal length or unknown. Should be true mm, not scaled to 35mm film equivalent -->
      <field type="uint8_t" name="flags" enum="CAMERA_FEEDBACK_FLAGS">See CAMERA_FEEDBACK_FLAGS enum for definition of the bitmask</field>
      <!-- future proofing -->
    </message>
    <message id="181" name="BATTERY2">
      <description>Deprecated. Use BATTERY_STATUS instead. 2nd Battery status</description>
      <field type="uint16_t" name="voltage" units="mV">voltage in millivolts</field>
      <field type="int16_t" name="current_battery" units="cA">Battery current, in centiamperes (1 = 10 milliampere), -1: autopilot does not measure the current</field>
    </message>
    <message id="182" name="AHRS3">
      <description>Status of third AHRS filter if available. This is for ANU research group (Ali and Sean)</description>
      <field type="float" name="roll" units="rad">Roll angle (rad)</field>
      <field type="float" name="pitch" units="rad">Pitch angle (rad)</field>
      <field type="float" name="yaw" units="rad">Yaw angle (rad)</field>
      <field type="float" name="altitude" units="m">Altitude (MSL)</field>
      <field type="int32_t" name="lat" units="degE7">Latitude in degrees * 1E7</field>
      <field type="int32_t" name="lng" units="degE7">Longitude in degrees * 1E7</field>
      <field type="float" name="v1">test variable1</field>
      <field type="float" name="v2">test variable2</field>
      <field type="float" name="v3">test variable3</field>
      <field type="float" name="v4">test variable4</field>
    </message>
    <message id="183" name="AUTOPILOT_VERSION_REQUEST">
      <description>Request the autopilot version from the system/component.</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
    </message>
    <!-- remote log messages -->
    <message id="184" name="REMOTE_LOG_DATA_BLOCK">
      <description>Send a block of log data to remote location</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint32_t" name="seqno" enum="MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS">log data block sequence number</field>
      <field type="uint8_t[200]" name="data">log data block</field>
    </message>
    <message id="185" name="REMOTE_LOG_BLOCK_STATUS">
      <description>Send Status of each log block that autopilot board might have sent</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint32_t" name="seqno">log data block sequence number</field>
      <field type="uint8_t" name="status" enum="MAV_REMOTE_LOG_DATA_BLOCK_STATUSES">log data block status</field>
    </message>
    <message id="186" name="LED_CONTROL">
      <description>Control vehicle LEDs</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="instance">Instance (LED instance to control or 255 for all LEDs)</field>
      <field type="uint8_t" name="pattern">Pattern (see LED_PATTERN_ENUM)</field>
      <field type="uint8_t" name="custom_len">Custom Byte Length</field>
      <field type="uint8_t[24]" name="custom_bytes">Custom Bytes</field>
    </message>
    <message id="191" name="MAG_CAL_PROGRESS">
      <description>Reports progress of compass calibration.</description>
      <field type="uint8_t" name="compass_id">Compass being calibrated</field>
      <field type="uint8_t" name="cal_mask">Bitmask of compasses being calibrated</field>
      <field type="uint8_t" name="cal_status" enum="MAG_CAL_STATUS">Status (see MAG_CAL_STATUS enum)</field>
      <field type="uint8_t" name="attempt">Attempt number</field>
      <field type="uint8_t" name="completion_pct" units="%">Completion percentage</field>
      <field type="uint8_t[10]" name="completion_mask">Bitmask of sphere sections (see http://en.wikipedia.org/wiki/Geodesic_grid)</field>
      <field type="float" name="direction_x">Body frame direction vector for display</field>
      <field type="float" name="direction_y">Body frame direction vector for display</field>
      <field type="float" name="direction_z">Body frame direction vector for display</field>
    </message>
    <message id="192" name="MAG_CAL_REPORT">
      <description>Reports results of completed compass calibration. Sent until MAG_CAL_ACK received.</description>
      <field type="uint8_t" name="compass_id">Compass being calibrated</field>
      <field type="uint8_t" name="cal_mask">Bitmask of compasses being calibrated</field>
      <field type="uint8_t" name="cal_status" enum="MAG_CAL_STATUS">Status (see MAG_CAL_STATUS enum)</field>
      <field type="uint8_t" name="autosaved">0=requires a MAV_CMD_DO_ACCEPT_MAG_CAL, 1=saved to parameters</field>
      <field type="float" name="fitness" units="mgauss">RMS milligauss residuals</field>
      <field type="float" name="ofs_x">X offset</field>
      <field type="float" name="ofs_y">Y offset</field>
      <field type="float" name="ofs_z">Z offset</field>
      <field type="float" name="diag_x">X diagonal (matrix 11)</field>
      <field type="float" name="diag_y">Y diagonal (matrix 22)</field>
      <field type="float" name="diag_z">Z diagonal (matrix 33)</field>
      <field type="float" name="offdiag_x">X off-diagonal (matrix 12 and 21)</field>
      <field type="float" name="offdiag_y">Y off-diagonal (matrix 13 and 31)</field>
      <field type="float" name="offdiag_z">Z off-diagonal (matrix 32 and 23)</field>
    </message>
    <!-- EKF status message from autopilot to GCS. -->
    <message id="193" name="EKF_STATUS_REPORT">
      <description>EKF Status message including flags and variances</description>
      <field type="uint16_t" name="flags" enum="EKF_STATUS_FLAGS">Flags</field>
      <!-- supported flags see EKF_STATUS_FLAGS enum -->
      <field type="float" name="velocity_variance">Velocity variance</field>
      <!-- below 0.5 is good, 0.5~0.79 is warning, 0.8 or higher is bad -->
      <field type="float" name="pos_horiz_variance">Horizontal Position variance</field>
      <field type="float" name="pos_vert_variance">Vertical Position variance</field>
      <field type="float" name="compass_variance">Compass variance</field>
      <field type="float" name="terrain_alt_variance">Terrain Altitude variance</field>
    </message>
    <!-- realtime PID tuning message -->
    <message id="194" name="PID_TUNING">
      <description>PID tuning information</description>
      <field type="uint8_t" name="axis" enum="PID_TUNING_AXIS">axis</field>
      <field type="float" name="desired" units="deg/s">desired rate (degrees/s)</field>
      <field type="float" name="achieved" units="deg/s">achieved rate (degrees/s)</field>
      <field type="float" name="FF">FF component</field>
      <field type="float" name="P">P component</field>
      <field type="float" name="I">I component</field>
      <field type="float" name="D">D component</field>
    </message>
    <message id="195" name="DEEPSTALL">
      <description>Deepstall path planning</description>
      <field type="int32_t" name="landing_lat" units="degE7">Landing latitude (deg * 1E7)</field>
      <field type="int32_t" name="landing_lon" units="degE7">Landing longitude (deg * 1E7)</field>
      <field type="int32_t" name="path_lat" units="degE7">Final heading start point, latitude (deg * 1E7)</field>
      <field type="int32_t" name="path_lon" units="degE7">Final heading start point, longitude (deg * 1E7)</field>
      <field type="int32_t" name="arc_entry_lat" units="degE7">Arc entry point, latitude (deg * 1E7)</field>
      <field type="int32_t" name="arc_entry_lon" units="degE7">Arc entry point, longitude (deg * 1E7)</field>
      <field type="float" name="altitude" units="m">Altitude (meters)</field>
      <field type="float" name="expected_travel_distance" units="m">Distance the aircraft expects to travel during the deepstall</field>
      <field type="float" name="cross_track_error" units="m">Deepstall cross track error in meters (only valid when in DEEPSTALL_STAGE_LAND)</field>
      <field type="uint8_t" name="stage" enum="DEEPSTALL_STAGE">Deepstall stage, see enum MAV_DEEPSTALL_STAGE</field>
    </message>
    <message id="200" name="GIMBAL_REPORT">
      <description>3 axis gimbal mesuraments</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="float" name="delta_time" units="s">Time since last update (seconds)</field>
      <field type="float" name="delta_angle_x" units="rad">Delta angle X (radians)</field>
      <field type="float" name="delta_angle_y" units="rad">Delta angle Y (radians)</field>
      <field type="float" name="delta_angle_z" units="rad">Delta angle X (radians)</field>
      <field type="float" name="delta_velocity_x" units="m/s">Delta velocity X (m/s)</field>
      <field type="float" name="delta_velocity_y" units="m/s">Delta velocity Y (m/s)</field>
      <field type="float" name="delta_velocity_z" units="m/s">Delta velocity Z (m/s)</field>
      <field type="float" name="joint_roll" units="rad">Joint ROLL (radians)</field>
      <field type="float" name="joint_el" units="rad">Joint EL (radians)</field>
      <field type="float" name="joint_az" units="rad">Joint AZ (radians)</field>
    </message>
    <message id="201" name="GIMBAL_CONTROL">
      <description>Control message for rate gimbal</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="float" name="demanded_rate_x" units="rad/s">Demanded angular rate X (rad/s)</field>
      <field type="float" name="demanded_rate_y" units="rad/s">Demanded angular rate Y (rad/s)</field>
      <field type="float" name="demanded_rate_z" units="rad/s">Demanded angular rate Z (rad/s)</field>
    </message>
    <message id="214" name="GIMBAL_TORQUE_CMD_REPORT">
      <description>100 Hz gimbal torque command telemetry</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="int16_t" name="rl_torque_cmd">Roll Torque Command</field>
      <field type="int16_t" name="el_torque_cmd">Elevation Torque Command</field>
      <field type="int16_t" name="az_torque_cmd">Azimuth Torque Command</field>
    </message>
    <!-- GoPro Messages -->
    <message id="215" name="GOPRO_HEARTBEAT">
      <description>Heartbeat from a HeroBus attached GoPro</description>
      <field type="uint8_t" name="status" enum="GOPRO_HEARTBEAT_STATUS">Status</field>
      <field type="uint8_t" name="capture_mode" enum="GOPRO_CAPTURE_MODE">Current capture mode</field>
      <field type="uint8_t" name="flags" enum="GOPRO_HEARTBEAT_FLAGS" display="bitmask">additional status bits</field>
      <!-- see GOPRO_HEARTBEAT_FLAGS -->
    </message>
    <message id="216" name="GOPRO_GET_REQUEST">
      <description>Request a GOPRO_COMMAND response from the GoPro</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="cmd_id" enum="GOPRO_COMMAND">Command ID</field>
    </message>
    <message id="217" name="GOPRO_GET_RESPONSE">
      <description>Response from a GOPRO_COMMAND get request</description>
      <field type="uint8_t" name="cmd_id" enum="GOPRO_COMMAND">Command ID</field>
      <field type="uint8_t" name="status" enum="GOPRO_REQUEST_STATUS">Status</field>
      <field type="uint8_t[4]" name="value">Value</field>
    </message>
    <message id="218" name="GOPRO_SET_REQUEST">
      <description>Request to set a GOPRO_COMMAND with a desired</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint8_t" name="cmd_id" enum="GOPRO_COMMAND">Command ID</field>
      <field type="uint8_t[4]" name="value">Value</field>
    </message>
    <message id="219" name="GOPRO_SET_RESPONSE">
      <description>Response from a GOPRO_COMMAND set request</description>
      <field type="uint8_t" name="cmd_id" enum="GOPRO_COMMAND">Command ID</field>
      <field type="uint8_t" name="status" enum="GOPRO_REQUEST_STATUS">Status</field>
    </message>
    <!-- 219 to 224 RESERVED for more GOPRO-->
    <message id="226" name="RPM">
      <description>RPM sensor output</description>
      <field type="float" name="rpm1">RPM Sensor1</field>
      <field type="float" name="rpm2">RPM Sensor2</field>
    </message>
    <!-- ardupilot specific mavlink2 messages starting at 11000-->
    <!--message id="11000" name="DEVICE_OP_READ">
      <description>Read registers for a device</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint32_t" name="request_id">request ID - copied to reply</field>
      <field type="uint8_t" name="bustype" enum="DEVICE_OP_BUSTYPE">The bus type</field>
      <field type="uint8_t" name="bus">Bus number</field>
      <field type="uint8_t" name="address">Bus address</field>
      <field type="char[40]" name="busname">Name of device on bus (for SPI)</field>
      <field type="uint8_t" name="regstart">First register to read</field>
      <field type="uint8_t" name="count">count of registers to read</field>
    </message>
    <message id="11001" name="DEVICE_OP_READ_REPLY">
      <description>Read registers reply</description>
      <field type="uint32_t" name="request_id">request ID - copied from request</field>
      <field type="uint8_t" name="result">0 for success, anything else is failure code</field>
      <field type="uint8_t" name="regstart">starting register</field>
      <field type="uint8_t" name="count">count of bytes read</field>
      <field type="uint8_t[128]" name="data">reply data</field>
    </message>
    <message id="11002" name="DEVICE_OP_WRITE">
      <description>Write registers for a device</description>
      <field type="uint8_t" name="target_system">System ID</field>
      <field type="uint8_t" name="target_component">Component ID</field>
      <field type="uint32_t" name="request_id">request ID - copied to reply</field>
      <field type="uint8_t" name="bustype" enum="DEVICE_OP_BUSTYPE">The bus type</field>
      <field type="uint8_t" name="bus">Bus number</field>
      <field type="uint8_t" name="address">Bus address</field>
      <field type="char[40]" name="busname">Name of device on bus (for SPI)</field>
      <field type="uint8_t" name="regstart">First register to write</field>
      <field type="uint8_t" name="count">count of registers to write</field>
      <field type="uint8_t[128]" name="data">write data</field>
    </message>
    <message id="11003" name="DEVICE_OP_WRITE_REPLY">
      <description>Write registers reply</description>
      <field type="uint32_t" name="request_id">request ID - copied from request</field>
      <field type="uint8_t" name="result">0 for success, anything else is failure code</field>
    </message>
    < realtime Adaptive Controller tuning message >
    <message id="11010" name="ADAP_TUNING">
      <description>Adaptive Controller tuning information</description>
      <field type="uint8_t" name="axis" enum="PID_TUNING_AXIS">axis</field>
      <field type="float" name="desired" units="deg/s">desired rate (degrees/s)</field>
      <field type="float" name="achieved" units="deg/s">achieved rate (degrees/s)</field>
      <field type="float" name="error">error between model and vehicle</field>
      <field type="float" name="theta">theta estimated state predictor</field>
      <field type="float" name="omega">omega estimated state predictor</field>
      <field type="float" name="sigma">sigma estimated state predictor</field>
      <field type="float" name="theta_dot">theta derivative</field>
      <field type="float" name="omega_dot">omega derivative</field>
      <field type="float" name="sigma_dot">sigma derivative</field>
      <field type="float" name="f">projection operator value</field>
      <field type="float" name="f_dot">projection operator derivative</field>
      <field type="float" name="u">u adaptive controlled output command</field>
    </message>
    < camera vision based attitude and position delta message >
    <message id="11011" name="VISION_POSITION_DELTA">
      <description>camera vision based attitude and position deltas</description>
      <field name="time_usec" type="uint64_t">Timestamp (microseconds, synced to UNIX time or since system boot)</field>
      <field name="time_delta_usec" type="uint64_t">Time in microseconds since the last reported camera frame</field>
      <field type="float[3]" name="angle_delta">Defines a rotation vector in body frame that rotates the vehicle from the previous to the current orientation</field>
      <field type="float[3]" name="position_delta">Change in position in meters from previous to current frame rotated into body frame (0=forward, 1=right, 2=down)</field>
      <field type="float" name="confidence">normalised confidence value from 0 to 100</field>
    </message>
    < Angle of Attack and Side Slip Angle message >
    <message id="11020" name="AOA_SSA">
      <description>Angle of Attack and Side Slip Angle</description>
      <field type="uint64_t" name="time_usec">Timestamp (micros since boot or Unix epoch)</field>
      <field name="AOA" type="float">Angle of Attack (degrees)</field>
      <field name="SSA" type="float">Side Slip Angle (degrees)</field>
    </message-->
  </messages>
</mavlink>