-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathardupilotmega.xml
1775 lines (1775 loc) · 101 KB
/
ardupilotmega.xml
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
<?xml version="1.0"?>
<mavlink>
<include>common.xml</include>
<!-- Vendors -->
<include>uAvionix.xml</include>
<include>icarous.xml</include>
<include>cubepilot.xml</include>
<include>csAirLink.xml</include>
<dialect>2</dialect>
<!-- Note that ArduPilot-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>
<enum name="HEADING_TYPE">
<entry value="0" name="HEADING_TYPE_COURSE_OVER_GROUND"/>
<entry value="1" name="HEADING_TYPE_HEADING"/>
</enum>
<!-- ardupilot specific MAV_CMD_* commands -->
<enum name="MAV_CMD">
<!-- 200 to 214 used by common.xml -->
<entry value="215" name="MAV_CMD_DO_SET_RESUME_REPEAT_DIST" hasLocation="false" isDestination="false">
<description>Set the distance to be repeated on mission resume</description>
<param index="1" label="Distance" units="m">Distance.</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="216" name="MAV_CMD_DO_SPRAYER" hasLocation="false" isDestination="false">
<description>Control attached liquid sprayer</description>
<param index="1" label="Sprayer Enable" minValue="0" maxValue="1" increment="1">0: disable sprayer. 1: enable sprayer.</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="217" name="MAV_CMD_DO_SEND_SCRIPT_MESSAGE" hasLocation="false" isDestination="false">
<description>Pass instructions onto scripting, a script should be checking for a new command</description>
<param index="1" label="ID" minValue="0" maxValue="65535" increment="1">uint16 ID value to be passed to scripting</param>
<param index="2" label="param 1">float value to be passed to scripting</param>
<param index="3" label="param 2">float value to be passed to scripting</param>
<param index="4" label="param 3">float value to be passed to scripting</param>
<param index="5">Empty.</param>
<param index="6">Empty.</param>
<param index="7">Empty.</param>
</entry>
<entry value="218" name="MAV_CMD_DO_AUX_FUNCTION">
<description>Execute auxiliary function</description>
<param index="1" label="AuxiliaryFunction">Auxiliary Function.</param>
<param index="2" label="SwitchPosition" enum="MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL">Switch Level.</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" hasLocation="false" isDestination="false">
<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" label="Altitude" units="m">Altitude.</param>
<param index="2" label="Descent Speed" units="m/s">Descent speed.</param>
<param index="3" label="Wiggle Time" units="s">How long to wiggle the control surfaces to prevent them seizing up.</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" hasLocation="false" isDestination="false">
<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" hasLocation="false" isDestination="false">
<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" hasLocation="false" isDestination="false">
<description>FLY button has been held for 1.5 seconds.</description>
<param index="1" label="Takeoff Altitude" units="m">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" hasLocation="false" isDestination="false">
<description>PAUSE button has been clicked.</description>
<param index="1" label="Shot Mode" minValue="0" maxValue="1" increment="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" hasLocation="false" isDestination="false">
<description>Magnetometer calibration based on fixed position
in earth field given by inclination, declination and intensity.</description>
<param index="1" label="Declination" units="deg">Magnetic declination.</param>
<param index="2" label="Inclination" units="deg">Magnetic inclination.</param>
<param index="3" label="Intensity" units="mgauss">Magnetic intensity.</param>
<param index="4" label="Yaw" units="deg">Yaw.</param>
<param index="5">Empty.</param>
<param index="6">Empty.</param>
<param index="7">Empty.</param>
</entry>
<entry value="42005" name="MAV_CMD_FIXED_MAG_CAL_FIELD" hasLocation="false" isDestination="false">
<description>Magnetometer calibration based on fixed expected field values.</description>
<param index="1" label="Field X" units="mgauss">Field strength X.</param>
<param index="2" label="Field Y" units="mgauss">Field strength Y.</param>
<param index="3" label="Field Z" units="mgauss">Field strength Z.</param>
<param index="4">Empty.</param>
<param index="5">Empty.</param>
<param index="6">Empty.</param>
<param index="7">Empty.</param>
</entry>
<!-- 42006 MAV_CMD_FIXED_MAG_CAL_YAW moved to common.xml -->
<entry value="42007" name="MAV_CMD_SET_EKF_SOURCE_SET" hasLocation="false" isDestination="false">
<description>Set EKF sensor source set.</description>
<param index="1" label="SourceSetId" minValue="1" maxValue="3" increment="1">Source Set Id.</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="42424" name="MAV_CMD_DO_START_MAG_CAL" hasLocation="false" isDestination="false">
<description>Initiate a magnetometer calibration.</description>
<param index="1" label="Magnetometers Bitmask" minValue="0" maxValue="255" increment="1">Bitmask of magnetometers to calibrate. Use 0 to calibrate all sensors that can be started (sensors may not start if disabled, unhealthy, etc.). The command will NACK if calibration does not start for a sensor explicitly specified by the bitmask.</param>
<param index="2" label="Retry on Failure" minValue="0" maxValue="1" increment="1">Automatically retry on failure (0=no retry, 1=retry).</param>
<param index="3" label="Autosave" minValue="0" maxValue="1" increment="1">Save without user input (0=require input, 1=autosave).</param>
<param index="4" label="Delay" units="s">Delay.</param>
<param index="5" label="Autoreboot" minValue="0" maxValue="1" increment="1">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" hasLocation="false" isDestination="false">
<description>Accept a magnetometer calibration.</description>
<param index="1" label="Magnetometers Bitmask" minValue="0" maxValue="255" increment="1">Bitmask of magnetometers that calibration is accepted (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" hasLocation="false" isDestination="false">
<description>Cancel a running magnetometer calibration.</description>
<param index="1" label="Magnetometers Bitmask" minValue="0" maxValue="255" increment="1">Bitmask of magnetometers to cancel a running calibration (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" hasLocation="false" isDestination="false">
<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" label="Position" enum="ACCELCAL_VEHICLE_POS">Position.</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" hasLocation="false" isDestination="false">
<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="42427" name="MAV_CMD_SET_FACTORY_TEST_MODE" hasLocation="false" isDestination="false">
<description>Command autopilot to get into factory test/diagnostic mode.</description>
<param index="1" label="Test Mode" minValue="0" maxValue="1" increment="1">0: activate test mode, 1: exit 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="42501" name="MAV_CMD_GIMBAL_RESET" hasLocation="false" isDestination="false">
<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="42502" name="MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS" hasLocation="false" isDestination="false">
<description>Reports progress and success or failure of gimbal axis calibration procedure.</description>
<param index="1" label="Axis" enum="GIMBAL_AXIS">Gimbal axis we're reporting calibration progress for.</param>
<param index="2" label="Progress" units="%" minValue="0" maxValue="100">Current calibration progress for this axis.</param>
<param index="3" label="Status" enum="GIMBAL_AXIS_CALIBRATION_STATUS">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" hasLocation="false" isDestination="false">
<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" hasLocation="false" isDestination="false">
<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>
<!-- 42600 used by common.xml -->
<entry value="42650" name="MAV_CMD_FLASH_BOOTLOADER" hasLocation="false" isDestination="false">
<description>Update the bootloader</description>
<param index="1">Empty</param>
<param index="2">Empty</param>
<param index="3">Empty</param>
<param index="4">Empty</param>
<param index="5" label="Magic Number" increment="1">Magic number - set to 290876 to actually flash</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="42651" name="MAV_CMD_BATTERY_RESET" hasLocation="false" isDestination="false">
<description>Reset battery capacity for batteries that accumulate consumed battery via integration.</description>
<param index="1" label="battery mask">Bitmask of batteries to reset. Least significant bit is for the first battery.</param>
<param index="2" label="percentage" minValue="0" maxValue="100" increment="1">Battery percentage remaining to set.</param>
</entry>
<entry value="42700" name="MAV_CMD_DEBUG_TRAP" hasLocation="false" isDestination="false">
<description>Issue a trap signal to the autopilot process, presumably to enter the debugger.</description>
<param index="1">Magic number - set to 32451 to actually trap.</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="42701" name="MAV_CMD_SCRIPTING" hasLocation="false" isDestination="false">
<description>Control onboard scripting.</description>
<param index="1" enum="SCRIPTING_CMD">Scripting command to execute</param>
</entry>
<entry value="42702" name="MAV_CMD_NAV_SCRIPT_TIME" hasLocation="false" isDestination="false">
<description>Scripting command as NAV command with wait for completion.</description>
<param index="1" label="command">integer command number (0 to 255)</param>
<param index="2" label="timeout" units="s">timeout for operation in seconds. Zero means no timeout (0 to 255)</param>
<param index="3" label="arg1">argument1.</param>
<param index="4" label="arg2">argument2.</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="42703" name="MAV_CMD_NAV_ATTITUDE_TIME" hasLocation="false" isDestination="false">
<description>Maintain an attitude for a specified time.</description>
<param index="1" label="time" units="s">Time to maintain specified attitude and climb rate</param>
<param index="2" label="roll" units="deg">Roll angle in degrees (positive is lean right, negative is lean left)</param>
<param index="3" label="pitch" units="deg">Pitch angle in degrees (positive is lean back, negative is lean forward)</param>
<param index="4" label="yaw" units="deg">Yaw angle</param>
<param index="5" label="climb_rate" units="m/s">Climb rate</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="43000" name="MAV_CMD_GUIDED_CHANGE_SPEED" hasLocation="false" isDestination="false">
<description>Change flight speed at a given rate. This slews the vehicle at a controllable rate between it's previous speed and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)</description>
<param index="1" label="speed type" enum="SPEED_TYPE">Airspeed or groundspeed.</param>
<param index="2" label="speed target" units="m/s">Target Speed</param>
<param index="3" label="speed rate-of-change" units="m/s/s">Acceleration rate, 0 to take effect instantly</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<entry value="43001" name="MAV_CMD_GUIDED_CHANGE_ALTITUDE" hasLocation="false" isDestination="false">
<description>Change target altitude at a given rate. This slews the vehicle at a controllable rate between it's previous altitude and the new one. (affects GUIDED only. Outside GUIDED, aircraft ignores these commands. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)</description>
<param index="1">Empty</param>
<param index="2">Empty</param>
<param index="3" label="alt rate-of-change" units="m/s/s" minValue="0">Rate of change, toward new altitude. 0 for maximum rate change. Positive numbers only, as negative numbers will not converge on the new target alt.</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7" label="target alt" units="m">Target Altitude</param>
</entry>
<entry value="43002" name="MAV_CMD_GUIDED_CHANGE_HEADING" hasLocation="false" isDestination="false">
<description>Change to target heading at a given rate, overriding previous heading/s. This slews the vehicle at a controllable rate between it's previous heading and the new one. (affects GUIDED only. Exiting GUIDED returns aircraft to normal behaviour defined elsewhere. Designed for onboard companion-computer command-and-control, not normally operator/GCS control.)</description>
<param index="1" label="heading type" enum="HEADING_TYPE">course-over-ground or raw vehicle heading.</param>
<param index="2" label="heading target" units="deg" minValue="0" maxValue="359.99">Target heading.</param>
<param index="3" label="heading rate-of-change" units="m/s/s">Maximum centripetal accelearation, ie rate of change, toward new heading.</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
<!-- 43003 MAV_CMD_EXTERNAL_POSITION_ESTIMATE moved to common.xml -->
</enum>
<enum name="SCRIPTING_CMD">
<entry value="0" name="SCRIPTING_CMD_REPL_START">
<description>Start a REPL session.</description>
</entry>
<entry value="1" name="SCRIPTING_CMD_REPL_STOP">
<description>End a REPL session.</description>
</entry>
<entry value="2" name="SCRIPTING_CMD_STOP">
<description>Stop execution of scripts.</description>
</entry>
<entry value="3" name="SCRIPTING_CMD_STOP_AND_RESTART">
<description>Stop execution of scripts and restart.</description>
</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 e.g. Return/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" bitmask="true">
<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" bitmask="true">
<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>
<!-- 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" bitmask="true">
<!-- 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" bitmask="true">
<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>
<enum name="MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL">
<entry value="0" name="MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_LOW">
<description>Switch Low.</description>
</entry>
<entry value="1" name="MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_MIDDLE">
<description>Switch Middle.</description>
</entry>
<entry value="2" name="MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_HIGH">
<description>Switch High.</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" bitmask="true">
<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>
<entry value="1024" name="EKF_UNINITIALIZED">
<description>Set if EKF has never been healthy.</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="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">