@aircast-4g/mavlink 1.1.3 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (91) hide show
  1. package/README.md +40 -29
  2. package/dist/dialects/ardupilotmega/index.d.ts +7071 -5
  3. package/dist/dialects/ardupilotmega/index.js +17804 -0
  4. package/dist/dialects/ardupilotmega/index.js.map +1 -0
  5. package/dist/dialects/common/index.d.ts +5335 -5
  6. package/dist/dialects/common/index.js +13709 -0
  7. package/dist/dialects/common/index.js.map +1 -0
  8. package/dist/dialects/minimal/index.d.ts +359 -5
  9. package/dist/dialects/minimal/index.js +859 -0
  10. package/dist/dialects/minimal/index.js.map +1 -0
  11. package/dist/dialects/paparazzi/index.d.ts +5379 -0
  12. package/dist/dialects/paparazzi/index.js +13807 -0
  13. package/dist/dialects/paparazzi/index.js.map +1 -0
  14. package/dist/dialects/python_array_test/index.d.ts +5420 -0
  15. package/dist/dialects/python_array_test/index.js +13954 -0
  16. package/dist/dialects/python_array_test/index.js.map +1 -0
  17. package/dist/dialects/standard/index.d.ts +365 -0
  18. package/dist/dialects/standard/index.js +867 -0
  19. package/dist/dialects/standard/index.js.map +1 -0
  20. package/dist/dialects/test/index.d.ts +115 -0
  21. package/dist/dialects/test/index.js +409 -0
  22. package/dist/dialects/test/index.js.map +1 -0
  23. package/package.json +52 -18
  24. package/dist/cli.d.ts +0 -3
  25. package/dist/cli.d.ts.map +0 -1
  26. package/dist/cli.js +0 -174
  27. package/dist/cli.js.map +0 -1
  28. package/dist/dialects/ardupilotmega/decoder.js +0 -11930
  29. package/dist/dialects/ardupilotmega/enums.d.ts +0 -4631
  30. package/dist/dialects/ardupilotmega/messages.d.ts +0 -8088
  31. package/dist/dialects/ardupilotmega/types.d.ts +0 -2833
  32. package/dist/dialects/common/decoder.js +0 -9098
  33. package/dist/dialects/common/enums.d.ts +0 -3632
  34. package/dist/dialects/common/messages.d.ts +0 -6114
  35. package/dist/dialects/common/types.d.ts +0 -2159
  36. package/dist/dialects/minimal/decoder.js +0 -67
  37. package/dist/dialects/minimal/enums.d.ts +0 -494
  38. package/dist/dialects/minimal/messages.d.ts +0 -62
  39. package/dist/dialects/minimal/types.d.ts +0 -272
  40. package/dist/generator/batch-processor.d.ts +0 -17
  41. package/dist/generator/batch-processor.d.ts.map +0 -1
  42. package/dist/generator/batch-processor.js +0 -141
  43. package/dist/generator/batch-processor.js.map +0 -1
  44. package/dist/generator/generator.d.ts +0 -16
  45. package/dist/generator/generator.d.ts.map +0 -1
  46. package/dist/generator/generator.js +0 -136
  47. package/dist/generator/generator.js.map +0 -1
  48. package/dist/generator/template-engine.d.ts +0 -14
  49. package/dist/generator/template-engine.d.ts.map +0 -1
  50. package/dist/generator/template-engine.js +0 -270
  51. package/dist/generator/template-engine.js.map +0 -1
  52. package/dist/generator/type-converter.d.ts +0 -15
  53. package/dist/generator/type-converter.d.ts.map +0 -1
  54. package/dist/generator/type-converter.js +0 -179
  55. package/dist/generator/type-converter.js.map +0 -1
  56. package/dist/generator/xml-parser.d.ts +0 -13
  57. package/dist/generator/xml-parser.d.ts.map +0 -1
  58. package/dist/generator/xml-parser.js +0 -170
  59. package/dist/generator/xml-parser.js.map +0 -1
  60. package/dist/index.d.ts +0 -8
  61. package/dist/index.d.ts.map +0 -1
  62. package/dist/index.js +0 -37
  63. package/dist/index.js.map +0 -1
  64. package/dist/parser/crc.d.ts +0 -7
  65. package/dist/parser/crc.d.ts.map +0 -1
  66. package/dist/parser/crc.js +0 -182
  67. package/dist/parser/crc.js.map +0 -1
  68. package/dist/parser/frame-parser.d.ts +0 -15
  69. package/dist/parser/frame-parser.d.ts.map +0 -1
  70. package/dist/parser/frame-parser.js +0 -82
  71. package/dist/parser/frame-parser.js.map +0 -1
  72. package/dist/parser/index.d.ts +0 -6
  73. package/dist/parser/index.d.ts.map +0 -1
  74. package/dist/parser/index.js +0 -28
  75. package/dist/parser/index.js.map +0 -1
  76. package/dist/parser/mavlink-parser.d.ts +0 -35
  77. package/dist/parser/mavlink-parser.d.ts.map +0 -1
  78. package/dist/parser/mavlink-parser.js +0 -215
  79. package/dist/parser/mavlink-parser.js.map +0 -1
  80. package/dist/parser/message-decoder.d.ts +0 -47
  81. package/dist/parser/message-decoder.d.ts.map +0 -1
  82. package/dist/parser/message-decoder.js +0 -288
  83. package/dist/parser/message-decoder.js.map +0 -1
  84. package/dist/parser/types.d.ts +0 -60
  85. package/dist/parser/types.d.ts.map +0 -1
  86. package/dist/parser/types.js +0 -13
  87. package/dist/parser/types.js.map +0 -1
  88. package/dist/types.d.ts +0 -110
  89. package/dist/types.d.ts.map +0 -1
  90. package/dist/types.js +0 -3
  91. package/dist/types.js.map +0 -1
@@ -1,2833 +0,0 @@
1
- // Auto-generated TypeScript types for ardupilotmega dialect
2
- // Generated from MAVLink XML definitions
3
-
4
- export interface MAVLinkMessage<Content = unknown> {
5
- timestamp: number;
6
- system_id: number;
7
- component_id: number;
8
- type: string;
9
- payload: Content;
10
- }
11
-
12
- // Micro air vehicle / autopilot classes. This identifies the individual model.
13
- export type MAV_AUTOPILOT =
14
- | 0 // MAV_AUTOPILOT_GENERIC - Generic autopilot, full support for everything
15
- | 1 // MAV_AUTOPILOT_RESERVED - Reserved for future use.
16
- | 2 // MAV_AUTOPILOT_SLUGS - SLUGS autopilot, http://slugsuav.soe.ucsc.edu
17
- | 3 // MAV_AUTOPILOT_ARDUPILOTMEGA - ArduPilot - Plane/Copter/Rover/Sub/Tracker, https://ardupilot.org
18
- | 4 // MAV_AUTOPILOT_OPENPILOT - OpenPilot, http://openpilot.org
19
- | 5 // MAV_AUTOPILOT_GENERIC_WAYPOINTS_ONLY - Generic autopilot only supporting simple waypoints
20
- | 6 // MAV_AUTOPILOT_GENERIC_WAYPOINTS_AND_SIMPLE_NAVIGATION_ONLY - Generic autopilot supporting waypoints and other simple navigation commands
21
- | 7 // MAV_AUTOPILOT_GENERIC_MISSION_FULL - Generic autopilot supporting the full mission command set
22
- | 8 // MAV_AUTOPILOT_INVALID - No valid autopilot, e.g. a GCS or other MAVLink component
23
- | 9 // MAV_AUTOPILOT_PPZ - PPZ UAV - http://nongnu.org/paparazzi
24
- | 10 // MAV_AUTOPILOT_UDB - UAV Dev Board
25
- | 11 // MAV_AUTOPILOT_FP - FlexiPilot
26
- | 12 // MAV_AUTOPILOT_PX4 - PX4 Autopilot - http://px4.io/
27
- | 13 // MAV_AUTOPILOT_SMACCMPILOT - SMACCMPilot - http://smaccmpilot.org
28
- | 14 // MAV_AUTOPILOT_AUTOQUAD - AutoQuad -- http://autoquad.org
29
- | 15 // MAV_AUTOPILOT_ARMAZILA - Armazila -- http://armazila.com
30
- | 16 // MAV_AUTOPILOT_AEROB - Aerob -- http://aerob.ru
31
- | 17 // MAV_AUTOPILOT_ASLUAV - ASLUAV autopilot -- http://www.asl.ethz.ch
32
- | 18 // MAV_AUTOPILOT_SMARTAP - SmartAP Autopilot - http://sky-drones.com
33
- | 19 // MAV_AUTOPILOT_AIRRAILS - AirRails - http://uaventure.com
34
- | 20 // MAV_AUTOPILOT_REFLEX - Fusion Reflex - https://fusion.engineering
35
- | number;
36
-
37
- // MAVLINK component type reported in HEARTBEAT message. Flight controllers must report the type of the vehicle on which they are mounted (e.g. MAV_TYPE_OCTOROTOR). All other components must report a value appropriate for their type (e.g. a camera must use MAV_TYPE_CAMERA).
38
- export type MAV_TYPE =
39
- | 0 // MAV_TYPE_GENERIC - Generic micro air vehicle
40
- | 1 // MAV_TYPE_FIXED_WING - Fixed wing aircraft.
41
- | 2 // MAV_TYPE_QUADROTOR - Quadrotor
42
- | 3 // MAV_TYPE_COAXIAL - Coaxial helicopter
43
- | 4 // MAV_TYPE_HELICOPTER - Normal helicopter with tail rotor.
44
- | 5 // MAV_TYPE_ANTENNA_TRACKER - Ground installation
45
- | 6 // MAV_TYPE_GCS - Operator control unit / ground control station
46
- | 7 // MAV_TYPE_AIRSHIP - Airship, controlled
47
- | 8 // MAV_TYPE_FREE_BALLOON - Free balloon, uncontrolled
48
- | 9 // MAV_TYPE_ROCKET - Rocket
49
- | 10 // MAV_TYPE_GROUND_ROVER - Ground rover
50
- | 11 // MAV_TYPE_SURFACE_BOAT - Surface vessel, boat, ship
51
- | 12 // MAV_TYPE_SUBMARINE - Submarine
52
- | 13 // MAV_TYPE_HEXAROTOR - Hexarotor
53
- | 14 // MAV_TYPE_OCTOROTOR - Octorotor
54
- | 15 // MAV_TYPE_TRICOPTER - Tricopter
55
- | 16 // MAV_TYPE_FLAPPING_WING - Flapping wing
56
- | 17 // MAV_TYPE_KITE - Kite
57
- | 18 // MAV_TYPE_ONBOARD_CONTROLLER - Onboard companion controller
58
- | 19 // MAV_TYPE_VTOL_TAILSITTER_DUOROTOR - Two-rotor Tailsitter VTOL that additionally uses control surfaces in vertical operation. Note, value previously named MAV_TYPE_VTOL_DUOROTOR.
59
- | 20 // MAV_TYPE_VTOL_TAILSITTER_QUADROTOR - Quad-rotor Tailsitter VTOL using a V-shaped quad config in vertical operation. Note: value previously named MAV_TYPE_VTOL_QUADROTOR.
60
- | 21 // MAV_TYPE_VTOL_TILTROTOR - Tiltrotor VTOL. Fuselage and wings stay (nominally) horizontal in all flight phases. It able to tilt (some) rotors to provide thrust in cruise flight.
61
- | 22 // MAV_TYPE_VTOL_FIXEDROTOR - VTOL with separate fixed rotors for hover and cruise flight. Fuselage and wings stay (nominally) horizontal in all flight phases.
62
- | 23 // MAV_TYPE_VTOL_TAILSITTER - Tailsitter VTOL. Fuselage and wings orientation changes depending on flight phase: vertical for hover, horizontal for cruise. Use more specific VTOL MAV_TYPE_VTOL_TAILSITTER_DUOROTOR or MAV_TYPE_VTOL_TAILSITTER_QUADROTOR if appropriate.
63
- | 24 // MAV_TYPE_VTOL_TILTWING - Tiltwing VTOL. Fuselage stays horizontal in all flight phases. The whole wing, along with any attached engine, can tilt between vertical and horizontal mode.
64
- | 25 // MAV_TYPE_VTOL_RESERVED5 - VTOL reserved 5
65
- | 26 // MAV_TYPE_GIMBAL - Gimbal
66
- | 27 // MAV_TYPE_ADSB - ADSB system
67
- | 28 // MAV_TYPE_PARAFOIL - Steerable, nonrigid airfoil
68
- | 29 // MAV_TYPE_DODECAROTOR - Dodecarotor
69
- | 30 // MAV_TYPE_CAMERA - Camera
70
- | 31 // MAV_TYPE_CHARGING_STATION - Charging station
71
- | 32 // MAV_TYPE_FLARM - FLARM collision avoidance system
72
- | 33 // MAV_TYPE_SERVO - Servo
73
- | 34 // MAV_TYPE_ODID - Open Drone ID. See https://mavlink.io/en/services/opendroneid.html.
74
- | 35 // MAV_TYPE_DECAROTOR - Decarotor
75
- | 36 // MAV_TYPE_BATTERY - Battery
76
- | 37 // MAV_TYPE_PARACHUTE - Parachute
77
- | 38 // MAV_TYPE_LOG - Log
78
- | 39 // MAV_TYPE_OSD - OSD
79
- | 40 // MAV_TYPE_IMU - IMU
80
- | 41 // MAV_TYPE_GPS - GPS
81
- | 42 // MAV_TYPE_WINCH - Winch
82
- | 43 // MAV_TYPE_GENERIC_MULTIROTOR - Generic multirotor that does not fit into a specific type or whose type is unknown
83
- | 44 // MAV_TYPE_ILLUMINATOR - Illuminator. An illuminator is a light source that is used for lighting up dark areas external to the system: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light).
84
- | 45 // MAV_TYPE_SPACECRAFT_ORBITER - Orbiter spacecraft. Includes satellites orbiting terrestrial and extra-terrestrial bodies. Follows NASA Spacecraft Classification.
85
- | 46 // MAV_TYPE_GROUND_QUADRUPED - A generic four-legged ground vehicle (e.g., a robot dog).
86
- | 47 // MAV_TYPE_VTOL_GYRODYNE - VTOL hybrid of helicopter and autogyro. It has a main rotor for lift and separate propellers for forward flight. The rotor must be powered for hover but can autorotate in cruise flight. See: https://en.wikipedia.org/wiki/Gyrodyne
87
- | 48 // MAV_TYPE_GRIPPER - Gripper
88
- | number;
89
-
90
- // These flags encode the MAV mode, see MAV_MODE enum for useful combinations.
91
- export type MAV_MODE_FLAG =
92
- | 128 // MAV_MODE_FLAG_SAFETY_ARMED - 0b10000000 MAV safety set to armed. Motors are enabled / running / can start. Ready to fly. Additional note: this flag is to be ignore when sent in the command MAV_CMD_DO_SET_MODE and MAV_CMD_COMPONENT_ARM_DISARM shall be used instead. The flag can still be used to report the armed state.
93
- | 64 // MAV_MODE_FLAG_MANUAL_INPUT_ENABLED - 0b01000000 remote control input is enabled.
94
- | 32 // MAV_MODE_FLAG_HIL_ENABLED - 0b00100000 hardware in the loop simulation. All motors / actuators are blocked, but internal software is full operational.
95
- | 16 // MAV_MODE_FLAG_STABILIZE_ENABLED - 0b00010000 system stabilizes electronically its attitude (and optionally position). It needs however further control inputs to move around.
96
- | 8 // MAV_MODE_FLAG_GUIDED_ENABLED - 0b00001000 guided mode enabled, system flies waypoints / mission items.
97
- | 4 // MAV_MODE_FLAG_AUTO_ENABLED - 0b00000100 autonomous mode enabled, system finds its own goal positions. Guided flag can be set or not, depends on the actual implementation.
98
- | 2 // MAV_MODE_FLAG_TEST_ENABLED - 0b00000010 system has a test mode enabled. This flag is intended for temporary system tests and should not be used for stable implementations.
99
- | 1 // MAV_MODE_FLAG_CUSTOM_MODE_ENABLED - 0b00000001 system-specific custom mode is enabled. When using this flag to enable a custom mode all other flags should be ignored.
100
- | number;
101
-
102
- // These values encode the bit positions of the decode position. These values can be used to read the value of a flag bit by combining the base_mode variable with AND with the flag position value. The result will be either 0 or 1, depending on if the flag is set or not.
103
- export type MAV_MODE_FLAG_DECODE_POSITION =
104
- | 128 // MAV_MODE_FLAG_DECODE_POSITION_SAFETY - First bit: 10000000
105
- | 64 // MAV_MODE_FLAG_DECODE_POSITION_MANUAL - Second bit: 01000000
106
- | 32 // MAV_MODE_FLAG_DECODE_POSITION_HIL - Third bit: 00100000
107
- | 16 // MAV_MODE_FLAG_DECODE_POSITION_STABILIZE - Fourth bit: 00010000
108
- | 8 // MAV_MODE_FLAG_DECODE_POSITION_GUIDED - Fifth bit: 00001000
109
- | 4 // MAV_MODE_FLAG_DECODE_POSITION_AUTO - Sixth bit: 00000100
110
- | 2 // MAV_MODE_FLAG_DECODE_POSITION_TEST - Seventh bit: 00000010
111
- | 1 // MAV_MODE_FLAG_DECODE_POSITION_CUSTOM_MODE - Eighth bit: 00000001
112
- | number;
113
-
114
- export type MAV_STATE =
115
- | 0 // MAV_STATE_UNINIT - Uninitialized system, state is unknown.
116
- | 1 // MAV_STATE_BOOT - System is booting up.
117
- | 2 // MAV_STATE_CALIBRATING - System is calibrating and not flight-ready.
118
- | 3 // MAV_STATE_STANDBY - System is grounded and on standby. It can be launched any time.
119
- | 4 // MAV_STATE_ACTIVE - System is active and might be already airborne. Motors are engaged.
120
- | 5 // MAV_STATE_CRITICAL - System is in a non-normal flight mode (failsafe). It can however still navigate.
121
- | 6 // MAV_STATE_EMERGENCY - System is in a non-normal flight mode (failsafe). It lost control over parts or over the whole airframe. It is in mayday and going down.
122
- | 7 // MAV_STATE_POWEROFF - System just initialized its power-down sequence, will shut down now.
123
- | 8 // MAV_STATE_FLIGHT_TERMINATION - System is terminating itself (failsafe or commanded).
124
- | number;
125
-
126
- // Legacy component ID values for particular types of hardware/software that might make up a MAVLink system (autopilot, cameras, servos, avoidance systems etc.).
127
- // Components are not required or expected to use IDs with names that correspond to their type or function, but may choose to do so.
128
- // Using an ID that matches the type may slightly reduce the chances of component id clashes, as, for historical reasons, it is less likely to be used by some other type of component.
129
- // System integration will still need to ensure that all components have unique IDs.
130
- // Component IDs are used for addressing messages to a particular component within a system.
131
- // A component can use any unique ID between 1 and 255 (MAV_COMP_ID_ALL value is the broadcast address, used to send to all components).
132
- // Historically component ID were also used for identifying the type of component.
133
- // New code must not use component IDs to infer the component type, but instead check the MAV_TYPE in the HEARTBEAT message!
134
- export type MAV_COMPONENT =
135
- | 0 // MAV_COMP_ID_ALL - Target id (target_component) used to broadcast messages to all components of the receiving system. Components should attempt to process messages with this component ID and forward to components on any other interfaces. Note: This is not a valid *source* component id for a message.
136
- | 1 // MAV_COMP_ID_AUTOPILOT1 - System flight controller component (&quot;autopilot&quot;). Only one autopilot is expected in a particular system.
137
- | 25 // MAV_COMP_ID_USER1 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
138
- | 26 // MAV_COMP_ID_USER2 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
139
- | 27 // MAV_COMP_ID_USER3 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
140
- | 28 // MAV_COMP_ID_USER4 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
141
- | 29 // MAV_COMP_ID_USER5 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
142
- | 30 // MAV_COMP_ID_USER6 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
143
- | 31 // MAV_COMP_ID_USER7 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
144
- | 32 // MAV_COMP_ID_USER8 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
145
- | 33 // MAV_COMP_ID_USER9 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
146
- | 34 // MAV_COMP_ID_USER10 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
147
- | 35 // MAV_COMP_ID_USER11 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
148
- | 36 // MAV_COMP_ID_USER12 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
149
- | 37 // MAV_COMP_ID_USER13 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
150
- | 38 // MAV_COMP_ID_USER14 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
151
- | 39 // MAV_COMP_ID_USER15 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
152
- | 40 // MAV_COMP_ID_USER16 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
153
- | 41 // MAV_COMP_ID_USER17 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
154
- | 42 // MAV_COMP_ID_USER18 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
155
- | 43 // MAV_COMP_ID_USER19 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
156
- | 44 // MAV_COMP_ID_USER20 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
157
- | 45 // MAV_COMP_ID_USER21 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
158
- | 46 // MAV_COMP_ID_USER22 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
159
- | 47 // MAV_COMP_ID_USER23 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
160
- | 48 // MAV_COMP_ID_USER24 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
161
- | 49 // MAV_COMP_ID_USER25 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
162
- | 50 // MAV_COMP_ID_USER26 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
163
- | 51 // MAV_COMP_ID_USER27 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
164
- | 52 // MAV_COMP_ID_USER28 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
165
- | 53 // MAV_COMP_ID_USER29 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
166
- | 54 // MAV_COMP_ID_USER30 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
167
- | 55 // MAV_COMP_ID_USER31 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
168
- | 56 // MAV_COMP_ID_USER32 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
169
- | 57 // MAV_COMP_ID_USER33 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
170
- | 58 // MAV_COMP_ID_USER34 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
171
- | 59 // MAV_COMP_ID_USER35 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
172
- | 60 // MAV_COMP_ID_USER36 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
173
- | 61 // MAV_COMP_ID_USER37 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
174
- | 62 // MAV_COMP_ID_USER38 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
175
- | 63 // MAV_COMP_ID_USER39 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
176
- | 64 // MAV_COMP_ID_USER40 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
177
- | 65 // MAV_COMP_ID_USER41 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
178
- | 66 // MAV_COMP_ID_USER42 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
179
- | 67 // MAV_COMP_ID_USER43 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
180
- | 68 // MAV_COMP_ID_TELEMETRY_RADIO - Telemetry radio (e.g. SiK radio, or other component that emits RADIO_STATUS messages).
181
- | 69 // MAV_COMP_ID_USER45 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
182
- | 70 // MAV_COMP_ID_USER46 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
183
- | 71 // MAV_COMP_ID_USER47 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
184
- | 72 // MAV_COMP_ID_USER48 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
185
- | 73 // MAV_COMP_ID_USER49 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
186
- | 74 // MAV_COMP_ID_USER50 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
187
- | 75 // MAV_COMP_ID_USER51 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
188
- | 76 // MAV_COMP_ID_USER52 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
189
- | 77 // MAV_COMP_ID_USER53 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
190
- | 78 // MAV_COMP_ID_USER54 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
191
- | 79 // MAV_COMP_ID_USER55 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
192
- | 80 // MAV_COMP_ID_USER56 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
193
- | 81 // MAV_COMP_ID_USER57 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
194
- | 82 // MAV_COMP_ID_USER58 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
195
- | 83 // MAV_COMP_ID_USER59 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
196
- | 84 // MAV_COMP_ID_USER60 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
197
- | 85 // MAV_COMP_ID_USER61 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
198
- | 86 // MAV_COMP_ID_USER62 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
199
- | 87 // MAV_COMP_ID_USER63 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
200
- | 88 // MAV_COMP_ID_USER64 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
201
- | 89 // MAV_COMP_ID_USER65 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
202
- | 90 // MAV_COMP_ID_USER66 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
203
- | 91 // MAV_COMP_ID_USER67 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
204
- | 92 // MAV_COMP_ID_USER68 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
205
- | 93 // MAV_COMP_ID_USER69 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
206
- | 94 // MAV_COMP_ID_USER70 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
207
- | 95 // MAV_COMP_ID_USER71 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
208
- | 96 // MAV_COMP_ID_USER72 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
209
- | 97 // MAV_COMP_ID_USER73 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
210
- | 98 // MAV_COMP_ID_USER74 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
211
- | 99 // MAV_COMP_ID_USER75 - Id for a component on privately managed MAVLink network. Can be used for any purpose but may not be published by components outside of the private network.
212
- | 100 // MAV_COMP_ID_CAMERA - Camera #1.
213
- | 101 // MAV_COMP_ID_CAMERA2 - Camera #2.
214
- | 102 // MAV_COMP_ID_CAMERA3 - Camera #3.
215
- | 103 // MAV_COMP_ID_CAMERA4 - Camera #4.
216
- | 104 // MAV_COMP_ID_CAMERA5 - Camera #5.
217
- | 105 // MAV_COMP_ID_CAMERA6 - Camera #6.
218
- | 140 // MAV_COMP_ID_SERVO1 - Servo #1.
219
- | 141 // MAV_COMP_ID_SERVO2 - Servo #2.
220
- | 142 // MAV_COMP_ID_SERVO3 - Servo #3.
221
- | 143 // MAV_COMP_ID_SERVO4 - Servo #4.
222
- | 144 // MAV_COMP_ID_SERVO5 - Servo #5.
223
- | 145 // MAV_COMP_ID_SERVO6 - Servo #6.
224
- | 146 // MAV_COMP_ID_SERVO7 - Servo #7.
225
- | 147 // MAV_COMP_ID_SERVO8 - Servo #8.
226
- | 148 // MAV_COMP_ID_SERVO9 - Servo #9.
227
- | 149 // MAV_COMP_ID_SERVO10 - Servo #10.
228
- | 150 // MAV_COMP_ID_SERVO11 - Servo #11.
229
- | 151 // MAV_COMP_ID_SERVO12 - Servo #12.
230
- | 152 // MAV_COMP_ID_SERVO13 - Servo #13.
231
- | 153 // MAV_COMP_ID_SERVO14 - Servo #14.
232
- | 154 // MAV_COMP_ID_GIMBAL - Gimbal #1.
233
- | 155 // MAV_COMP_ID_LOG - Logging component.
234
- | 156 // MAV_COMP_ID_ADSB - Automatic Dependent Surveillance-Broadcast (ADS-B) component.
235
- | 157 // MAV_COMP_ID_OSD - On Screen Display (OSD) devices for video links.
236
- | 158 // MAV_COMP_ID_PERIPHERAL - Generic autopilot peripheral component ID. Meant for devices that do not implement the parameter microservice.
237
- | 159 // MAV_COMP_ID_QX1_GIMBAL - Gimbal ID for QX1.
238
- | 160 // MAV_COMP_ID_FLARM - FLARM collision alert component.
239
- | 161 // MAV_COMP_ID_PARACHUTE - Parachute component.
240
- | 169 // MAV_COMP_ID_WINCH - Winch component.
241
- | 171 // MAV_COMP_ID_GIMBAL2 - Gimbal #2.
242
- | 172 // MAV_COMP_ID_GIMBAL3 - Gimbal #3.
243
- | 173 // MAV_COMP_ID_GIMBAL4 - Gimbal #4
244
- | 174 // MAV_COMP_ID_GIMBAL5 - Gimbal #5.
245
- | 175 // MAV_COMP_ID_GIMBAL6 - Gimbal #6.
246
- | 180 // MAV_COMP_ID_BATTERY - Battery #1.
247
- | 181 // MAV_COMP_ID_BATTERY2 - Battery #2.
248
- | 189 // MAV_COMP_ID_MAVCAN - CAN over MAVLink client.
249
- | 190 // MAV_COMP_ID_MISSIONPLANNER - Component that can generate/supply a mission flight plan (e.g. GCS or developer API).
250
- | 191 // MAV_COMP_ID_ONBOARD_COMPUTER - Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don&#x27;t directly speak mavlink and so on.
251
- | 192 // MAV_COMP_ID_ONBOARD_COMPUTER2 - Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don&#x27;t directly speak mavlink and so on.
252
- | 193 // MAV_COMP_ID_ONBOARD_COMPUTER3 - Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don&#x27;t directly speak mavlink and so on.
253
- | 194 // MAV_COMP_ID_ONBOARD_COMPUTER4 - Component that lives on the onboard computer (companion computer) and has some generic functionalities, such as settings system parameters and monitoring the status of some processes that don&#x27;t directly speak mavlink and so on.
254
- | 195 // MAV_COMP_ID_PATHPLANNER - Component that finds an optimal path between points based on a certain constraint (e.g. minimum snap, shortest path, cost, etc.).
255
- | 196 // MAV_COMP_ID_OBSTACLE_AVOIDANCE - Component that plans a collision free path between two points.
256
- | 197 // MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY - Component that provides position estimates using VIO techniques.
257
- | 198 // MAV_COMP_ID_PAIRING_MANAGER - Component that manages pairing of vehicle and GCS.
258
- | 200 // MAV_COMP_ID_IMU - Inertial Measurement Unit (IMU) #1.
259
- | 201 // MAV_COMP_ID_IMU_2 - Inertial Measurement Unit (IMU) #2.
260
- | 202 // MAV_COMP_ID_IMU_3 - Inertial Measurement Unit (IMU) #3.
261
- | 220 // MAV_COMP_ID_GPS - GPS #1.
262
- | 221 // MAV_COMP_ID_GPS2 - GPS #2.
263
- | 236 // MAV_COMP_ID_ODID_TXRX_1 - Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
264
- | 237 // MAV_COMP_ID_ODID_TXRX_2 - Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
265
- | 238 // MAV_COMP_ID_ODID_TXRX_3 - Open Drone ID transmitter/receiver (Bluetooth/WiFi/Internet).
266
- | 240 // MAV_COMP_ID_UDP_BRIDGE - Component to bridge MAVLink to UDP (i.e. from a UART).
267
- | 241 // MAV_COMP_ID_UART_BRIDGE - Component to bridge to UART (i.e. from UDP).
268
- | 242 // MAV_COMP_ID_TUNNEL_NODE - Component handling TUNNEL messages (e.g. vendor specific GUI of a component).
269
- | 243 // MAV_COMP_ID_ILLUMINATOR - Illuminator
270
- | 250 // MAV_COMP_ID_SYSTEM_CONTROL - Deprecated, don&#x27;t use. Component for handling system messages (e.g. to ARM, takeoff, etc.).
271
- | number;
272
-
273
- // Enum used to indicate true or false (also: success or failure, enabled or disabled, active or inactive).
274
- export type BOOL =
275
- | 0 // BOOL_FALSE - False.
276
- | 1 // BOOL_TRUE - True.
277
- | number;
278
-
279
- // These values define the type of firmware release. These values indicate the first version or release of this type. For example the first alpha release would be 64, the second would be 65.
280
- export type FIRMWARE_VERSION_TYPE =
281
- | 0 // FIRMWARE_VERSION_TYPE_DEV - development release
282
- | 64 // FIRMWARE_VERSION_TYPE_ALPHA - alpha release
283
- | 128 // FIRMWARE_VERSION_TYPE_BETA - beta release
284
- | 192 // FIRMWARE_VERSION_TYPE_RC - release candidate
285
- | 255 // FIRMWARE_VERSION_TYPE_OFFICIAL - official stable release
286
- | number;
287
-
288
- // Flags to report failure cases over the high latency telemetry.
289
- export type HL_FAILURE_FLAG =
290
- | 1 // HL_FAILURE_FLAG_GPS - GPS failure.
291
- | 2 // HL_FAILURE_FLAG_DIFFERENTIAL_PRESSURE - Differential pressure sensor failure.
292
- | 4 // HL_FAILURE_FLAG_ABSOLUTE_PRESSURE - Absolute pressure sensor failure.
293
- | 8 // HL_FAILURE_FLAG_3D_ACCEL - Accelerometer sensor failure.
294
- | 16 // HL_FAILURE_FLAG_3D_GYRO - Gyroscope sensor failure.
295
- | 32 // HL_FAILURE_FLAG_3D_MAG - Magnetometer sensor failure.
296
- | 64 // HL_FAILURE_FLAG_TERRAIN - Terrain subsystem failure.
297
- | 128 // HL_FAILURE_FLAG_BATTERY - Battery failure/critical low battery.
298
- | 256 // HL_FAILURE_FLAG_RC_RECEIVER - RC receiver failure/no RC connection.
299
- | 512 // HL_FAILURE_FLAG_OFFBOARD_LINK - Offboard link failure.
300
- | 1024 // HL_FAILURE_FLAG_ENGINE - Engine failure.
301
- | 2048 // HL_FAILURE_FLAG_GEOFENCE - Geofence violation.
302
- | 4096 // HL_FAILURE_FLAG_ESTIMATOR - Estimator failure, for example measurement rejection or large variances.
303
- | 8192 // HL_FAILURE_FLAG_MISSION - Mission failure.
304
- | number;
305
-
306
- // Actions that may be specified in MAV_CMD_OVERRIDE_GOTO to override mission execution.
307
- export type MAV_GOTO =
308
- | 0 // MAV_GOTO_DO_HOLD - Hold at the current position.
309
- | 1 // MAV_GOTO_DO_CONTINUE - Continue with the next item in mission execution.
310
- | 2 // MAV_GOTO_HOLD_AT_CURRENT_POSITION - Hold at the current position of the system
311
- | 3 // MAV_GOTO_HOLD_AT_SPECIFIED_POSITION - Hold at the position specified in the parameters of the DO_HOLD action
312
- | number;
313
-
314
- // Predefined OR-combined MAV_MODE_FLAG values. These can simplify using the flags when setting modes. Note that manual input is enabled in all modes as a safety override.
315
- export type MAV_MODE =
316
- | 0 // MAV_MODE_PREFLIGHT - System is not ready to fly, booting, calibrating, etc. No flag is set.
317
- | 80 // MAV_MODE_STABILIZE_DISARMED - System is allowed to be active, under assisted RC control (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_STABILIZE_ENABLED)
318
- | 208 // MAV_MODE_STABILIZE_ARMED - System is allowed to be active, under assisted RC control (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_MANUAL_INPUT_ENABLED, MAV_MODE_FLAG_STABILIZE_ENABLED)
319
- | 64 // MAV_MODE_MANUAL_DISARMED - System is allowed to be active, under manual (RC) control, no stabilization (MAV_MODE_FLAG_MANUAL_INPUT_ENABLED)
320
- | 192 // MAV_MODE_MANUAL_ARMED - System is allowed to be active, under manual (RC) control, no stabilization (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_MANUAL_INPUT_ENABLED)
321
- | 88 // MAV_MODE_GUIDED_DISARMED - System is allowed to be active, under autonomous control, manual setpoint (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_STABILIZE_ENABLED, MAV_MODE_FLAG_GUIDED_ENABLED)
322
- | 216 // MAV_MODE_GUIDED_ARMED - System is allowed to be active, under autonomous control, manual setpoint (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_MANUAL_INPUT_ENABLED, MAV_MODE_FLAG_STABILIZE_ENABLED, MAV_MODE_FLAG_GUIDED_ENABLED)
323
- | 92 // MAV_MODE_AUTO_DISARMED - System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints). (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_STABILIZE_ENABLED, MAV_MODE_FLAG_GUIDED_ENABLED, MAV_MODE_FLAG_AUTO_ENABLED).
324
- | 220 // MAV_MODE_AUTO_ARMED - System is allowed to be active, under autonomous control and navigation (the trajectory is decided onboard and not pre-programmed by waypoints). (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_MANUAL_INPUT_ENABLED, MAV_MODE_FLAG_STABILIZE_ENABLED, MAV_MODE_FLAG_GUIDED_ENABLED,MAV_MODE_FLAG_AUTO_ENABLED).
325
- | 66 // MAV_MODE_TEST_DISARMED - UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only. (MAV_MODE_FLAG_MANUAL_INPUT_ENABLED, MAV_MODE_FLAG_TEST_ENABLED).
326
- | 194 // MAV_MODE_TEST_ARMED - UNDEFINED mode. This solely depends on the autopilot - use with caution, intended for developers only (MAV_MODE_FLAG_SAFETY_ARMED, MAV_MODE_FLAG_MANUAL_INPUT_ENABLED, MAV_MODE_FLAG_TEST_ENABLED)
327
- | number;
328
-
329
- // These encode the sensors whose status is sent as part of the SYS_STATUS message.
330
- export type MAV_SYS_STATUS_SENSOR =
331
- | 1 // MAV_SYS_STATUS_SENSOR_3D_GYRO - 0x01 3D gyro
332
- | 2 // MAV_SYS_STATUS_SENSOR_3D_ACCEL - 0x02 3D accelerometer
333
- | 4 // MAV_SYS_STATUS_SENSOR_3D_MAG - 0x04 3D magnetometer
334
- | 8 // MAV_SYS_STATUS_SENSOR_ABSOLUTE_PRESSURE - 0x08 absolute pressure
335
- | 16 // MAV_SYS_STATUS_SENSOR_DIFFERENTIAL_PRESSURE - 0x10 differential pressure
336
- | 32 // MAV_SYS_STATUS_SENSOR_GPS - 0x20 GPS
337
- | 64 // MAV_SYS_STATUS_SENSOR_OPTICAL_FLOW - 0x40 optical flow
338
- | 128 // MAV_SYS_STATUS_SENSOR_VISION_POSITION - 0x80 computer vision position
339
- | 256 // MAV_SYS_STATUS_SENSOR_LASER_POSITION - 0x100 laser based position
340
- | 512 // MAV_SYS_STATUS_SENSOR_EXTERNAL_GROUND_TRUTH - 0x200 external ground truth (Vicon or Leica)
341
- | 1024 // MAV_SYS_STATUS_SENSOR_ANGULAR_RATE_CONTROL - 0x400 3D angular rate control
342
- | 2048 // MAV_SYS_STATUS_SENSOR_ATTITUDE_STABILIZATION - 0x800 attitude stabilization
343
- | 4096 // MAV_SYS_STATUS_SENSOR_YAW_POSITION - 0x1000 yaw position
344
- | 8192 // MAV_SYS_STATUS_SENSOR_Z_ALTITUDE_CONTROL - 0x2000 z/altitude control
345
- | 16384 // MAV_SYS_STATUS_SENSOR_XY_POSITION_CONTROL - 0x4000 x/y position control
346
- | 32768 // MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS - 0x8000 motor outputs / control
347
- | 65536 // MAV_SYS_STATUS_SENSOR_RC_RECEIVER - 0x10000 RC receiver
348
- | 131072 // MAV_SYS_STATUS_SENSOR_3D_GYRO2 - 0x20000 2nd 3D gyro
349
- | 262144 // MAV_SYS_STATUS_SENSOR_3D_ACCEL2 - 0x40000 2nd 3D accelerometer
350
- | 524288 // MAV_SYS_STATUS_SENSOR_3D_MAG2 - 0x80000 2nd 3D magnetometer
351
- | 1048576 // MAV_SYS_STATUS_GEOFENCE - 0x100000 geofence
352
- | 2097152 // MAV_SYS_STATUS_AHRS - 0x200000 AHRS subsystem health
353
- | 4194304 // MAV_SYS_STATUS_TERRAIN - 0x400000 Terrain subsystem health
354
- | 8388608 // MAV_SYS_STATUS_REVERSE_MOTOR - 0x800000 Motors are reversed
355
- | 16777216 // MAV_SYS_STATUS_LOGGING - 0x1000000 Logging
356
- | 33554432 // MAV_SYS_STATUS_SENSOR_BATTERY - 0x2000000 Battery
357
- | 67108864 // MAV_SYS_STATUS_SENSOR_PROXIMITY - 0x4000000 Proximity
358
- | 134217728 // MAV_SYS_STATUS_SENSOR_SATCOM - 0x8000000 Satellite Communication
359
- | 268435456 // MAV_SYS_STATUS_PREARM_CHECK - 0x10000000 pre-arm check status. Always healthy when armed
360
- | 536870912 // MAV_SYS_STATUS_OBSTACLE_AVOIDANCE - 0x20000000 Avoidance/collision prevention
361
- | 1073741824 // MAV_SYS_STATUS_SENSOR_PROPULSION - 0x40000000 propulsion (actuator, esc, motor or propellor)
362
- | 2147483648 // MAV_SYS_STATUS_EXTENSION_USED - 0x80000000 Extended bit-field are used for further sensor status bits (needs to be set in onboard_control_sensors_present only)
363
- | number;
364
-
365
- // These encode the sensors whose status is sent as part of the SYS_STATUS message in the extended fields.
366
- export type MAV_SYS_STATUS_SENSOR_EXTENDED =
367
- | 1 // MAV_SYS_STATUS_RECOVERY_SYSTEM - 0x01 Recovery system (parachute, balloon, retracts etc)
368
- | number;
369
-
370
- // Coordinate frames used by MAVLink. Not all frames are supported by all commands, messages, or vehicles.
371
- // Global frames use the following naming conventions:
372
- // - &quot;GLOBAL&quot;: Global coordinate frame with WGS84 latitude/longitude and altitude positive over mean sea level (MSL) by default.
373
- // The following modifiers may be used with &quot;GLOBAL&quot;:
374
- // - &quot;RELATIVE_ALT&quot;: Altitude is relative to the vehicle home position rather than MSL.
375
- // - &quot;TERRAIN_ALT&quot;: Altitude is relative to ground level rather than MSL.
376
- // - &quot;INT&quot;: Latitude/longitude (in degrees) are scaled by multiplying by 1E7.
377
- // Local frames use the following naming conventions:
378
- // - &quot;LOCAL&quot;: Origin of local frame is fixed relative to earth. Unless otherwise specified this origin is the origin of the vehicle position-estimator (&quot;EKF&quot;).
379
- // - &quot;BODY&quot;: Origin of local frame travels with the vehicle. NOTE, &quot;BODY&quot; does NOT indicate alignment of frame axis with vehicle attitude.
380
- // - &quot;OFFSET&quot;: Deprecated synonym for &quot;BODY&quot; (origin travels with the vehicle). Not to be used for new frames.
381
- // Some deprecated frames do not follow these conventions (e.g. MAV_FRAME_BODY_NED and MAV_FRAME_BODY_OFFSET_NED).
382
- export type MAV_FRAME =
383
- | 0 // MAV_FRAME_GLOBAL - Global (WGS84) coordinate frame + altitude relative to mean sea level (MSL).
384
- | 1 // MAV_FRAME_LOCAL_NED - NED local tangent frame (x: North, y: East, z: Down) with origin fixed relative to earth.
385
- | 2 // MAV_FRAME_MISSION - NOT a coordinate frame, indicates a mission command.
386
- | 3 // MAV_FRAME_GLOBAL_RELATIVE_ALT - Global (WGS84) coordinate frame + altitude relative to the home position.
387
- | 4 // MAV_FRAME_LOCAL_ENU - ENU local tangent frame (x: East, y: North, z: Up) with origin fixed relative to earth.
388
- | 5 // MAV_FRAME_GLOBAL_INT - Global (WGS84) coordinate frame (scaled) + altitude relative to mean sea level (MSL).
389
- | 6 // MAV_FRAME_GLOBAL_RELATIVE_ALT_INT - Global (WGS84) coordinate frame (scaled) + altitude relative to the home position.
390
- | 7 // MAV_FRAME_LOCAL_OFFSET_NED - NED local tangent frame (x: North, y: East, z: Down) with origin that travels with the vehicle.
391
- | 8 // MAV_FRAME_BODY_NED - Same as MAV_FRAME_LOCAL_NED when used to represent position values. Same as MAV_FRAME_BODY_FRD when used with velocity/acceleration values.
392
- | 9 // MAV_FRAME_BODY_OFFSET_NED - This is the same as MAV_FRAME_BODY_FRD.
393
- | 10 // MAV_FRAME_GLOBAL_TERRAIN_ALT - Global (WGS84) coordinate frame with AGL altitude (altitude at ground level).
394
- | 11 // MAV_FRAME_GLOBAL_TERRAIN_ALT_INT - Global (WGS84) coordinate frame (scaled) with AGL altitude (altitude at ground level).
395
- | 12 // MAV_FRAME_BODY_FRD - FRD local frame aligned to the vehicle&#x27;s attitude (x: Forward, y: Right, z: Down) with an origin that travels with vehicle.
396
- | 13 // MAV_FRAME_RESERVED_13 - MAV_FRAME_BODY_FLU - Body fixed frame of reference, Z-up (x: Forward, y: Left, z: Up).
397
- | 14 // MAV_FRAME_RESERVED_14 - MAV_FRAME_MOCAP_NED - Odometry local coordinate frame of data given by a motion capture system, Z-down (x: North, y: East, z: Down).
398
- | 15 // MAV_FRAME_RESERVED_15 - MAV_FRAME_MOCAP_ENU - Odometry local coordinate frame of data given by a motion capture system, Z-up (x: East, y: North, z: Up).
399
- | 16 // MAV_FRAME_RESERVED_16 - MAV_FRAME_VISION_NED - Odometry local coordinate frame of data given by a vision estimation system, Z-down (x: North, y: East, z: Down).
400
- | 17 // MAV_FRAME_RESERVED_17 - MAV_FRAME_VISION_ENU - Odometry local coordinate frame of data given by a vision estimation system, Z-up (x: East, y: North, z: Up).
401
- | 18 // MAV_FRAME_RESERVED_18 - MAV_FRAME_ESTIM_NED - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-down (x: North, y: East, z: Down).
402
- | 19 // MAV_FRAME_RESERVED_19 - MAV_FRAME_ESTIM_ENU - Odometry local coordinate frame of data given by an estimator running onboard the vehicle, Z-up (x: East, y: North, z: Up).
403
- | 20 // MAV_FRAME_LOCAL_FRD - FRD local tangent frame (x: Forward, y: Right, z: Down) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane.
404
- | 21 // MAV_FRAME_LOCAL_FLU - FLU local tangent frame (x: Forward, y: Left, z: Up) with origin fixed relative to earth. The forward axis is aligned to the front of the vehicle in the horizontal plane.
405
- | number;
406
-
407
- export type MAVLINK_DATA_STREAM_TYPE =
408
- | 0
409
- | 1
410
- | 2
411
- | 3
412
- | 4
413
- | 5
414
- | number;
415
-
416
- export type FENCE_BREACH =
417
- | 0 // FENCE_BREACH_NONE - No last fence breach
418
- | 1 // FENCE_BREACH_MINALT - Breached minimum altitude
419
- | 2 // FENCE_BREACH_MAXALT - Breached maximum altitude
420
- | 3 // FENCE_BREACH_BOUNDARY - Breached fence boundary
421
- | number;
422
-
423
- // Actions being taken to mitigate/prevent fence breach
424
- export type FENCE_MITIGATE =
425
- | 0 // FENCE_MITIGATE_UNKNOWN - Unknown
426
- | 1 // FENCE_MITIGATE_NONE - No actions being taken
427
- | 2 // FENCE_MITIGATE_VEL_LIMIT - Velocity limiting active to prevent breach
428
- | number;
429
-
430
- // Fence types to enable or disable when using MAV_CMD_DO_FENCE_ENABLE.
431
- // Note that at least one of these flags must be set in MAV_CMD_DO_FENCE_ENABLE.param2.
432
- // If none are set, the flight stack will ignore the field and enable/disable its default set of fences (usually all of them).
433
- export type FENCE_TYPE =
434
- | 1 // FENCE_TYPE_ALT_MAX - Maximum altitude fence
435
- | 2 // FENCE_TYPE_CIRCLE - Circle fence
436
- | 4 // FENCE_TYPE_POLYGON - Polygon fence
437
- | 8 // FENCE_TYPE_ALT_MIN - Minimum altitude fence
438
- | number;
439
-
440
- // Enumeration of possible mount operation modes. This message is used by obsolete/deprecated gimbal messages.
441
- export type MAV_MOUNT_MODE =
442
- | 0 // MAV_MOUNT_MODE_RETRACT - Load and keep safe position (Roll,Pitch,Yaw) from permanent memory and stop stabilization
443
- | 1 // MAV_MOUNT_MODE_NEUTRAL - Load and keep neutral position (Roll,Pitch,Yaw) from permanent memory.
444
- | 2 // MAV_MOUNT_MODE_MAVLINK_TARGETING - Load neutral position and start MAVLink Roll,Pitch,Yaw control with stabilization
445
- | 3 // MAV_MOUNT_MODE_RC_TARGETING - Load neutral position and start RC Roll,Pitch,Yaw control with stabilization
446
- | 4 // MAV_MOUNT_MODE_GPS_POINT - Load neutral position and start to point to Lat,Lon,Alt
447
- | 5 // MAV_MOUNT_MODE_SYSID_TARGET - Gimbal tracks system with specified system ID
448
- | 6 // MAV_MOUNT_MODE_HOME_LOCATION - Gimbal tracks home position
449
- | number;
450
-
451
- // Gimbal device (low level) capability flags (bitmap).
452
- export type GIMBAL_DEVICE_CAP_FLAGS =
453
- | 1 // GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT - Gimbal device supports a retracted position.
454
- | 2 // GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL - Gimbal device supports a horizontal, forward looking position, stabilized.
455
- | 4 // GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS - Gimbal device supports rotating around roll axis.
456
- | 8 // GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW - Gimbal device supports to follow a roll angle relative to the vehicle.
457
- | 16 // GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK - Gimbal device supports locking to a roll angle (generally that&#x27;s the default with roll stabilized).
458
- | 32 // GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS - Gimbal device supports rotating around pitch axis.
459
- | 64 // GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW - Gimbal device supports to follow a pitch angle relative to the vehicle.
460
- | 128 // GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK - Gimbal device supports locking to a pitch angle (generally that&#x27;s the default with pitch stabilized).
461
- | 256 // GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS - Gimbal device supports rotating around yaw axis.
462
- | 512 // GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW - Gimbal device supports to follow a yaw angle relative to the vehicle (generally that&#x27;s the default).
463
- | 1024 // GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK - Gimbal device supports locking to an absolute heading, i.e., yaw angle relative to North (earth frame, often this is an option available).
464
- | 2048 // GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW - Gimbal device supports yawing/panning infinitely (e.g. using slip disk).
465
- | 4096 // GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME - Gimbal device supports yaw angles and angular velocities relative to North (earth frame). This usually requires support by an autopilot via AUTOPILOT_STATE_FOR_GIMBAL_DEVICE. Support can go on and off during runtime, which is reported by the flag GIMBAL_DEVICE_FLAGS_CAN_ACCEPT_YAW_IN_EARTH_FRAME.
466
- | 8192 // GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS - Gimbal device supports radio control inputs as an alternative input for controlling the gimbal orientation.
467
- | number;
468
-
469
- // Gimbal manager high level capability flags (bitmap). The first 16 bits are identical to the GIMBAL_DEVICE_CAP_FLAGS. However, the gimbal manager does not need to copy the flags from the gimbal but can also enhance the capabilities and thus add flags.
470
- export type GIMBAL_MANAGER_CAP_FLAGS =
471
- | 1 // GIMBAL_MANAGER_CAP_FLAGS_HAS_RETRACT - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RETRACT.
472
- | 2 // GIMBAL_MANAGER_CAP_FLAGS_HAS_NEUTRAL - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_NEUTRAL.
473
- | 4 // GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_AXIS - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_AXIS.
474
- | 8 // GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_FOLLOW - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_FOLLOW.
475
- | 16 // GIMBAL_MANAGER_CAP_FLAGS_HAS_ROLL_LOCK - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_ROLL_LOCK.
476
- | 32 // GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_AXIS - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_AXIS.
477
- | 64 // GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_FOLLOW - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_FOLLOW.
478
- | 128 // GIMBAL_MANAGER_CAP_FLAGS_HAS_PITCH_LOCK - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_PITCH_LOCK.
479
- | 256 // GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_AXIS - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_AXIS.
480
- | 512 // GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_FOLLOW - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_FOLLOW.
481
- | 1024 // GIMBAL_MANAGER_CAP_FLAGS_HAS_YAW_LOCK - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_YAW_LOCK.
482
- | 2048 // GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_INFINITE_YAW - Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_INFINITE_YAW.
483
- | 4096 // GIMBAL_MANAGER_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME - Based on GIMBAL_DEVICE_CAP_FLAGS_SUPPORTS_YAW_IN_EARTH_FRAME.
484
- | 8192 // GIMBAL_MANAGER_CAP_FLAGS_HAS_RC_INPUTS - Based on GIMBAL_DEVICE_CAP_FLAGS_HAS_RC_INPUTS.
485
- | 65536 // GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_LOCAL - Gimbal manager supports to point to a local position.
486
- | 131072 // GIMBAL_MANAGER_CAP_FLAGS_CAN_POINT_LOCATION_GLOBAL - Gimbal manager supports to point to a global latitude, longitude, altitude position.
487
- | number;
488
-
489
- // Flags for gimbal device (lower level) operation.
490
- export type GIMBAL_DEVICE_FLAGS =
491
- | 1 // GIMBAL_DEVICE_FLAGS_RETRACT - Set to retracted safe position (no stabilization), takes precedence over all other flags.
492
- | 2 // GIMBAL_DEVICE_FLAGS_NEUTRAL - Set to neutral/default position, taking precedence over all other flags except RETRACT. Neutral is commonly forward-facing and horizontal (roll&#x3D;pitch&#x3D;yaw&#x3D;0) but may be any orientation.
493
- | 4 // GIMBAL_DEVICE_FLAGS_ROLL_LOCK - Lock roll angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal.
494
- | 8 // GIMBAL_DEVICE_FLAGS_PITCH_LOCK - Lock pitch angle to absolute angle relative to horizon (not relative to vehicle). This is generally the default with a stabilizing gimbal.
495
- | 16 // GIMBAL_DEVICE_FLAGS_YAW_LOCK - Lock yaw angle to absolute angle relative to North (not relative to vehicle). If this flag is set, the yaw angle and z component of angular velocity are relative to North (earth frame, x-axis pointing North), else they are relative to the vehicle heading (vehicle frame, earth frame rotated so that the x-axis is pointing forward).
496
- | 32 // GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME - Yaw angle and z component of angular velocity are relative to the vehicle heading (vehicle frame, earth frame rotated such that the x-axis is pointing forward).
497
- | 64 // GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME - Yaw angle and z component of angular velocity are relative to North (earth frame, x-axis is pointing North).
498
- | 128 // GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME - Gimbal device can accept yaw angle inputs relative to North (earth frame). This flag is only for reporting (attempts to set this flag are ignored).
499
- | 256 // GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE - The gimbal orientation is set exclusively by the RC signals feed to the gimbal&#x27;s radio control inputs. MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE) are ignored.
500
- | 512 // GIMBAL_DEVICE_FLAGS_RC_MIXED - The gimbal orientation is determined by combining/mixing the RC signals feed to the gimbal&#x27;s radio control inputs and the MAVLink messages for setting the gimbal orientation (GIMBAL_DEVICE_SET_ATTITUDE). How these two controls are combined or mixed is not defined by the protocol but is up to the implementation.
501
- | number;
502
-
503
- // Flags for high level gimbal manager operation The first 16 bits are identical to the GIMBAL_DEVICE_FLAGS.
504
- export type GIMBAL_MANAGER_FLAGS =
505
- | 1 // GIMBAL_MANAGER_FLAGS_RETRACT - Based on GIMBAL_DEVICE_FLAGS_RETRACT.
506
- | 2 // GIMBAL_MANAGER_FLAGS_NEUTRAL - Based on GIMBAL_DEVICE_FLAGS_NEUTRAL.
507
- | 4 // GIMBAL_MANAGER_FLAGS_ROLL_LOCK - Based on GIMBAL_DEVICE_FLAGS_ROLL_LOCK.
508
- | 8 // GIMBAL_MANAGER_FLAGS_PITCH_LOCK - Based on GIMBAL_DEVICE_FLAGS_PITCH_LOCK.
509
- | 16 // GIMBAL_MANAGER_FLAGS_YAW_LOCK - Based on GIMBAL_DEVICE_FLAGS_YAW_LOCK.
510
- | 32 // GIMBAL_MANAGER_FLAGS_YAW_IN_VEHICLE_FRAME - Based on GIMBAL_DEVICE_FLAGS_YAW_IN_VEHICLE_FRAME.
511
- | 64 // GIMBAL_MANAGER_FLAGS_YAW_IN_EARTH_FRAME - Based on GIMBAL_DEVICE_FLAGS_YAW_IN_EARTH_FRAME.
512
- | 128 // GIMBAL_MANAGER_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME - Based on GIMBAL_DEVICE_FLAGS_ACCEPTS_YAW_IN_EARTH_FRAME.
513
- | 256 // GIMBAL_MANAGER_FLAGS_RC_EXCLUSIVE - Based on GIMBAL_DEVICE_FLAGS_RC_EXCLUSIVE.
514
- | 512 // GIMBAL_MANAGER_FLAGS_RC_MIXED - Based on GIMBAL_DEVICE_FLAGS_RC_MIXED.
515
- | number;
516
-
517
- // Gimbal device (low level) error flags (bitmap, 0 means no error)
518
- export type GIMBAL_DEVICE_ERROR_FLAGS =
519
- | 1 // GIMBAL_DEVICE_ERROR_FLAGS_AT_ROLL_LIMIT - Gimbal device is limited by hardware roll limit.
520
- | 2 // GIMBAL_DEVICE_ERROR_FLAGS_AT_PITCH_LIMIT - Gimbal device is limited by hardware pitch limit.
521
- | 4 // GIMBAL_DEVICE_ERROR_FLAGS_AT_YAW_LIMIT - Gimbal device is limited by hardware yaw limit.
522
- | 8 // GIMBAL_DEVICE_ERROR_FLAGS_ENCODER_ERROR - There is an error with the gimbal encoders.
523
- | 16 // GIMBAL_DEVICE_ERROR_FLAGS_POWER_ERROR - There is an error with the gimbal power source.
524
- | 32 // GIMBAL_DEVICE_ERROR_FLAGS_MOTOR_ERROR - There is an error with the gimbal motors.
525
- | 64 // GIMBAL_DEVICE_ERROR_FLAGS_SOFTWARE_ERROR - There is an error with the gimbal&#x27;s software.
526
- | 128 // GIMBAL_DEVICE_ERROR_FLAGS_COMMS_ERROR - There is an error with the gimbal&#x27;s communication.
527
- | 256 // GIMBAL_DEVICE_ERROR_FLAGS_CALIBRATION_RUNNING - Gimbal device is currently calibrating.
528
- | 512 // GIMBAL_DEVICE_ERROR_FLAGS_NO_MANAGER - Gimbal device is not assigned to a gimbal manager.
529
- | number;
530
-
531
- // Gripper actions.
532
- export type GRIPPER_ACTIONS =
533
- | 0 // GRIPPER_ACTION_RELEASE - Gripper release cargo.
534
- | 1 // GRIPPER_ACTION_GRAB - Gripper grab onto cargo.
535
- | number;
536
-
537
- // Winch actions.
538
- export type WINCH_ACTIONS =
539
- | 0 // WINCH_RELAXED - Allow motor to freewheel.
540
- | 1 // WINCH_RELATIVE_LENGTH_CONTROL - Wind or unwind specified length of line, optionally using specified rate.
541
- | 2 // WINCH_RATE_CONTROL - Wind or unwind line at specified rate.
542
- | 3 // WINCH_LOCK - Perform the locking sequence to relieve motor while in the fully retracted position. Only action and instance command parameters are used, others are ignored.
543
- | 4 // WINCH_DELIVER - Sequence of drop, slow down, touch down, reel up, lock. Only action and instance command parameters are used, others are ignored.
544
- | 5 // WINCH_HOLD - Engage motor and hold current position. Only action and instance command parameters are used, others are ignored.
545
- | 6 // WINCH_RETRACT - Return the reel to the fully retracted position. Only action and instance command parameters are used, others are ignored.
546
- | 7 // WINCH_LOAD_LINE - Load the reel with line. The winch will calculate the total loaded length and stop when the tension exceeds a threshold. Only action and instance command parameters are used, others are ignored.
547
- | 8 // WINCH_ABANDON_LINE - Spool out the entire length of the line. Only action and instance command parameters are used, others are ignored.
548
- | 9 // WINCH_LOAD_PAYLOAD - Spools out just enough to present the hook to the user to load the payload. Only action and instance command parameters are used, others are ignored
549
- | number;
550
-
551
- // Generalized UAVCAN node health
552
- export type UAVCAN_NODE_HEALTH =
553
- | 0 // UAVCAN_NODE_HEALTH_OK - The node is functioning properly.
554
- | 1 // UAVCAN_NODE_HEALTH_WARNING - A critical parameter went out of range or the node has encountered a minor failure.
555
- | 2 // UAVCAN_NODE_HEALTH_ERROR - The node has encountered a major failure.
556
- | 3 // UAVCAN_NODE_HEALTH_CRITICAL - The node has suffered a fatal malfunction.
557
- | number;
558
-
559
- // Generalized UAVCAN node mode
560
- export type UAVCAN_NODE_MODE =
561
- | 0 // UAVCAN_NODE_MODE_OPERATIONAL - The node is performing its primary functions.
562
- | 1 // UAVCAN_NODE_MODE_INITIALIZATION - The node is initializing; this mode is entered immediately after startup.
563
- | 2 // UAVCAN_NODE_MODE_MAINTENANCE - The node is under maintenance.
564
- | 3 // UAVCAN_NODE_MODE_SOFTWARE_UPDATE - The node is in the process of updating its software.
565
- | 7 // UAVCAN_NODE_MODE_OFFLINE - The node is no longer available online.
566
- | number;
567
-
568
- // Indicates the ESC connection type.
569
- export type ESC_CONNECTION_TYPE =
570
- | 0 // ESC_CONNECTION_TYPE_PPM - Traditional PPM ESC.
571
- | 1 // ESC_CONNECTION_TYPE_SERIAL - Serial Bus connected ESC.
572
- | 2 // ESC_CONNECTION_TYPE_ONESHOT - One Shot PPM ESC.
573
- | 3 // ESC_CONNECTION_TYPE_I2C - I2C ESC.
574
- | 4 // ESC_CONNECTION_TYPE_CAN - CAN-Bus ESC.
575
- | 5 // ESC_CONNECTION_TYPE_DSHOT - DShot ESC.
576
- | number;
577
-
578
- // Flags to report ESC failures.
579
- export type ESC_FAILURE_FLAGS =
580
- | 1 // ESC_FAILURE_OVER_CURRENT - Over current failure.
581
- | 2 // ESC_FAILURE_OVER_VOLTAGE - Over voltage failure.
582
- | 4 // ESC_FAILURE_OVER_TEMPERATURE - Over temperature failure.
583
- | 8 // ESC_FAILURE_OVER_RPM - Over RPM failure.
584
- | 16 // ESC_FAILURE_INCONSISTENT_CMD - Inconsistent command failure i.e. out of bounds.
585
- | 32 // ESC_FAILURE_MOTOR_STUCK - Motor stuck failure.
586
- | 64 // ESC_FAILURE_GENERIC - Generic ESC failure.
587
- | number;
588
-
589
- // Flags to indicate the status of camera storage.
590
- export type STORAGE_STATUS =
591
- | 0 // STORAGE_STATUS_EMPTY - Storage is missing (no microSD card loaded for example.)
592
- | 1 // STORAGE_STATUS_UNFORMATTED - Storage present but unformatted.
593
- | 2 // STORAGE_STATUS_READY - Storage present and ready.
594
- | 3 // STORAGE_STATUS_NOT_SUPPORTED - Camera does not supply storage status information. Capacity information in STORAGE_INFORMATION fields will be ignored.
595
- | number;
596
-
597
- // Flags to indicate the type of storage.
598
- export type STORAGE_TYPE =
599
- | 0 // STORAGE_TYPE_UNKNOWN - Storage type is not known.
600
- | 1 // STORAGE_TYPE_USB_STICK - Storage type is USB device.
601
- | 2 // STORAGE_TYPE_SD - Storage type is SD card.
602
- | 3 // STORAGE_TYPE_MICROSD - Storage type is microSD card.
603
- | 4 // STORAGE_TYPE_CF - Storage type is CFast.
604
- | 5 // STORAGE_TYPE_CFE - Storage type is CFexpress.
605
- | 6 // STORAGE_TYPE_XQD - Storage type is XQD.
606
- | 7 // STORAGE_TYPE_HD - Storage type is HD mass storage type.
607
- | 254 // STORAGE_TYPE_OTHER - Storage type is other, not listed type.
608
- | number;
609
-
610
- // Flags to indicate usage for a particular storage (see STORAGE_INFORMATION.storage_usage and MAV_CMD_SET_STORAGE_USAGE).
611
- export type STORAGE_USAGE_FLAG =
612
- | 1 // STORAGE_USAGE_FLAG_SET - Always set to 1 (indicates STORAGE_INFORMATION.storage_usage is supported).
613
- | 2 // STORAGE_USAGE_FLAG_PHOTO - Storage for saving photos.
614
- | 4 // STORAGE_USAGE_FLAG_VIDEO - Storage for saving videos.
615
- | 8 // STORAGE_USAGE_FLAG_LOGS - Storage for saving logs.
616
- | number;
617
-
618
- // Yaw behaviour during orbit flight.
619
- export type ORBIT_YAW_BEHAVIOUR =
620
- | 0 // ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TO_CIRCLE_CENTER - Vehicle front points to the center (default).
621
- | 1 // ORBIT_YAW_BEHAVIOUR_HOLD_INITIAL_HEADING - Vehicle front holds heading when message received.
622
- | 2 // ORBIT_YAW_BEHAVIOUR_UNCONTROLLED - Yaw uncontrolled.
623
- | 3 // ORBIT_YAW_BEHAVIOUR_HOLD_FRONT_TANGENT_TO_CIRCLE - Vehicle front follows flight path (tangential to circle).
624
- | 4 // ORBIT_YAW_BEHAVIOUR_RC_CONTROLLED - Yaw controlled by RC input.
625
- | 5 // ORBIT_YAW_BEHAVIOUR_UNCHANGED - Vehicle uses current yaw behaviour (unchanged). The vehicle-default yaw behaviour is used if this value is specified when orbit is first commanded.
626
- | number;
627
-
628
- // Possible responses from a WIFI_CONFIG_AP message.
629
- export type WIFI_CONFIG_AP_RESPONSE =
630
- | 0 // WIFI_CONFIG_AP_RESPONSE_UNDEFINED - Undefined response. Likely an indicative of a system that doesn&#x27;t support this request.
631
- | 1 // WIFI_CONFIG_AP_RESPONSE_ACCEPTED - Changes accepted.
632
- | 2 // WIFI_CONFIG_AP_RESPONSE_REJECTED - Changes rejected.
633
- | 3 // WIFI_CONFIG_AP_RESPONSE_MODE_ERROR - Invalid Mode.
634
- | 4 // WIFI_CONFIG_AP_RESPONSE_SSID_ERROR - Invalid SSID.
635
- | 5 // WIFI_CONFIG_AP_RESPONSE_PASSWORD_ERROR - Invalid Password.
636
- | number;
637
-
638
- // Possible responses from a CELLULAR_CONFIG message.
639
- export type CELLULAR_CONFIG_RESPONSE =
640
- | 0 // CELLULAR_CONFIG_RESPONSE_ACCEPTED - Changes accepted.
641
- | 1 // CELLULAR_CONFIG_RESPONSE_APN_ERROR - Invalid APN.
642
- | 2 // CELLULAR_CONFIG_RESPONSE_PIN_ERROR - Invalid PIN.
643
- | 3 // CELLULAR_CONFIG_RESPONSE_REJECTED - Changes rejected.
644
- | 4 // CELLULAR_CONFIG_BLOCKED_PUK_REQUIRED - PUK is required to unblock SIM card.
645
- | number;
646
-
647
- // WiFi Mode.
648
- export type WIFI_CONFIG_AP_MODE =
649
- | 0 // WIFI_CONFIG_AP_MODE_UNDEFINED - WiFi mode is undefined.
650
- | 1 // WIFI_CONFIG_AP_MODE_AP - WiFi configured as an access point.
651
- | 2 // WIFI_CONFIG_AP_MODE_STATION - WiFi configured as a station connected to an existing local WiFi network.
652
- | 3 // WIFI_CONFIG_AP_MODE_DISABLED - WiFi disabled.
653
- | number;
654
-
655
- // Supported component metadata types. These are used in the &quot;general&quot; metadata file returned by COMPONENT_METADATA to provide information about supported metadata types. The types are not used directly in MAVLink messages.
656
- export type COMP_METADATA_TYPE =
657
- | 0 // COMP_METADATA_TYPE_GENERAL - General information about the component. General metadata includes information about other metadata types supported by the component. Files of this type must be supported, and must be downloadable from vehicle using a MAVLink FTP URI.
658
- | 1 // COMP_METADATA_TYPE_PARAMETER - Parameter meta data.
659
- | 2 // COMP_METADATA_TYPE_COMMANDS - Meta data that specifies which commands and command parameters the vehicle supports. (WIP)
660
- | 3 // COMP_METADATA_TYPE_PERIPHERALS - Meta data that specifies external non-MAVLink peripherals.
661
- | 4 // COMP_METADATA_TYPE_EVENTS - Meta data for the events interface.
662
- | 5 // COMP_METADATA_TYPE_ACTUATORS - Meta data for actuator configuration (motors, servos and vehicle geometry) and testing.
663
- | number;
664
-
665
- // Actuator configuration, used to change a setting on an actuator. Component information metadata can be used to know which outputs support which commands.
666
- export type ACTUATOR_CONFIGURATION =
667
- | 0 // ACTUATOR_CONFIGURATION_NONE - Do nothing.
668
- | 1 // ACTUATOR_CONFIGURATION_BEEP - Command the actuator to beep now.
669
- | 2 // ACTUATOR_CONFIGURATION_3D_MODE_ON - Permanently set the actuator (ESC) to 3D mode (reversible thrust).
670
- | 3 // ACTUATOR_CONFIGURATION_3D_MODE_OFF - Permanently set the actuator (ESC) to non 3D mode (non-reversible thrust).
671
- | 4 // ACTUATOR_CONFIGURATION_SPIN_DIRECTION1 - Permanently set the actuator (ESC) to spin direction 1 (which can be clockwise or counter-clockwise).
672
- | 5 // ACTUATOR_CONFIGURATION_SPIN_DIRECTION2 - Permanently set the actuator (ESC) to spin direction 2 (opposite of direction 1).
673
- | number;
674
-
675
- // Actuator output function. Values greater or equal to 1000 are autopilot-specific.
676
- export type ACTUATOR_OUTPUT_FUNCTION =
677
- | 0 // ACTUATOR_OUTPUT_FUNCTION_NONE - No function (disabled).
678
- | 1 // ACTUATOR_OUTPUT_FUNCTION_MOTOR1 - Motor 1
679
- | 2 // ACTUATOR_OUTPUT_FUNCTION_MOTOR2 - Motor 2
680
- | 3 // ACTUATOR_OUTPUT_FUNCTION_MOTOR3 - Motor 3
681
- | 4 // ACTUATOR_OUTPUT_FUNCTION_MOTOR4 - Motor 4
682
- | 5 // ACTUATOR_OUTPUT_FUNCTION_MOTOR5 - Motor 5
683
- | 6 // ACTUATOR_OUTPUT_FUNCTION_MOTOR6 - Motor 6
684
- | 7 // ACTUATOR_OUTPUT_FUNCTION_MOTOR7 - Motor 7
685
- | 8 // ACTUATOR_OUTPUT_FUNCTION_MOTOR8 - Motor 8
686
- | 9 // ACTUATOR_OUTPUT_FUNCTION_MOTOR9 - Motor 9
687
- | 10 // ACTUATOR_OUTPUT_FUNCTION_MOTOR10 - Motor 10
688
- | 11 // ACTUATOR_OUTPUT_FUNCTION_MOTOR11 - Motor 11
689
- | 12 // ACTUATOR_OUTPUT_FUNCTION_MOTOR12 - Motor 12
690
- | 13 // ACTUATOR_OUTPUT_FUNCTION_MOTOR13 - Motor 13
691
- | 14 // ACTUATOR_OUTPUT_FUNCTION_MOTOR14 - Motor 14
692
- | 15 // ACTUATOR_OUTPUT_FUNCTION_MOTOR15 - Motor 15
693
- | 16 // ACTUATOR_OUTPUT_FUNCTION_MOTOR16 - Motor 16
694
- | 33 // ACTUATOR_OUTPUT_FUNCTION_SERVO1 - Servo 1
695
- | 34 // ACTUATOR_OUTPUT_FUNCTION_SERVO2 - Servo 2
696
- | 35 // ACTUATOR_OUTPUT_FUNCTION_SERVO3 - Servo 3
697
- | 36 // ACTUATOR_OUTPUT_FUNCTION_SERVO4 - Servo 4
698
- | 37 // ACTUATOR_OUTPUT_FUNCTION_SERVO5 - Servo 5
699
- | 38 // ACTUATOR_OUTPUT_FUNCTION_SERVO6 - Servo 6
700
- | 39 // ACTUATOR_OUTPUT_FUNCTION_SERVO7 - Servo 7
701
- | 40 // ACTUATOR_OUTPUT_FUNCTION_SERVO8 - Servo 8
702
- | 41 // ACTUATOR_OUTPUT_FUNCTION_SERVO9 - Servo 9
703
- | 42 // ACTUATOR_OUTPUT_FUNCTION_SERVO10 - Servo 10
704
- | 43 // ACTUATOR_OUTPUT_FUNCTION_SERVO11 - Servo 11
705
- | 44 // ACTUATOR_OUTPUT_FUNCTION_SERVO12 - Servo 12
706
- | 45 // ACTUATOR_OUTPUT_FUNCTION_SERVO13 - Servo 13
707
- | 46 // ACTUATOR_OUTPUT_FUNCTION_SERVO14 - Servo 14
708
- | 47 // ACTUATOR_OUTPUT_FUNCTION_SERVO15 - Servo 15
709
- | 48 // ACTUATOR_OUTPUT_FUNCTION_SERVO16 - Servo 16
710
- | number;
711
-
712
- // Axes that will be autotuned by MAV_CMD_DO_AUTOTUNE_ENABLE.
713
- // Note that at least one flag must be set in MAV_CMD_DO_AUTOTUNE_ENABLE.param2: if none are set, the flight stack will tune its default set of axes.
714
- export type AUTOTUNE_AXIS =
715
- | 1 // AUTOTUNE_AXIS_ROLL - Autotune roll axis.
716
- | 2 // AUTOTUNE_AXIS_PITCH - Autotune pitch axis.
717
- | 4 // AUTOTUNE_AXIS_YAW - Autotune yaw axis.
718
- | number;
719
-
720
- // Actions for reading/writing parameters between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE.
721
- // (Commonly parameters are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)
722
- export type PREFLIGHT_STORAGE_PARAMETER_ACTION =
723
- | 0 // PARAM_READ_PERSISTENT - Read all parameters from persistent storage. Replaces values in volatile storage.
724
- | 1 // PARAM_WRITE_PERSISTENT - Write all parameter values to persistent storage (flash/EEPROM)
725
- | 2 // PARAM_RESET_CONFIG_DEFAULT - Reset all user configurable parameters to their default value (including airframe selection, sensor calibration data, safety settings, and so on). Does not reset values that contain operation counters and vehicle computed statistics.
726
- | 3 // PARAM_RESET_SENSOR_DEFAULT - Reset only sensor calibration parameters to factory defaults (or firmware default if not available)
727
- | 4 // PARAM_RESET_ALL_DEFAULT - Reset all parameters, including operation counters, to default values
728
- | number;
729
-
730
- // Actions for reading and writing plan information (mission, rally points, geofence) between persistent and volatile storage when using MAV_CMD_PREFLIGHT_STORAGE.
731
- // (Commonly missions are loaded from persistent storage (flash/EEPROM) into volatile storage (RAM) on startup and written back when they are changed.)
732
- export type PREFLIGHT_STORAGE_MISSION_ACTION =
733
- | 0 // MISSION_READ_PERSISTENT - Read current mission data from persistent storage
734
- | 1 // MISSION_WRITE_PERSISTENT - Write current mission data to persistent storage
735
- | 2 // MISSION_RESET_DEFAULT - Erase all mission data stored on the vehicle (both persistent and volatile storage)
736
- | number;
737
-
738
- // Specifies the conditions under which the MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN command should be accepted.
739
- export type REBOOT_SHUTDOWN_CONDITIONS =
740
- | 0 // REBOOT_SHUTDOWN_CONDITIONS_SAFETY_INTERLOCKED - Reboot/Shutdown only if allowed by safety checks, such as being landed.
741
- | 20190226 // REBOOT_SHUTDOWN_CONDITIONS_FORCE - Force reboot/shutdown of the autopilot/component regardless of system state.
742
- | number;
743
-
744
- // Commands to be executed by the MAV. They can be executed on user request, or as part of a mission script. If the action is used in a mission, the parameter mapping to the waypoint/mission message is as follows: Param 1, Param 2, Param 3, Param 4, X: Param 5, Y:Param 6, Z:Param 7. This command list is similar what ARINC 424 is for commercial aircraft: A data format how to interpret waypoint/mission data. NaN and INT32_MAX may be used in float/integer params (respectively) to indicate optional/default values (e.g. to use the component&#x27;s current yaw or latitude rather than a specific value). See https://mavlink.io/en/guide/xml_schema.html#MAV_CMD for information about the structure of the MAV_CMD entries
745
- export type MAV_CMD =
746
- | 16 // MAV_CMD_NAV_WAYPOINT - Navigate to waypoint. This is intended for use in missions (for guided commands outside of missions use MAV_CMD_DO_REPOSITION).
747
- | 17 // MAV_CMD_NAV_LOITER_UNLIM - Loiter around this waypoint an unlimited amount of time
748
- | 18 // MAV_CMD_NAV_LOITER_TURNS - Loiter around this waypoint for X turns
749
- | 19 // MAV_CMD_NAV_LOITER_TIME - Loiter at the specified latitude, longitude and altitude for a certain amount of time. Multicopter vehicles stop at the point (within a vehicle-specific acceptance radius). Forward-only moving vehicles (e.g. fixed-wing) circle the point with the specified radius/direction. If the Heading Required parameter (2) is non-zero forward moving aircraft will only leave the loiter circle once heading towards the next waypoint.
750
- | 20 // MAV_CMD_NAV_RETURN_TO_LAUNCH - Return to launch location
751
- | 21 // MAV_CMD_NAV_LAND - Land at location.
752
- | 22 // MAV_CMD_NAV_TAKEOFF - Takeoff from ground / hand. Vehicles that support multiple takeoff modes (e.g. VTOL quadplane) should take off using the currently configured mode.
753
- | 23 // MAV_CMD_NAV_LAND_LOCAL - Land at local position (local frame only)
754
- | 24 // MAV_CMD_NAV_TAKEOFF_LOCAL - Takeoff from local position (local frame only)
755
- | 25 // MAV_CMD_NAV_FOLLOW - Vehicle following, i.e. this waypoint represents the position of a moving vehicle
756
- | 30 // MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT - Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don&#x27;t proceed to the next command until the desired altitude is reached.
757
- | 31 // MAV_CMD_NAV_LOITER_TO_ALT - Begin loiter at the specified Latitude and Longitude. If Lat&#x3D;Lon&#x3D;0, then loiter at the current position. Don&#x27;t consider the navigation command complete (don&#x27;t leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint.
758
- | 32 // MAV_CMD_DO_FOLLOW - Begin following a target
759
- | 33 // MAV_CMD_DO_FOLLOW_REPOSITION - Reposition the MAV after a follow target command has been sent
760
- | 34 // MAV_CMD_DO_ORBIT - Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults.
761
- | 80 // MAV_CMD_NAV_ROI - Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle&#x27;s control system to control the vehicle attitude and the attitude of various sensors such as cameras.
762
- | 81 // MAV_CMD_NAV_PATHPLANNING - Control autonomous path planning on the MAV.
763
- | 82 // MAV_CMD_NAV_SPLINE_WAYPOINT - Navigate to waypoint using a spline path.
764
- | 84 // MAV_CMD_NAV_VTOL_TAKEOFF - Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that dont support both VTOL and fixed-wing flight (multicopters, boats,etc.).
765
- | 85 // MAV_CMD_NAV_VTOL_LAND - Land using VTOL mode
766
- | 92 // MAV_CMD_NAV_GUIDED_ENABLE - Hand control over to an external controller
767
- | 93 // MAV_CMD_NAV_DELAY - Delay the next navigation command a number of seconds or until a specified time
768
- | 94 // MAV_CMD_NAV_PAYLOAD_PLACE - Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload.
769
- | 95 // MAV_CMD_NAV_LAST - NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration
770
- | 112 // MAV_CMD_CONDITION_DELAY - Delay mission state machine.
771
- | 113 // MAV_CMD_CONDITION_CHANGE_ALT - Ascend/descend to target altitude at specified rate. Delay mission state machine until desired altitude reached.
772
- | 114 // MAV_CMD_CONDITION_DISTANCE - Delay mission state machine until within desired distance of next NAV point.
773
- | 115 // MAV_CMD_CONDITION_YAW - Reach a certain target angle.
774
- | 159 // MAV_CMD_CONDITION_LAST - NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration
775
- | 176 // MAV_CMD_DO_SET_MODE - Set system mode.
776
- | 177 // MAV_CMD_DO_JUMP - Jump to the desired command in the mission list. Repeat this action only the specified number of times
777
- | 178 // MAV_CMD_DO_CHANGE_SPEED - Change speed and/or throttle set points. The value persists until it is overridden or there is a mode change
778
- | 179 // MAV_CMD_DO_SET_HOME - Sets the home position to either to the current position or a specified position. The home position is the default position that the system will return to and land on. The position is set automatically by the system during the takeoff (and may also be set using this command). Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1&#x3D;242).
779
- | 180 // MAV_CMD_DO_SET_PARAMETER - Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter.
780
- | 181 // MAV_CMD_DO_SET_RELAY - Set a relay to a condition.
781
- | 182 // MAV_CMD_DO_REPEAT_RELAY - Cycle a relay on and off for a desired number of cycles with a desired period.
782
- | 183 // MAV_CMD_DO_SET_SERVO - Set a servo to a desired PWM value.
783
- | 184 // MAV_CMD_DO_REPEAT_SERVO - Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period.
784
- | 185 // MAV_CMD_DO_FLIGHTTERMINATION - Terminate flight immediately. Flight termination immediately and irreversibly terminates the current flight, returning the vehicle to ground. The vehicle will ignore RC or other input until it has been power-cycled. Termination may trigger safety measures, including: disabling motors and deployment of parachute on multicopters, and setting flight surfaces to initiate a landing pattern on fixed-wing). On multicopters without a parachute it may trigger a crash landing. Support for this command can be tested using the protocol bit: MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION. Support for this command can also be tested by sending the command with param1&#x3D;0 (&lt; 0.5); the ACK should be either MAV_RESULT_FAILED or MAV_RESULT_UNSUPPORTED.
785
- | 186 // MAV_CMD_DO_CHANGE_ALTITUDE - Change altitude set point.
786
- | 187 // MAV_CMD_DO_SET_ACTUATOR - Sets actuators (e.g. servos) to a desired value. The actuator numbers are mapped to specific outputs (e.g. on any MAIN or AUX PWM or UAVCAN) using a flight-stack specific mechanism (i.e. a parameter).
787
- | 188 // MAV_CMD_DO_RETURN_PATH_START - Mission item to specify the start of a failsafe/landing return-path segment (the end of the segment is the next MAV_CMD_DO_LAND_START item). A vehicle that is using missions for landing (e.g. in a return mode) will join the mission on the closest path of the return-path segment (instead of MAV_CMD_DO_LAND_START or the nearest waypoint). The main use case is to minimize the failsafe flight path in corridor missions, where the inbound/outbound paths are constrained (by geofences) to the same particular path. The MAV_CMD_NAV_RETURN_PATH_START would be placed at the start of the return path. If a failsafe occurs on the outbound path the vehicle will move to the nearest point on the return path (which is parallel for this kind of mission), effectively turning round and following the shortest path to landing. If a failsafe occurs on the inbound path the vehicle is already on the return segment and will continue to landing. The Latitude/Longitude/Altitude are optional, and may be set to 0 if not needed. If specified, the item defines the waypoint at which the return segment starts. If sent using as a command, the vehicle will perform a mission landing (using the land segment if defined) or reject the command if mission landings are not supported, or no mission landing is defined. When used as a command any position information in the command is ignored.
788
- | 189 // MAV_CMD_DO_LAND_START - Mission item to mark the start of a mission landing pattern, or a command to land with a mission landing pattern. When used in a mission, this is a marker for the start of a sequence of mission items that represent a landing pattern. It should be followed by a navigation item that defines the first waypoint of the landing sequence. The start marker positional params are used only for selecting what landing pattern to use if several are defined in the mission (the selected pattern will be the one with the marker position that is closest to the vehicle when a landing is commanded). If the marker item position has zero-values for latitude, longitude, and altitude, then landing pattern selection is instead based on the position of the first waypoint in the landing sequence. When sent as a command it triggers a landing using a mission landing pattern. The location parameters are not used in this case, and should be set to 0.
789
- | 190 // MAV_CMD_DO_RALLY_LAND - Mission command to perform a landing from a rally point.
790
- | 191 // MAV_CMD_DO_GO_AROUND - Mission command to safely abort an autonomous landing.
791
- | 192 // MAV_CMD_DO_REPOSITION - Reposition the vehicle to a specific WGS84 global position. This command is intended for guided commands (for missions use MAV_CMD_NAV_WAYPOINT instead).
792
- | 193 // MAV_CMD_DO_PAUSE_CONTINUE - If in a GPS controlled position mode, hold the current position or continue.
793
- | 194 // MAV_CMD_DO_SET_REVERSE - Set moving direction to forward or reverse.
794
- | 195 // MAV_CMD_DO_SET_ROI_LOCATION - Sets the region of interest (ROI) to a location. This can then be used by the vehicle&#x27;s control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal is not to react to this message.
795
- | 196 // MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET - Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicle&#x27;s control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message.
796
- | 197 // MAV_CMD_DO_SET_ROI_NONE - Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicle&#x27;s control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. After this command the gimbal manager should go back to manual input if available, and otherwise assume a neutral position.
797
- | 198 // MAV_CMD_DO_SET_ROI_SYSID - Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message.
798
- | 200 // MAV_CMD_DO_CONTROL_VIDEO - Control onboard camera system.
799
- | 201 // MAV_CMD_DO_SET_ROI - Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle&#x27;s control system to control the vehicle attitude and the attitude of various sensors such as cameras.
800
- | 202 // MAV_CMD_DO_DIGICAM_CONFIGURE - Configure digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).
801
- | 203 // MAV_CMD_DO_DIGICAM_CONTROL - Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ).
802
- | 204 // MAV_CMD_DO_MOUNT_CONFIGURE - Mission command to configure a camera or antenna mount
803
- | 205 // MAV_CMD_DO_MOUNT_CONTROL - Mission command to control a camera or antenna mount
804
- | 206 // MAV_CMD_DO_SET_CAM_TRIGG_DIST - Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera.
805
- | 207 // MAV_CMD_DO_FENCE_ENABLE - Enable the geofence. This can be used in a mission or via the command protocol. The persistence/lifetime of the setting is undefined. Depending on flight stack implementation it may persist until superseded, or it may revert to a system default at the end of a mission. Flight stacks typically reset the setting to system defaults on reboot.
806
- | 208 // MAV_CMD_DO_PARACHUTE - Mission item/command to release a parachute or enable/disable auto release.
807
- | 209 // MAV_CMD_DO_MOTOR_TEST - Command to perform motor test.
808
- | 210 // MAV_CMD_DO_INVERTED_FLIGHT - Change to/from inverted flight.
809
- | 211 // MAV_CMD_DO_GRIPPER - Mission command to operate a gripper.
810
- | 212 // MAV_CMD_DO_AUTOTUNE_ENABLE - Enable/disable autotune.
811
- | 213 // MAV_CMD_NAV_SET_YAW_SPEED - Sets a desired vehicle turn angle and speed change.
812
- | 214 // MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL - Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera.
813
- | 220 // MAV_CMD_DO_MOUNT_CONTROL_QUAT - Mission command to control a camera or antenna mount, using a quaternion as reference.
814
- | 221 // MAV_CMD_DO_GUIDED_MASTER - set id of master controller
815
- | 222 // MAV_CMD_DO_GUIDED_LIMITS - Set limits for external control
816
- | 223 // MAV_CMD_DO_ENGINE_CONTROL - Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines
817
- | 224 // MAV_CMD_DO_SET_MISSION_CURRENT - Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed). If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items. Note that mission jump repeat counters are not reset unless param2 is set (see MAV_CMD_DO_JUMP param2). This command may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE. If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission. If the system is not in mission mode this command must not trigger a switch to mission mode. The mission may be &quot;reset&quot; using param2. Resetting sets jump counters to initial values (to reset counters without changing the current mission item set the param1 to &#x60;-1&#x60;). Resetting also explicitly changes a mission state of MISSION_STATE_COMPLETE to MISSION_STATE_PAUSED or MISSION_STATE_ACTIVE, potentially allowing it to resume when it is (next) in a mission mode. The command will ACK with MAV_RESULT_FAILED if the sequence number is out of range (including if there is no mission item).
818
- | 240 // MAV_CMD_DO_LAST - NOP - This command is only used to mark the upper limit of the DO commands in the enumeration
819
- | 241 // MAV_CMD_PREFLIGHT_CALIBRATION - Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero.
820
- | 242 // MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS - Set sensor offsets. This command will be only accepted if in pre-flight mode.
821
- | 243 // MAV_CMD_PREFLIGHT_UAVCAN - Trigger UAVCAN configuration (actuator ID assignment and direction mapping). Note that this maps to the legacy UAVCAN v0 function UAVCAN_ENUMERATE, which is intended to be executed just once during initial vehicle configuration (it is not a normal pre-flight command and has been poorly named).
822
- | 245 // MAV_CMD_PREFLIGHT_STORAGE - Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode.
823
- | 246 // MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN - Request the reboot or shutdown of system components.
824
- | 252 // MAV_CMD_OVERRIDE_GOTO - Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position.
825
- | 260 // MAV_CMD_OBLIQUE_SURVEY - Mission command to set a Camera Auto Mount Pivoting Oblique Survey (Replaces CAM_TRIGG_DIST for this purpose). The camera is triggered each time this distance is exceeded, then the mount moves to the next position. Params 4~6 set-up the angle limits and number of positions for oblique survey, where mount-enabled vehicles automatically roll the camera between shots to emulate an oblique camera setup (providing an increased HFOV). This command can also be used to set the shutter integration time for the camera.
826
- | 262 // MAV_CMD_DO_SET_STANDARD_MODE - Enable the specified standard MAVLink mode. If the specified mode is not supported, the vehicle should ACK with MAV_RESULT_FAILED. See https://mavlink.io/en/services/standard_modes.html
827
- | 300 // MAV_CMD_MISSION_START - start running a mission
828
- | 310 // MAV_CMD_ACTUATOR_TEST - Actuator testing command. This is similar to MAV_CMD_DO_MOTOR_TEST but operates on the level of output functions, i.e. it is possible to test Motor1 independent from which output it is configured on. Autopilots must NACK this command with MAV_RESULT_TEMPORARILY_REJECTED while armed.
829
- | 311 // MAV_CMD_CONFIGURE_ACTUATOR - Actuator configuration command.
830
- | 400 // MAV_CMD_COMPONENT_ARM_DISARM - Arms / Disarms a component
831
- | 401 // MAV_CMD_RUN_PREARM_CHECKS - Instructs a target system to run pre-arm checks. This allows preflight checks to be run on demand, which may be useful on systems that normally run them at low rate, or which do not trigger checks when the armable state might have changed. This command should return MAV_RESULT_ACCEPTED if it will run the checks. The results of the checks are usually then reported in SYS_STATUS messages (this is system-specific). The command should return MAV_RESULT_TEMPORARILY_REJECTED if the system is already armed.
832
- | 405 // MAV_CMD_ILLUMINATOR_ON_OFF - Turns illuminators ON/OFF. An illuminator is a light source that is used for lighting up dark areas external to the system: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light).
833
- | 406 // MAV_CMD_DO_ILLUMINATOR_CONFIGURE - Configures illuminator settings. An illuminator is a light source that is used for lighting up dark areas external to the system: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light).
834
- | 410 // MAV_CMD_GET_HOME_POSITION - Request the home position from the vehicle. The vehicle will ACK the command and then emit the HOME_POSITION message.
835
- | 420 // MAV_CMD_INJECT_FAILURE - Inject artificial failure for testing purposes. Note that autopilots should implement an additional protection before accepting this command such as a specific param setting.
836
- | 500 // MAV_CMD_START_RX_PAIR - Starts receiver pairing.
837
- | 510 // MAV_CMD_GET_MESSAGE_INTERVAL - Request the interval between messages for a particular MAVLink message ID. The receiver should ACK the command and then emit its response in a MESSAGE_INTERVAL message.
838
- | 511 // MAV_CMD_SET_MESSAGE_INTERVAL - Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM.
839
- | 512 // MAV_CMD_REQUEST_MESSAGE - Request the target system(s) emit a single instance of a specified message (i.e. a &quot;one-shot&quot; version of MAV_CMD_SET_MESSAGE_INTERVAL).
840
- | 519 // MAV_CMD_REQUEST_PROTOCOL_VERSION - Request MAVLink protocol version compatibility. All receivers should ACK the command and then emit their capabilities in an PROTOCOL_VERSION message
841
- | 520 // MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES - Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message
842
- | 521 // MAV_CMD_REQUEST_CAMERA_INFORMATION - Request camera information (CAMERA_INFORMATION).
843
- | 522 // MAV_CMD_REQUEST_CAMERA_SETTINGS - Request camera settings (CAMERA_SETTINGS).
844
- | 525 // MAV_CMD_REQUEST_STORAGE_INFORMATION - Request storage information (STORAGE_INFORMATION). Use the command&#x27;s target_component to target a specific component&#x27;s storage.
845
- | 526 // MAV_CMD_STORAGE_FORMAT - Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command&#x27;s target_component to target a specific component&#x27;s storage.
846
- | 527 // MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS - Request camera capture status (CAMERA_CAPTURE_STATUS)
847
- | 528 // MAV_CMD_REQUEST_FLIGHT_INFORMATION - Request flight information (FLIGHT_INFORMATION)
848
- | 529 // MAV_CMD_RESET_CAMERA_SETTINGS - Reset all camera settings to Factory Default
849
- | 530 // MAV_CMD_SET_CAMERA_MODE - Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming.
850
- | 531 // MAV_CMD_SET_CAMERA_ZOOM - Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success).
851
- | 532 // MAV_CMD_SET_CAMERA_FOCUS - Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success).
852
- | 533 // MAV_CMD_SET_STORAGE_USAGE - Set that a particular storage is the preferred location for saving photos, videos, and/or other media (e.g. to set that an SD card is used for storing videos). There can only be one preferred save location for each particular media type: setting a media usage flag will clear/reset that same flag if set on any other storage. If no flag is set the system should use its default storage. A target system can choose to always use default storage, in which case it should ACK the command with MAV_RESULT_UNSUPPORTED. A target system can choose to not allow a particular storage to be set as preferred storage, in which case it should ACK the command with MAV_RESULT_DENIED.
853
- | 534 // MAV_CMD_SET_CAMERA_SOURCE - Set camera source. Changes the camera&#x27;s active sources on cameras with multiple image sensors.
854
- | 600 // MAV_CMD_JUMP_TAG - Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG.
855
- | 601 // MAV_CMD_DO_JUMP_TAG - Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number.
856
- | 1000 // MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW - Set gimbal manager pitch/yaw setpoints (low rate command). It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: only the gimbal manager will react to this command - it will be ignored by a gimbal device. Use GIMBAL_MANAGER_SET_PITCHYAW if you need to stream pitch/yaw setpoints at higher rate.
857
- | 1001 // MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE - Gimbal configuration to set which sysid/compid is in primary and secondary control.
858
- | 2000 // MAV_CMD_IMAGE_START_CAPTURE - Start image capture sequence. CAMERA_IMAGE_CAPTURED must be emitted after each capture. Param1 (id) may be used to specify the target camera: 0: all cameras, 1 to 6: autopilot-connected cameras, 7-255: MAVLink camera component ID. It is needed in order to target specific cameras connected to the autopilot, or specific sensors in a multi-sensor camera (neither of which have a distinct MAVLink component ID). It is also needed to specify the target camera in missions. When used in a mission, an autopilot should execute the MAV_CMD for a specified local camera (param1 &#x3D; 1-6), or resend it as a command if it is intended for a MAVLink camera (param1 &#x3D; 7 - 255), setting the command&#x27;s target_component as the param1 value (and setting param1 in the command to zero). If the param1 is 0 the autopilot should do both. When sent in a command the target MAVLink address is set using target_component. If addressed specifically to an autopilot: param1 should be used in the same way as it is for missions (though command should NACK with MAV_RESULT_DENIED if a specified local camera does not exist). If addressed to a MAVLink camera, param 1 can be used to address all cameras (0), or to separately address 1 to 7 individual sensors. Other values should be NACKed with MAV_RESULT_DENIED. If the command is broadcast (target_component is 0) then param 1 should be set to 0 (any other value should be NACKED with MAV_RESULT_DENIED). An autopilot would trigger any local cameras and forward the command to all channels.
859
- | 2001 // MAV_CMD_IMAGE_STOP_CAPTURE - Stop image capture sequence. Param1 (id) may be used to specify the target camera: 0: all cameras, 1 to 6: autopilot-connected cameras, 7-255: MAVLink camera component ID. It is needed in order to target specific cameras connected to the autopilot, or specific sensors in a multi-sensor camera (neither of which have a distinct MAVLink component ID). It is also needed to specify the target camera in missions. When used in a mission, an autopilot should execute the MAV_CMD for a specified local camera (param1 &#x3D; 1-6), or resend it as a command if it is intended for a MAVLink camera (param1 &#x3D; 7 - 255), setting the command&#x27;s target_component as the param1 value (and setting param1 in the command to zero). If the param1 is 0 the autopilot should do both. When sent in a command the target MAVLink address is set using target_component. If addressed specifically to an autopilot: param1 should be used in the same way as it is for missions (though command should NACK with MAV_RESULT_DENIED if a specified local camera does not exist). If addressed to a MAVLink camera, param1 can be used to address all cameras (0), or to separately address 1 to 7 individual sensors. Other values should be NACKed with MAV_RESULT_DENIED. If the command is broadcast (target_component is 0) then param 1 should be set to 0 (any other value should be NACKED with MAV_RESULT_DENIED). An autopilot would trigger any local cameras and forward the command to all channels.
860
- | 2002 // MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE - Re-request a CAMERA_IMAGE_CAPTURED message.
861
- | 2003 // MAV_CMD_DO_TRIGGER_CONTROL - Enable or disable on-board camera triggering system.
862
- | 2004 // MAV_CMD_CAMERA_TRACK_POINT - If the camera supports point visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_POINT is set), this command allows to initiate the tracking.
863
- | 2005 // MAV_CMD_CAMERA_TRACK_RECTANGLE - If the camera supports rectangle visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE is set), this command allows to initiate the tracking.
864
- | 2010 // MAV_CMD_CAMERA_STOP_TRACKING - Stops ongoing tracking.
865
- | 2500 // MAV_CMD_VIDEO_START_CAPTURE - Starts video capture (recording).
866
- | 2501 // MAV_CMD_VIDEO_STOP_CAPTURE - Stop the current video capture (recording).
867
- | 2502 // MAV_CMD_VIDEO_START_STREAMING - Start video streaming
868
- | 2503 // MAV_CMD_VIDEO_STOP_STREAMING - Stop the given video stream
869
- | 2504 // MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION - Request video stream information (VIDEO_STREAM_INFORMATION)
870
- | 2505 // MAV_CMD_REQUEST_VIDEO_STREAM_STATUS - Request video stream status (VIDEO_STREAM_STATUS)
871
- | 2510 // MAV_CMD_LOGGING_START - Request to start streaming logging data over MAVLink (see also LOGGING_DATA message)
872
- | 2511 // MAV_CMD_LOGGING_STOP - Request to stop streaming log data over MAVLink
873
- | 2520
874
- | 2600 // MAV_CMD_CONTROL_HIGH_LATENCY - Request to start/stop transmitting over the high latency telemetry
875
- | 2800 // MAV_CMD_PANORAMA_CREATE - Create a panorama at the current position
876
- | 3000 // MAV_CMD_DO_VTOL_TRANSITION - Request VTOL transition
877
- | 3001 // MAV_CMD_ARM_AUTHORIZATION_REQUEST - Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request. If approved the COMMAND_ACK message progress field should be set with period of time that this authorization is valid in seconds. If the authorization is denied COMMAND_ACK.result_param2 should be set with one of the reasons in ARM_AUTH_DENIED_REASON.
878
- | 4000 // MAV_CMD_SET_GUIDED_SUBMODE_STANDARD - This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes.
879
- | 4001 // MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE - This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position.
880
- | 4501 // MAV_CMD_CONDITION_GATE - Delay mission state machine until gate has been reached.
881
- | 5000 // MAV_CMD_NAV_FENCE_RETURN_POINT - Fence return point (there can only be one such point in a geofence definition). If rally points are supported they should be used instead.
882
- | 5001 // MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION - Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required. The vertices for a polygon must be sent sequentially, each with param1 set to the total number of vertices in the polygon.
883
- | 5002 // MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION - Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required. The vertices for a polygon must be sent sequentially, each with param1 set to the total number of vertices in the polygon.
884
- | 5003 // MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION - Circular fence area. The vehicle must stay inside this area.
885
- | 5004 // MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION - Circular fence area. The vehicle must stay outside this area.
886
- | 5100 // MAV_CMD_NAV_RALLY_POINT - Rally point. You can have multiple rally points defined.
887
- | 5200 // MAV_CMD_UAVCAN_GET_NODE_INFO - Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages.
888
- | 5300 // MAV_CMD_DO_SET_SAFETY_SWITCH_STATE - Change state of safety switch.
889
- | 10001 // MAV_CMD_DO_ADSB_OUT_IDENT - Trigger the start of an ADSB-out IDENT. This should only be used when requested to do so by an Air Traffic Controller in controlled airspace. This starts the IDENT which is then typically held for 18 seconds by the hardware per the Mode A, C, and S transponder spec.
890
- | 30001 // MAV_CMD_PAYLOAD_PREPARE_DEPLOY - Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity.
891
- | 30002 // MAV_CMD_PAYLOAD_CONTROL_DEPLOY - Control the payload deployment.
892
- | 42006 // MAV_CMD_FIXED_MAG_CAL_YAW - Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location.
893
- | 42600 // MAV_CMD_DO_WINCH - Command to operate winch.
894
- | 43003 // MAV_CMD_EXTERNAL_POSITION_ESTIMATE - Provide an external position estimate for use when dead-reckoning. This is meant to be used for occasional position resets that may be provided by a external system such as a remote pilot using landmarks over a video link.
895
- | 31000 // MAV_CMD_WAYPOINT_USER_1 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
896
- | 31001 // MAV_CMD_WAYPOINT_USER_2 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
897
- | 31002 // MAV_CMD_WAYPOINT_USER_3 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
898
- | 31003 // MAV_CMD_WAYPOINT_USER_4 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
899
- | 31004 // MAV_CMD_WAYPOINT_USER_5 - User defined waypoint item. Ground Station will show the Vehicle as flying through this item.
900
- | 31005 // MAV_CMD_SPATIAL_USER_1 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
901
- | 31006 // MAV_CMD_SPATIAL_USER_2 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
902
- | 31007 // MAV_CMD_SPATIAL_USER_3 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
903
- | 31008 // MAV_CMD_SPATIAL_USER_4 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
904
- | 31009 // MAV_CMD_SPATIAL_USER_5 - User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item.
905
- | 31010 // MAV_CMD_USER_1 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
906
- | 31011 // MAV_CMD_USER_2 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
907
- | 31012 // MAV_CMD_USER_3 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
908
- | 31013 // MAV_CMD_USER_4 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
909
- | 31014 // MAV_CMD_USER_5 - User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item.
910
- | 32000 // MAV_CMD_CAN_FORWARD - Request forwarding of CAN packets from the given CAN bus to this component. CAN Frames are sent using CAN_FRAME and CANFD_FRAME messages
911
- | number;
912
-
913
- // A data stream is not a fixed set of messages, but rather a
914
- // recommendation to the autopilot software. Individual autopilots may or may not obey
915
- // the recommended messages.
916
- export type MAV_DATA_STREAM =
917
- | 0 // MAV_DATA_STREAM_ALL - Enable all data streams
918
- | 1 // MAV_DATA_STREAM_RAW_SENSORS - Enable IMU_RAW, GPS_RAW, GPS_STATUS packets.
919
- | 2 // MAV_DATA_STREAM_EXTENDED_STATUS - Enable GPS_STATUS, CONTROL_STATUS, AUX_STATUS
920
- | 3 // MAV_DATA_STREAM_RC_CHANNELS - Enable RC_CHANNELS_SCALED, RC_CHANNELS_RAW, SERVO_OUTPUT_RAW
921
- | 4 // MAV_DATA_STREAM_RAW_CONTROLLER - Enable ATTITUDE_CONTROLLER_OUTPUT, POSITION_CONTROLLER_OUTPUT, NAV_CONTROLLER_OUTPUT.
922
- | 6 // MAV_DATA_STREAM_POSITION - Enable LOCAL_POSITION, GLOBAL_POSITION_INT messages.
923
- | 10 // MAV_DATA_STREAM_EXTRA1 - Dependent on the autopilot
924
- | 11 // MAV_DATA_STREAM_EXTRA2 - Dependent on the autopilot
925
- | 12 // MAV_DATA_STREAM_EXTRA3 - Dependent on the autopilot
926
- | number;
927
-
928
- // The ROI (region of interest) for the vehicle. This can be
929
- // be used by the vehicle for camera/vehicle attitude alignment (see
930
- // MAV_CMD_NAV_ROI).
931
- export type MAV_ROI =
932
- | 0 // MAV_ROI_NONE - No region of interest.
933
- | 1 // MAV_ROI_WPNEXT - Point toward next waypoint, with optional pitch/roll/yaw offset.
934
- | 2 // MAV_ROI_WPINDEX - Point toward given waypoint.
935
- | 3 // MAV_ROI_LOCATION - Point toward fixed location.
936
- | 4 // MAV_ROI_TARGET - Point toward of given id.
937
- | number;
938
-
939
- // Specifies the datatype of a MAVLink parameter.
940
- export type MAV_PARAM_TYPE =
941
- | 1 // MAV_PARAM_TYPE_UINT8 - 8-bit unsigned integer
942
- | 2 // MAV_PARAM_TYPE_INT8 - 8-bit signed integer
943
- | 3 // MAV_PARAM_TYPE_UINT16 - 16-bit unsigned integer
944
- | 4 // MAV_PARAM_TYPE_INT16 - 16-bit signed integer
945
- | 5 // MAV_PARAM_TYPE_UINT32 - 32-bit unsigned integer
946
- | 6 // MAV_PARAM_TYPE_INT32 - 32-bit signed integer
947
- | 7 // MAV_PARAM_TYPE_UINT64 - 64-bit unsigned integer
948
- | 8 // MAV_PARAM_TYPE_INT64 - 64-bit signed integer
949
- | 9 // MAV_PARAM_TYPE_REAL32 - 32-bit floating-point
950
- | 10 // MAV_PARAM_TYPE_REAL64 - 64-bit floating-point
951
- | number;
952
-
953
- // Specifies the datatype of a MAVLink extended parameter.
954
- export type MAV_PARAM_EXT_TYPE =
955
- | 1 // MAV_PARAM_EXT_TYPE_UINT8 - 8-bit unsigned integer
956
- | 2 // MAV_PARAM_EXT_TYPE_INT8 - 8-bit signed integer
957
- | 3 // MAV_PARAM_EXT_TYPE_UINT16 - 16-bit unsigned integer
958
- | 4 // MAV_PARAM_EXT_TYPE_INT16 - 16-bit signed integer
959
- | 5 // MAV_PARAM_EXT_TYPE_UINT32 - 32-bit unsigned integer
960
- | 6 // MAV_PARAM_EXT_TYPE_INT32 - 32-bit signed integer
961
- | 7 // MAV_PARAM_EXT_TYPE_UINT64 - 64-bit unsigned integer
962
- | 8 // MAV_PARAM_EXT_TYPE_INT64 - 64-bit signed integer
963
- | 9 // MAV_PARAM_EXT_TYPE_REAL32 - 32-bit floating-point
964
- | 10 // MAV_PARAM_EXT_TYPE_REAL64 - 64-bit floating-point
965
- | 11 // MAV_PARAM_EXT_TYPE_CUSTOM - Custom Type
966
- | number;
967
-
968
- // Result from a MAVLink command (MAV_CMD)
969
- export type MAV_RESULT =
970
- | 0 // MAV_RESULT_ACCEPTED - Command is valid (is supported and has valid parameters), and was executed.
971
- | 1 // MAV_RESULT_TEMPORARILY_REJECTED - Command is valid, but cannot be executed at this time. This is used to indicate a problem that should be fixed just by waiting (e.g. a state machine is busy, can&#x27;t arm because have not got GPS lock, etc.). Retrying later should work.
972
- | 2 // MAV_RESULT_DENIED - Command is invalid (is supported but has invalid parameters). Retrying same command and parameters will not work.
973
- | 3 // MAV_RESULT_UNSUPPORTED - Command is not supported (unknown).
974
- | 4 // MAV_RESULT_FAILED - Command is valid, but execution has failed. This is used to indicate any non-temporary or unexpected problem, i.e. any problem that must be fixed before the command can succeed/be retried. For example, attempting to write a file when out of memory, attempting to arm when sensors are not calibrated, etc.
975
- | 5 // MAV_RESULT_IN_PROGRESS - Command is valid and is being executed. This will be followed by further progress updates, i.e. the component may send further COMMAND_ACK messages with result MAV_RESULT_IN_PROGRESS (at a rate decided by the implementation), and must terminate by sending a COMMAND_ACK message with final result of the operation. The COMMAND_ACK.progress field can be used to indicate the progress of the operation.
976
- | 6 // MAV_RESULT_CANCELLED - Command has been cancelled (as a result of receiving a COMMAND_CANCEL message).
977
- | 7 // MAV_RESULT_COMMAND_LONG_ONLY - Command is only accepted when sent as a COMMAND_LONG.
978
- | 8 // MAV_RESULT_COMMAND_INT_ONLY - Command is only accepted when sent as a COMMAND_INT.
979
- | 9 // MAV_RESULT_COMMAND_UNSUPPORTED_MAV_FRAME - Command is invalid because a frame is required and the specified frame is not supported.
980
- | number;
981
-
982
- // Result of mission operation (in a MISSION_ACK message).
983
- export type MAV_MISSION_RESULT =
984
- | 0 // MAV_MISSION_ACCEPTED - mission accepted OK
985
- | 1 // MAV_MISSION_ERROR - Generic error / not accepting mission commands at all right now.
986
- | 2 // MAV_MISSION_UNSUPPORTED_FRAME - Coordinate frame is not supported.
987
- | 3 // MAV_MISSION_UNSUPPORTED - Command is not supported.
988
- | 4 // MAV_MISSION_NO_SPACE - Mission items exceed storage space.
989
- | 5 // MAV_MISSION_INVALID - One of the parameters has an invalid value.
990
- | 6 // MAV_MISSION_INVALID_PARAM1 - param1 has an invalid value.
991
- | 7 // MAV_MISSION_INVALID_PARAM2 - param2 has an invalid value.
992
- | 8 // MAV_MISSION_INVALID_PARAM3 - param3 has an invalid value.
993
- | 9 // MAV_MISSION_INVALID_PARAM4 - param4 has an invalid value.
994
- | 10 // MAV_MISSION_INVALID_PARAM5_X - x / param5 has an invalid value.
995
- | 11 // MAV_MISSION_INVALID_PARAM6_Y - y / param6 has an invalid value.
996
- | 12 // MAV_MISSION_INVALID_PARAM7 - z / param7 has an invalid value.
997
- | 13 // MAV_MISSION_INVALID_SEQUENCE - Mission item received out of sequence
998
- | 14 // MAV_MISSION_DENIED - Not accepting any mission commands from this communication partner.
999
- | 15 // MAV_MISSION_OPERATION_CANCELLED - Current mission operation cancelled (e.g. mission upload, mission download).
1000
- | number;
1001
-
1002
- // Indicates the severity level, generally used for status messages to indicate their relative urgency. Based on RFC-5424 using expanded definitions at: http://www.kiwisyslog.com/kb/info:-syslog-message-levels/.
1003
- export type MAV_SEVERITY =
1004
- | 0 // MAV_SEVERITY_EMERGENCY - System is unusable. This is a &quot;panic&quot; condition.
1005
- | 1 // MAV_SEVERITY_ALERT - Action should be taken immediately. Indicates error in non-critical systems.
1006
- | 2 // MAV_SEVERITY_CRITICAL - Action must be taken immediately. Indicates failure in a primary system.
1007
- | 3 // MAV_SEVERITY_ERROR - Indicates an error in secondary/redundant systems.
1008
- | 4 // MAV_SEVERITY_WARNING - Indicates about a possible future error if this is not resolved within a given timeframe. Example would be a low battery warning.
1009
- | 5 // MAV_SEVERITY_NOTICE - An unusual event has occurred, though not an error condition. This should be investigated for the root cause.
1010
- | 6 // MAV_SEVERITY_INFO - Normal operational messages. Useful for logging. No action is required for these messages.
1011
- | 7 // MAV_SEVERITY_DEBUG - Useful non-operational messages that can assist in debugging. These should not occur during normal operation.
1012
- | number;
1013
-
1014
- // Power supply status flags (bitmask)
1015
- export type MAV_POWER_STATUS =
1016
- | 1 // MAV_POWER_STATUS_BRICK_VALID - main brick power supply valid
1017
- | 2 // MAV_POWER_STATUS_SERVO_VALID - main servo power supply valid for FMU
1018
- | 4 // MAV_POWER_STATUS_USB_CONNECTED - USB power is connected
1019
- | 8 // MAV_POWER_STATUS_PERIPH_OVERCURRENT - peripheral supply is in over-current state
1020
- | 16 // MAV_POWER_STATUS_PERIPH_HIPOWER_OVERCURRENT - hi-power peripheral supply is in over-current state
1021
- | 32 // MAV_POWER_STATUS_CHANGED - Power status has changed since boot
1022
- | number;
1023
-
1024
- // SERIAL_CONTROL device types
1025
- export type SERIAL_CONTROL_DEV =
1026
- | 0 // SERIAL_CONTROL_DEV_TELEM1 - First telemetry port
1027
- | 1 // SERIAL_CONTROL_DEV_TELEM2 - Second telemetry port
1028
- | 2 // SERIAL_CONTROL_DEV_GPS1 - First GPS port
1029
- | 3 // SERIAL_CONTROL_DEV_GPS2 - Second GPS port
1030
- | 10 // SERIAL_CONTROL_DEV_SHELL - system shell
1031
- | 100 // SERIAL_CONTROL_SERIAL0 - SERIAL0
1032
- | 101 // SERIAL_CONTROL_SERIAL1 - SERIAL1
1033
- | 102 // SERIAL_CONTROL_SERIAL2 - SERIAL2
1034
- | 103 // SERIAL_CONTROL_SERIAL3 - SERIAL3
1035
- | 104 // SERIAL_CONTROL_SERIAL4 - SERIAL4
1036
- | 105 // SERIAL_CONTROL_SERIAL5 - SERIAL5
1037
- | 106 // SERIAL_CONTROL_SERIAL6 - SERIAL6
1038
- | 107 // SERIAL_CONTROL_SERIAL7 - SERIAL7
1039
- | 108 // SERIAL_CONTROL_SERIAL8 - SERIAL8
1040
- | 109 // SERIAL_CONTROL_SERIAL9 - SERIAL9
1041
- | number;
1042
-
1043
- // SERIAL_CONTROL flags (bitmask)
1044
- export type SERIAL_CONTROL_FLAG =
1045
- | 1 // SERIAL_CONTROL_FLAG_REPLY - Set if this is a reply
1046
- | 2 // SERIAL_CONTROL_FLAG_RESPOND - Set if the sender wants the receiver to send a response as another SERIAL_CONTROL message
1047
- | 4 // SERIAL_CONTROL_FLAG_EXCLUSIVE - Set if access to the serial port should be removed from whatever driver is currently using it, giving exclusive access to the SERIAL_CONTROL protocol. The port can be handed back by sending a request without this flag set
1048
- | 8 // SERIAL_CONTROL_FLAG_BLOCKING - Block on writes to the serial port
1049
- | 16 // SERIAL_CONTROL_FLAG_MULTI - Send multiple replies until port is drained
1050
- | number;
1051
-
1052
- // Enumeration of distance sensor types
1053
- export type MAV_DISTANCE_SENSOR =
1054
- | 0 // MAV_DISTANCE_SENSOR_LASER - Laser rangefinder, e.g. LightWare SF02/F or PulsedLight units
1055
- | 1 // MAV_DISTANCE_SENSOR_ULTRASOUND - Ultrasound rangefinder, e.g. MaxBotix units
1056
- | 2 // MAV_DISTANCE_SENSOR_INFRARED - Infrared rangefinder, e.g. Sharp units
1057
- | 3 // MAV_DISTANCE_SENSOR_RADAR - Radar type, e.g. uLanding units
1058
- | 4 // MAV_DISTANCE_SENSOR_UNKNOWN - Broken or unknown type, e.g. analog units
1059
- | number;
1060
-
1061
- // Enumeration of sensor orientation, according to its rotations
1062
- export type MAV_SENSOR_ORIENTATION =
1063
- | 0 // MAV_SENSOR_ROTATION_NONE - Roll: 0, Pitch: 0, Yaw: 0
1064
- | 1 // MAV_SENSOR_ROTATION_YAW_45 - Roll: 0, Pitch: 0, Yaw: 45
1065
- | 2 // MAV_SENSOR_ROTATION_YAW_90 - Roll: 0, Pitch: 0, Yaw: 90
1066
- | 3 // MAV_SENSOR_ROTATION_YAW_135 - Roll: 0, Pitch: 0, Yaw: 135
1067
- | 4 // MAV_SENSOR_ROTATION_YAW_180 - Roll: 0, Pitch: 0, Yaw: 180
1068
- | 5 // MAV_SENSOR_ROTATION_YAW_225 - Roll: 0, Pitch: 0, Yaw: 225
1069
- | 6 // MAV_SENSOR_ROTATION_YAW_270 - Roll: 0, Pitch: 0, Yaw: 270
1070
- | 7 // MAV_SENSOR_ROTATION_YAW_315 - Roll: 0, Pitch: 0, Yaw: 315
1071
- | 8 // MAV_SENSOR_ROTATION_ROLL_180 - Roll: 180, Pitch: 0, Yaw: 0
1072
- | 9 // MAV_SENSOR_ROTATION_ROLL_180_YAW_45 - Roll: 180, Pitch: 0, Yaw: 45
1073
- | 10 // MAV_SENSOR_ROTATION_ROLL_180_YAW_90 - Roll: 180, Pitch: 0, Yaw: 90
1074
- | 11 // MAV_SENSOR_ROTATION_ROLL_180_YAW_135 - Roll: 180, Pitch: 0, Yaw: 135
1075
- | 12 // MAV_SENSOR_ROTATION_PITCH_180 - Roll: 0, Pitch: 180, Yaw: 0
1076
- | 13 // MAV_SENSOR_ROTATION_ROLL_180_YAW_225 - Roll: 180, Pitch: 0, Yaw: 225
1077
- | 14 // MAV_SENSOR_ROTATION_ROLL_180_YAW_270 - Roll: 180, Pitch: 0, Yaw: 270
1078
- | 15 // MAV_SENSOR_ROTATION_ROLL_180_YAW_315 - Roll: 180, Pitch: 0, Yaw: 315
1079
- | 16 // MAV_SENSOR_ROTATION_ROLL_90 - Roll: 90, Pitch: 0, Yaw: 0
1080
- | 17 // MAV_SENSOR_ROTATION_ROLL_90_YAW_45 - Roll: 90, Pitch: 0, Yaw: 45
1081
- | 18 // MAV_SENSOR_ROTATION_ROLL_90_YAW_90 - Roll: 90, Pitch: 0, Yaw: 90
1082
- | 19 // MAV_SENSOR_ROTATION_ROLL_90_YAW_135 - Roll: 90, Pitch: 0, Yaw: 135
1083
- | 20 // MAV_SENSOR_ROTATION_ROLL_270 - Roll: 270, Pitch: 0, Yaw: 0
1084
- | 21 // MAV_SENSOR_ROTATION_ROLL_270_YAW_45 - Roll: 270, Pitch: 0, Yaw: 45
1085
- | 22 // MAV_SENSOR_ROTATION_ROLL_270_YAW_90 - Roll: 270, Pitch: 0, Yaw: 90
1086
- | 23 // MAV_SENSOR_ROTATION_ROLL_270_YAW_135 - Roll: 270, Pitch: 0, Yaw: 135
1087
- | 24 // MAV_SENSOR_ROTATION_PITCH_90 - Roll: 0, Pitch: 90, Yaw: 0
1088
- | 25 // MAV_SENSOR_ROTATION_PITCH_270 - Roll: 0, Pitch: 270, Yaw: 0
1089
- | 26 // MAV_SENSOR_ROTATION_PITCH_180_YAW_90 - Roll: 0, Pitch: 180, Yaw: 90
1090
- | 27 // MAV_SENSOR_ROTATION_PITCH_180_YAW_270 - Roll: 0, Pitch: 180, Yaw: 270
1091
- | 28 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_90 - Roll: 90, Pitch: 90, Yaw: 0
1092
- | 29 // MAV_SENSOR_ROTATION_ROLL_180_PITCH_90 - Roll: 180, Pitch: 90, Yaw: 0
1093
- | 30 // MAV_SENSOR_ROTATION_ROLL_270_PITCH_90 - Roll: 270, Pitch: 90, Yaw: 0
1094
- | 31 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_180 - Roll: 90, Pitch: 180, Yaw: 0
1095
- | 32 // MAV_SENSOR_ROTATION_ROLL_270_PITCH_180 - Roll: 270, Pitch: 180, Yaw: 0
1096
- | 33 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_270 - Roll: 90, Pitch: 270, Yaw: 0
1097
- | 34 // MAV_SENSOR_ROTATION_ROLL_180_PITCH_270 - Roll: 180, Pitch: 270, Yaw: 0
1098
- | 35 // MAV_SENSOR_ROTATION_ROLL_270_PITCH_270 - Roll: 270, Pitch: 270, Yaw: 0
1099
- | 36 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_180_YAW_90 - Roll: 90, Pitch: 180, Yaw: 90
1100
- | 37 // MAV_SENSOR_ROTATION_ROLL_90_YAW_270 - Roll: 90, Pitch: 0, Yaw: 270
1101
- | 38 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_68_YAW_293 - Roll: 90, Pitch: 68, Yaw: 293
1102
- | 39 // MAV_SENSOR_ROTATION_PITCH_315 - Pitch: 315
1103
- | 40 // MAV_SENSOR_ROTATION_ROLL_90_PITCH_315 - Roll: 90, Pitch: 315
1104
- | 100 // MAV_SENSOR_ROTATION_CUSTOM - Custom orientation
1105
- | number;
1106
-
1107
- // Bitmask of (optional) autopilot capabilities (64 bit). If a bit is set, the autopilot supports this capability.
1108
- export type MAV_PROTOCOL_CAPABILITY =
1109
- | 1 // MAV_PROTOCOL_CAPABILITY_MISSION_FLOAT - Autopilot supports the MISSION_ITEM float message type. Note that MISSION_ITEM is deprecated, and autopilots should use MISSION_INT instead.
1110
- | 2 // MAV_PROTOCOL_CAPABILITY_PARAM_FLOAT - Autopilot supports the new param float message type.
1111
- | 4 // MAV_PROTOCOL_CAPABILITY_MISSION_INT - Autopilot supports MISSION_ITEM_INT scaled integer message type. Note that this flag must always be set if missions are supported, because missions must always use MISSION_ITEM_INT (rather than MISSION_ITEM, which is deprecated).
1112
- | 8 // MAV_PROTOCOL_CAPABILITY_COMMAND_INT - Autopilot supports COMMAND_INT scaled integer message type.
1113
- | 16 // MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE - Parameter protocol uses byte-wise encoding of parameter values into param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding. Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST should be set if the parameter protocol is supported.
1114
- | 32 // MAV_PROTOCOL_CAPABILITY_FTP - Autopilot supports the File Transfer Protocol v1: https://mavlink.io/en/services/ftp.html.
1115
- | 64 // MAV_PROTOCOL_CAPABILITY_SET_ATTITUDE_TARGET - Autopilot supports commanding attitude offboard.
1116
- | 128 // MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_LOCAL_NED - Autopilot supports commanding position and velocity targets in local NED frame.
1117
- | 256 // MAV_PROTOCOL_CAPABILITY_SET_POSITION_TARGET_GLOBAL_INT - Autopilot supports commanding position and velocity targets in global scaled integers.
1118
- | 512 // MAV_PROTOCOL_CAPABILITY_TERRAIN - Autopilot supports terrain protocol / data handling.
1119
- | 1024 // MAV_PROTOCOL_CAPABILITY_RESERVED3 - Reserved for future use.
1120
- | 2048 // MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION - Autopilot supports the MAV_CMD_DO_FLIGHTTERMINATION command (flight termination).
1121
- | 4096 // MAV_PROTOCOL_CAPABILITY_COMPASS_CALIBRATION - Autopilot supports onboard compass calibration.
1122
- | 8192 // MAV_PROTOCOL_CAPABILITY_MAVLINK2 - Autopilot supports MAVLink version 2.
1123
- | 16384 // MAV_PROTOCOL_CAPABILITY_MISSION_FENCE - Autopilot supports mission fence protocol.
1124
- | 32768 // MAV_PROTOCOL_CAPABILITY_MISSION_RALLY - Autopilot supports mission rally point protocol.
1125
- | 65536 // MAV_PROTOCOL_CAPABILITY_RESERVED2 - Reserved for future use.
1126
- | 131072 // MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_C_CAST - Parameter protocol uses C-cast of parameter values to set the param_value (float) fields: https://mavlink.io/en/services/parameter.html#parameter-encoding. Note that either this flag or MAV_PROTOCOL_CAPABILITY_PARAM_ENCODE_BYTEWISE should be set if the parameter protocol is supported.
1127
- | 262144 // MAV_PROTOCOL_CAPABILITY_COMPONENT_IMPLEMENTS_GIMBAL_MANAGER - This component implements/is a gimbal manager. This means the GIMBAL_MANAGER_INFORMATION, and other messages can be requested.
1128
- | 524288 // MAV_PROTOCOL_CAPABILITY_COMPONENT_ACCEPTS_GCS_CONTROL - Component supports locking control to a particular GCS independent of its system (via MAV_CMD_REQUEST_OPERATOR_CONTROL).
1129
- | 1048576 // MAV_PROTOCOL_CAPABILITY_GRIPPER - Autopilot has a connected gripper. MAVLink Grippers would set MAV_TYPE_GRIPPER instead.
1130
- | number;
1131
-
1132
- // Type of mission items being requested/sent in mission protocol.
1133
- export type MAV_MISSION_TYPE =
1134
- | 0 // MAV_MISSION_TYPE_MISSION - Items are mission commands for main mission.
1135
- | 1 // MAV_MISSION_TYPE_FENCE - Specifies GeoFence area(s). Items are MAV_CMD_NAV_FENCE_ GeoFence items.
1136
- | 2 // MAV_MISSION_TYPE_RALLY - Specifies the rally points for the vehicle. Rally points are alternative RTL points. Items are MAV_CMD_NAV_RALLY_POINT rally point items.
1137
- | 255 // MAV_MISSION_TYPE_ALL - Only used in MISSION_CLEAR_ALL to clear all mission types.
1138
- | number;
1139
-
1140
- // Enumeration of estimator types
1141
- export type MAV_ESTIMATOR_TYPE =
1142
- | 0 // MAV_ESTIMATOR_TYPE_UNKNOWN - Unknown type of the estimator.
1143
- | 1 // MAV_ESTIMATOR_TYPE_NAIVE - This is a naive estimator without any real covariance feedback.
1144
- | 2 // MAV_ESTIMATOR_TYPE_VISION - Computer vision based estimate. Might be up to scale.
1145
- | 3 // MAV_ESTIMATOR_TYPE_VIO - Visual-inertial estimate.
1146
- | 4 // MAV_ESTIMATOR_TYPE_GPS - Plain GPS estimate.
1147
- | 5 // MAV_ESTIMATOR_TYPE_GPS_INS - Estimator integrating GPS and inertial sensing.
1148
- | 6 // MAV_ESTIMATOR_TYPE_MOCAP - Estimate from external motion capturing system.
1149
- | 7 // MAV_ESTIMATOR_TYPE_LIDAR - Estimator based on lidar sensor input.
1150
- | 8 // MAV_ESTIMATOR_TYPE_AUTOPILOT - Estimator on autopilot.
1151
- | number;
1152
-
1153
- // Enumeration of battery types
1154
- export type MAV_BATTERY_TYPE =
1155
- | 0 // MAV_BATTERY_TYPE_UNKNOWN - Not specified.
1156
- | 1 // MAV_BATTERY_TYPE_LIPO - Lithium polymer battery
1157
- | 2 // MAV_BATTERY_TYPE_LIFE - Lithium-iron-phosphate battery
1158
- | 3 // MAV_BATTERY_TYPE_LION - Lithium-ION battery
1159
- | 4 // MAV_BATTERY_TYPE_NIMH - Nickel metal hydride battery
1160
- | number;
1161
-
1162
- // Enumeration of battery functions
1163
- export type MAV_BATTERY_FUNCTION =
1164
- | 0 // MAV_BATTERY_FUNCTION_UNKNOWN - Battery function is unknown
1165
- | 1 // MAV_BATTERY_FUNCTION_ALL - Battery supports all flight systems
1166
- | 2 // MAV_BATTERY_FUNCTION_PROPULSION - Battery for the propulsion system
1167
- | 3 // MAV_BATTERY_FUNCTION_AVIONICS - Avionics battery
1168
- | 4 // MAV_BATTERY_FUNCTION_PAYLOAD - Payload battery
1169
- | number;
1170
-
1171
- // Enumeration for battery charge states.
1172
- export type MAV_BATTERY_CHARGE_STATE =
1173
- | 0 // MAV_BATTERY_CHARGE_STATE_UNDEFINED - Low battery state is not provided
1174
- | 1 // MAV_BATTERY_CHARGE_STATE_OK - Battery is not in low state. Normal operation.
1175
- | 2 // MAV_BATTERY_CHARGE_STATE_LOW - Battery state is low, warn and monitor close.
1176
- | 3 // MAV_BATTERY_CHARGE_STATE_CRITICAL - Battery state is critical, return or abort immediately.
1177
- | 4 // MAV_BATTERY_CHARGE_STATE_EMERGENCY - Battery state is too low for ordinary abort sequence. Perform fastest possible emergency stop to prevent damage.
1178
- | 5 // MAV_BATTERY_CHARGE_STATE_FAILED - Battery failed, damage unavoidable. Possible causes (faults) are listed in MAV_BATTERY_FAULT.
1179
- | 6 // MAV_BATTERY_CHARGE_STATE_UNHEALTHY - Battery is diagnosed to be defective or an error occurred, usage is discouraged / prohibited. Possible causes (faults) are listed in MAV_BATTERY_FAULT.
1180
- | 7 // MAV_BATTERY_CHARGE_STATE_CHARGING - Battery is charging.
1181
- | number;
1182
-
1183
- // Battery mode. Note, the normal operation mode (i.e. when flying) should be reported as MAV_BATTERY_MODE_UNKNOWN to allow message trimming in normal flight.
1184
- export type MAV_BATTERY_MODE =
1185
- | 0 // MAV_BATTERY_MODE_UNKNOWN - Battery mode not supported/unknown battery mode/normal operation.
1186
- | 1 // MAV_BATTERY_MODE_AUTO_DISCHARGING - Battery is auto discharging (towards storage level).
1187
- | 2 // MAV_BATTERY_MODE_HOT_SWAP - Battery in hot-swap mode (current limited to prevent spikes that might damage sensitive electrical circuits).
1188
- | number;
1189
-
1190
- // Smart battery supply status/fault flags (bitmask) for health indication. The battery must also report either MAV_BATTERY_CHARGE_STATE_FAILED or MAV_BATTERY_CHARGE_STATE_UNHEALTHY if any of these are set.
1191
- export type MAV_BATTERY_FAULT =
1192
- | 1 // MAV_BATTERY_FAULT_DEEP_DISCHARGE - Battery has deep discharged.
1193
- | 2 // MAV_BATTERY_FAULT_SPIKES - Voltage spikes.
1194
- | 4 // MAV_BATTERY_FAULT_CELL_FAIL - One or more cells have failed. Battery should also report MAV_BATTERY_CHARGE_STATE_FAILE (and should not be used).
1195
- | 8 // MAV_BATTERY_FAULT_OVER_CURRENT - Over-current fault.
1196
- | 16 // MAV_BATTERY_FAULT_OVER_TEMPERATURE - Over-temperature fault.
1197
- | 32 // MAV_BATTERY_FAULT_UNDER_TEMPERATURE - Under-temperature fault.
1198
- | 64 // MAV_BATTERY_FAULT_INCOMPATIBLE_VOLTAGE - Vehicle voltage is not compatible with this battery (batteries on same power rail should have similar voltage).
1199
- | 128 // MAV_BATTERY_FAULT_INCOMPATIBLE_FIRMWARE - Battery firmware is not compatible with current autopilot firmware.
1200
- | 256 // BATTERY_FAULT_INCOMPATIBLE_CELLS_CONFIGURATION - Battery is not compatible due to cell configuration (e.g. 5s1p when vehicle requires 6s).
1201
- | number;
1202
-
1203
- // Fuel types for use in FUEL_TYPE. Fuel types specify the units for the maximum, available and consumed fuel, and for the flow rates.
1204
- export type MAV_FUEL_TYPE =
1205
- | 0 // MAV_FUEL_TYPE_UNKNOWN - Not specified. Fuel levels are normalized (i.e. maximum is 1, and other levels are relative to 1).
1206
- | 1 // MAV_FUEL_TYPE_LIQUID - A generic liquid fuel. Fuel levels are in millilitres (ml). Fuel rates are in millilitres/second.
1207
- | 2 // MAV_FUEL_TYPE_GAS - A gas tank. Fuel levels are in kilo-Pascal (kPa), and flow rates are in milliliters per second (ml/s).
1208
- | number;
1209
-
1210
- // Flags to report status/failure cases for a power generator (used in GENERATOR_STATUS). Note that FAULTS are conditions that cause the generator to fail. Warnings are conditions that require attention before the next use (they indicate the system is not operating properly).
1211
- export type MAV_GENERATOR_STATUS_FLAG =
1212
- | 1 // MAV_GENERATOR_STATUS_FLAG_OFF - Generator is off.
1213
- | 2 // MAV_GENERATOR_STATUS_FLAG_READY - Generator is ready to start generating power.
1214
- | 4 // MAV_GENERATOR_STATUS_FLAG_GENERATING - Generator is generating power.
1215
- | 8 // MAV_GENERATOR_STATUS_FLAG_CHARGING - Generator is charging the batteries (generating enough power to charge and provide the load).
1216
- | 16 // MAV_GENERATOR_STATUS_FLAG_REDUCED_POWER - Generator is operating at a reduced maximum power.
1217
- | 32 // MAV_GENERATOR_STATUS_FLAG_MAXPOWER - Generator is providing the maximum output.
1218
- | 64 // MAV_GENERATOR_STATUS_FLAG_OVERTEMP_WARNING - Generator is near the maximum operating temperature, cooling is insufficient.
1219
- | 128 // MAV_GENERATOR_STATUS_FLAG_OVERTEMP_FAULT - Generator hit the maximum operating temperature and shutdown.
1220
- | 256 // MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_WARNING - Power electronics are near the maximum operating temperature, cooling is insufficient.
1221
- | 512 // MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_OVERTEMP_FAULT - Power electronics hit the maximum operating temperature and shutdown.
1222
- | 1024 // MAV_GENERATOR_STATUS_FLAG_ELECTRONICS_FAULT - Power electronics experienced a fault and shutdown.
1223
- | 2048 // MAV_GENERATOR_STATUS_FLAG_POWERSOURCE_FAULT - The power source supplying the generator failed e.g. mechanical generator stopped, tether is no longer providing power, solar cell is in shade, hydrogen reaction no longer happening.
1224
- | 4096 // MAV_GENERATOR_STATUS_FLAG_COMMUNICATION_WARNING - Generator controller having communication problems.
1225
- | 8192 // MAV_GENERATOR_STATUS_FLAG_COOLING_WARNING - Power electronic or generator cooling system error.
1226
- | 16384 // MAV_GENERATOR_STATUS_FLAG_POWER_RAIL_FAULT - Generator controller power rail experienced a fault.
1227
- | 32768 // MAV_GENERATOR_STATUS_FLAG_OVERCURRENT_FAULT - Generator controller exceeded the overcurrent threshold and shutdown to prevent damage.
1228
- | 65536 // MAV_GENERATOR_STATUS_FLAG_BATTERY_OVERCHARGE_CURRENT_FAULT - Generator controller detected a high current going into the batteries and shutdown to prevent battery damage.
1229
- | 131072 // MAV_GENERATOR_STATUS_FLAG_OVERVOLTAGE_FAULT - Generator controller exceeded it&#x27;s overvoltage threshold and shutdown to prevent it exceeding the voltage rating.
1230
- | 262144 // MAV_GENERATOR_STATUS_FLAG_BATTERY_UNDERVOLT_FAULT - Batteries are under voltage (generator will not start).
1231
- | 524288 // MAV_GENERATOR_STATUS_FLAG_START_INHIBITED - Generator start is inhibited by e.g. a safety switch.
1232
- | 1048576 // MAV_GENERATOR_STATUS_FLAG_MAINTENANCE_REQUIRED - Generator requires maintenance.
1233
- | 2097152 // MAV_GENERATOR_STATUS_FLAG_WARMING_UP - Generator is not ready to generate yet.
1234
- | 4194304 // MAV_GENERATOR_STATUS_FLAG_IDLE - Generator is idle.
1235
- | number;
1236
-
1237
- // Enumeration of VTOL states
1238
- export type MAV_VTOL_STATE =
1239
- | 0 // MAV_VTOL_STATE_UNDEFINED - MAV is not configured as VTOL
1240
- | 1 // MAV_VTOL_STATE_TRANSITION_TO_FW - VTOL is in transition from multicopter to fixed-wing
1241
- | 2 // MAV_VTOL_STATE_TRANSITION_TO_MC - VTOL is in transition from fixed-wing to multicopter
1242
- | 3 // MAV_VTOL_STATE_MC - VTOL is in multicopter state
1243
- | 4 // MAV_VTOL_STATE_FW - VTOL is in fixed-wing state
1244
- | number;
1245
-
1246
- // Enumeration of landed detector states
1247
- export type MAV_LANDED_STATE =
1248
- | 0 // MAV_LANDED_STATE_UNDEFINED - MAV landed state is unknown
1249
- | 1 // MAV_LANDED_STATE_ON_GROUND - MAV is landed (on ground)
1250
- | 2 // MAV_LANDED_STATE_IN_AIR - MAV is in air
1251
- | 3 // MAV_LANDED_STATE_TAKEOFF - MAV currently taking off
1252
- | 4 // MAV_LANDED_STATE_LANDING - MAV currently landing
1253
- | number;
1254
-
1255
- // Enumeration of the ADSB altimeter types
1256
- export type ADSB_ALTITUDE_TYPE =
1257
- | 0 // ADSB_ALTITUDE_TYPE_PRESSURE_QNH - Altitude reported from a Baro source using QNH reference
1258
- | 1 // ADSB_ALTITUDE_TYPE_GEOMETRIC - Altitude reported from a GNSS source
1259
- | number;
1260
-
1261
- // ADSB classification for the type of vehicle emitting the transponder signal
1262
- export type ADSB_EMITTER_TYPE =
1263
- | 0
1264
- | 1
1265
- | 2
1266
- | 3
1267
- | 4
1268
- | 5
1269
- | 6
1270
- | 7
1271
- | 8
1272
- | 9
1273
- | 10
1274
- | 11
1275
- | 12
1276
- | 13
1277
- | 14
1278
- | 15
1279
- | 16
1280
- | 17
1281
- | 18
1282
- | 19
1283
- | number;
1284
-
1285
- // These flags indicate status such as data validity of each data source. Set &#x3D; data valid
1286
- export type ADSB_FLAGS =
1287
- | 1
1288
- | 2
1289
- | 4
1290
- | 8
1291
- | 16
1292
- | 32
1293
- | 64
1294
- | 128
1295
- | 256
1296
- | 32768
1297
- | number;
1298
-
1299
- // Bitmap of options for the MAV_CMD_DO_REPOSITION
1300
- export type MAV_DO_REPOSITION_FLAGS =
1301
- | 1 // MAV_DO_REPOSITION_FLAGS_CHANGE_MODE - The aircraft should immediately transition into guided. This should not be set for follow me applications
1302
- | 2 // MAV_DO_REPOSITION_FLAGS_RELATIVE_YAW - Yaw relative to the vehicle current heading (if not set, relative to North).
1303
- | number;
1304
-
1305
- // Speed setpoint types used in MAV_CMD_DO_CHANGE_SPEED
1306
- export type SPEED_TYPE =
1307
- | 0 // SPEED_TYPE_AIRSPEED - Airspeed
1308
- | 1 // SPEED_TYPE_GROUNDSPEED - Groundspeed
1309
- | 2 // SPEED_TYPE_CLIMB_SPEED - Climb speed
1310
- | 3 // SPEED_TYPE_DESCENT_SPEED - Descent speed
1311
- | number;
1312
-
1313
- // Flags in ESTIMATOR_STATUS message
1314
- export type ESTIMATOR_STATUS_FLAGS =
1315
- | 1 // ESTIMATOR_ATTITUDE - True if the attitude estimate is good
1316
- | 2 // ESTIMATOR_VELOCITY_HORIZ - True if the horizontal velocity estimate is good
1317
- | 4 // ESTIMATOR_VELOCITY_VERT - True if the vertical velocity estimate is good
1318
- | 8 // ESTIMATOR_POS_HORIZ_REL - True if the horizontal position (relative) estimate is good
1319
- | 16 // ESTIMATOR_POS_HORIZ_ABS - True if the horizontal position (absolute) estimate is good
1320
- | 32 // ESTIMATOR_POS_VERT_ABS - True if the vertical position (absolute) estimate is good
1321
- | 64 // ESTIMATOR_POS_VERT_AGL - True if the vertical position (above ground) estimate is good
1322
- | 128 // ESTIMATOR_CONST_POS_MODE - True if the EKF is in a constant position mode and is not using external measurements (eg GPS or optical flow)
1323
- | 256 // ESTIMATOR_PRED_POS_HORIZ_REL - True if the EKF has sufficient data to enter a mode that will provide a (relative) position estimate
1324
- | 512 // ESTIMATOR_PRED_POS_HORIZ_ABS - True if the EKF has sufficient data to enter a mode that will provide a (absolute) position estimate
1325
- | 1024 // ESTIMATOR_GPS_GLITCH - True if the EKF has detected a GPS glitch
1326
- | 2048 // ESTIMATOR_ACCEL_ERROR - True if the EKF has detected bad accelerometer data
1327
- | number;
1328
-
1329
- // Sequence that motors are tested when using MAV_CMD_DO_MOTOR_TEST.
1330
- export type MOTOR_TEST_ORDER =
1331
- | 0 // MOTOR_TEST_ORDER_DEFAULT - Default autopilot motor test method.
1332
- | 1 // MOTOR_TEST_ORDER_SEQUENCE - Motor numbers are specified as their index in a predefined vehicle-specific sequence.
1333
- | 2 // MOTOR_TEST_ORDER_BOARD - Motor numbers are specified as the output as labeled on the board.
1334
- | number;
1335
-
1336
- // Defines how throttle value is represented in MAV_CMD_DO_MOTOR_TEST.
1337
- export type MOTOR_TEST_THROTTLE_TYPE =
1338
- | 0 // MOTOR_TEST_THROTTLE_PERCENT - Throttle as a percentage (0 ~ 100)
1339
- | 1 // MOTOR_TEST_THROTTLE_PWM - Throttle as an absolute PWM value (normally in range of 1000~2000).
1340
- | 2 // MOTOR_TEST_THROTTLE_PILOT - Throttle pass-through from pilot&#x27;s transmitter.
1341
- | 3 // MOTOR_TEST_COMPASS_CAL - Per-motor compass calibration test.
1342
- | number;
1343
-
1344
- export type GPS_INPUT_IGNORE_FLAGS =
1345
- | 1 // GPS_INPUT_IGNORE_FLAG_ALT - ignore altitude field
1346
- | 2 // GPS_INPUT_IGNORE_FLAG_HDOP - ignore hdop field
1347
- | 4 // GPS_INPUT_IGNORE_FLAG_VDOP - ignore vdop field
1348
- | 8 // GPS_INPUT_IGNORE_FLAG_VEL_HORIZ - ignore horizontal velocity field (vn and ve)
1349
- | 16 // GPS_INPUT_IGNORE_FLAG_VEL_VERT - ignore vertical velocity field (vd)
1350
- | 32 // GPS_INPUT_IGNORE_FLAG_SPEED_ACCURACY - ignore speed accuracy field
1351
- | 64 // GPS_INPUT_IGNORE_FLAG_HORIZONTAL_ACCURACY - ignore horizontal accuracy field
1352
- | 128 // GPS_INPUT_IGNORE_FLAG_VERTICAL_ACCURACY - ignore vertical accuracy field
1353
- | number;
1354
-
1355
- // Possible actions an aircraft can take to avoid a collision.
1356
- export type MAV_COLLISION_ACTION =
1357
- | 0 // MAV_COLLISION_ACTION_NONE - Ignore any potential collisions
1358
- | 1 // MAV_COLLISION_ACTION_REPORT - Report potential collision
1359
- | 2 // MAV_COLLISION_ACTION_ASCEND_OR_DESCEND - Ascend or Descend to avoid threat
1360
- | 3 // MAV_COLLISION_ACTION_MOVE_HORIZONTALLY - Move horizontally to avoid threat
1361
- | 4 // MAV_COLLISION_ACTION_MOVE_PERPENDICULAR - Aircraft to move perpendicular to the collision&#x27;s velocity vector
1362
- | 5 // MAV_COLLISION_ACTION_RTL - Aircraft to fly directly back to its launch point
1363
- | 6 // MAV_COLLISION_ACTION_HOVER - Aircraft to stop in place
1364
- | number;
1365
-
1366
- // Aircraft-rated danger from this threat.
1367
- export type MAV_COLLISION_THREAT_LEVEL =
1368
- | 0 // MAV_COLLISION_THREAT_LEVEL_NONE - Not a threat
1369
- | 1 // MAV_COLLISION_THREAT_LEVEL_LOW - Craft is mildly concerned about this threat
1370
- | 2 // MAV_COLLISION_THREAT_LEVEL_HIGH - Craft is panicking, and may take actions to avoid threat
1371
- | number;
1372
-
1373
- // Source of information about this collision.
1374
- export type MAV_COLLISION_SRC =
1375
- | 0 // MAV_COLLISION_SRC_ADSB - ID field references ADSB_VEHICLE packets
1376
- | 1 // MAV_COLLISION_SRC_MAVLINK_GPS_GLOBAL_INT - ID field references MAVLink SRC ID
1377
- | number;
1378
-
1379
- // Type of GPS fix
1380
- export type GPS_FIX_TYPE =
1381
- | 0 // GPS_FIX_TYPE_NO_GPS - No GPS connected
1382
- | 1 // GPS_FIX_TYPE_NO_FIX - No position information, GPS is connected
1383
- | 2 // GPS_FIX_TYPE_2D_FIX - 2D position
1384
- | 3 // GPS_FIX_TYPE_3D_FIX - 3D position
1385
- | 4 // GPS_FIX_TYPE_DGPS - DGPS/SBAS aided 3D position
1386
- | 5 // GPS_FIX_TYPE_RTK_FLOAT - RTK float, 3D position
1387
- | 6 // GPS_FIX_TYPE_RTK_FIXED - RTK Fixed, 3D position
1388
- | 7 // GPS_FIX_TYPE_STATIC - Static fixed, typically used for base stations
1389
- | 8 // GPS_FIX_TYPE_PPP - PPP, 3D position.
1390
- | number;
1391
-
1392
- // RTK GPS baseline coordinate system, used for RTK corrections
1393
- export type RTK_BASELINE_COORDINATE_SYSTEM =
1394
- | 0 // RTK_BASELINE_COORDINATE_SYSTEM_ECEF - Earth-centered, Earth-fixed
1395
- | 1 // RTK_BASELINE_COORDINATE_SYSTEM_NED - RTK basestation centered, north, east, down
1396
- | number;
1397
-
1398
- // Type of landing target
1399
- export type LANDING_TARGET_TYPE =
1400
- | 0 // LANDING_TARGET_TYPE_LIGHT_BEACON - Landing target signaled by light beacon (ex: IR-LOCK)
1401
- | 1 // LANDING_TARGET_TYPE_RADIO_BEACON - Landing target signaled by radio beacon (ex: ILS, NDB)
1402
- | 2 // LANDING_TARGET_TYPE_VISION_FIDUCIAL - Landing target represented by a fiducial marker (ex: ARTag)
1403
- | 3 // LANDING_TARGET_TYPE_VISION_OTHER - Landing target represented by a pre-defined visual shape/feature (ex: X-marker, H-marker, square)
1404
- | number;
1405
-
1406
- // Direction of VTOL transition
1407
- export type VTOL_TRANSITION_HEADING =
1408
- | 0 // VTOL_TRANSITION_HEADING_VEHICLE_DEFAULT - Respect the heading configuration of the vehicle.
1409
- | 1 // VTOL_TRANSITION_HEADING_NEXT_WAYPOINT - Use the heading pointing towards the next waypoint.
1410
- | 2 // VTOL_TRANSITION_HEADING_TAKEOFF - Use the heading on takeoff (while sitting on the ground).
1411
- | 3 // VTOL_TRANSITION_HEADING_SPECIFIED - Use the specified heading in parameter 4.
1412
- | 4 // VTOL_TRANSITION_HEADING_ANY - Use the current heading when reaching takeoff altitude (potentially facing the wind when weather-vaning is active).
1413
- | number;
1414
-
1415
- // Camera capability flags (Bitmap)
1416
- export type CAMERA_CAP_FLAGS =
1417
- | 1 // CAMERA_CAP_FLAGS_CAPTURE_VIDEO - Camera is able to record video
1418
- | 2 // CAMERA_CAP_FLAGS_CAPTURE_IMAGE - Camera is able to capture images
1419
- | 4 // CAMERA_CAP_FLAGS_HAS_MODES - Camera has separate Video and Image/Photo modes (MAV_CMD_SET_CAMERA_MODE)
1420
- | 8 // CAMERA_CAP_FLAGS_CAN_CAPTURE_IMAGE_IN_VIDEO_MODE - Camera can capture images while in video mode
1421
- | 16 // CAMERA_CAP_FLAGS_CAN_CAPTURE_VIDEO_IN_IMAGE_MODE - Camera can capture videos while in Photo/Image mode
1422
- | 32 // CAMERA_CAP_FLAGS_HAS_IMAGE_SURVEY_MODE - Camera has image survey mode (MAV_CMD_SET_CAMERA_MODE)
1423
- | 64 // CAMERA_CAP_FLAGS_HAS_BASIC_ZOOM - Camera has basic zoom control (MAV_CMD_SET_CAMERA_ZOOM)
1424
- | 128 // CAMERA_CAP_FLAGS_HAS_BASIC_FOCUS - Camera has basic focus control (MAV_CMD_SET_CAMERA_FOCUS)
1425
- | 256 // CAMERA_CAP_FLAGS_HAS_VIDEO_STREAM - Camera has video streaming capabilities (request VIDEO_STREAM_INFORMATION with MAV_CMD_REQUEST_MESSAGE for video streaming info)
1426
- | 512 // CAMERA_CAP_FLAGS_HAS_TRACKING_POINT - Camera supports tracking of a point on the camera view.
1427
- | 1024 // CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE - Camera supports tracking of a selection rectangle on the camera view.
1428
- | 2048 // CAMERA_CAP_FLAGS_HAS_TRACKING_GEO_STATUS - Camera supports tracking geo status (CAMERA_TRACKING_GEO_STATUS).
1429
- | 4096 // CAMERA_CAP_FLAGS_HAS_THERMAL_RANGE - Camera supports absolute thermal range (request CAMERA_THERMAL_RANGE with MAV_CMD_REQUEST_MESSAGE).
1430
- | number;
1431
-
1432
- // Stream status flags (Bitmap)
1433
- export type VIDEO_STREAM_STATUS_FLAGS =
1434
- | 1 // VIDEO_STREAM_STATUS_FLAGS_RUNNING - Stream is active (running)
1435
- | 2 // VIDEO_STREAM_STATUS_FLAGS_THERMAL - Stream is thermal imaging
1436
- | 4 // VIDEO_STREAM_STATUS_FLAGS_THERMAL_RANGE_ENABLED - Stream can report absolute thermal range (see CAMERA_THERMAL_RANGE).
1437
- | number;
1438
-
1439
- // Video stream types
1440
- export type VIDEO_STREAM_TYPE =
1441
- | 0 // VIDEO_STREAM_TYPE_RTSP - Stream is RTSP
1442
- | 1 // VIDEO_STREAM_TYPE_RTPUDP - Stream is RTP UDP (URI gives the port number)
1443
- | 2 // VIDEO_STREAM_TYPE_TCP_MPEG - Stream is MPEG on TCP
1444
- | 3 // VIDEO_STREAM_TYPE_MPEG_TS - Stream is MPEG TS (URI gives the port number)
1445
- | number;
1446
-
1447
- // Video stream encodings
1448
- export type VIDEO_STREAM_ENCODING =
1449
- | 0 // VIDEO_STREAM_ENCODING_UNKNOWN - Stream encoding is unknown
1450
- | 1 // VIDEO_STREAM_ENCODING_H264 - Stream encoding is H.264
1451
- | 2 // VIDEO_STREAM_ENCODING_H265 - Stream encoding is H.265
1452
- | number;
1453
-
1454
- // Camera tracking status flags
1455
- export type CAMERA_TRACKING_STATUS_FLAGS =
1456
- | 0 // CAMERA_TRACKING_STATUS_FLAGS_IDLE - Camera is not tracking
1457
- | 1 // CAMERA_TRACKING_STATUS_FLAGS_ACTIVE - Camera is tracking
1458
- | 2 // CAMERA_TRACKING_STATUS_FLAGS_ERROR - Camera tracking in error state
1459
- | number;
1460
-
1461
- // Camera tracking modes
1462
- export type CAMERA_TRACKING_MODE =
1463
- | 0 // CAMERA_TRACKING_MODE_NONE - Not tracking
1464
- | 1 // CAMERA_TRACKING_MODE_POINT - Target is a point
1465
- | 2 // CAMERA_TRACKING_MODE_RECTANGLE - Target is a rectangle
1466
- | number;
1467
-
1468
- // Camera tracking target data (shows where tracked target is within image)
1469
- export type CAMERA_TRACKING_TARGET_DATA =
1470
- | 1 // CAMERA_TRACKING_TARGET_DATA_EMBEDDED - Target data embedded in image data (proprietary)
1471
- | 2 // CAMERA_TRACKING_TARGET_DATA_RENDERED - Target data rendered in image
1472
- | 4 // CAMERA_TRACKING_TARGET_DATA_IN_STATUS - Target data within status message (Point or Rectangle)
1473
- | number;
1474
-
1475
- // Zoom types for MAV_CMD_SET_CAMERA_ZOOM
1476
- export type CAMERA_ZOOM_TYPE =
1477
- | 0 // ZOOM_TYPE_STEP - Zoom one step increment (-1 for wide, 1 for tele)
1478
- | 1 // ZOOM_TYPE_CONTINUOUS - Continuous normalized zoom in/out rate until stopped. Range -1..1, negative: wide, positive: narrow/tele, 0 to stop zooming. Other values should be clipped to the range.
1479
- | 2 // ZOOM_TYPE_RANGE - Zoom value as proportion of full camera range (a percentage value between 0.0 and 100.0)
1480
- | 3 // ZOOM_TYPE_FOCAL_LENGTH - Zoom value/variable focal length in millimetres. Note that there is no message to get the valid zoom range of the camera, so this can type can only be used for cameras where the zoom range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera)
1481
- | 4 // ZOOM_TYPE_HORIZONTAL_FOV - Zoom value as horizontal field of view in degrees.
1482
- | number;
1483
-
1484
- // Focus types for MAV_CMD_SET_CAMERA_FOCUS
1485
- export type SET_FOCUS_TYPE =
1486
- | 0 // FOCUS_TYPE_STEP - Focus one step increment (-1 for focusing in, 1 for focusing out towards infinity).
1487
- | 1 // FOCUS_TYPE_CONTINUOUS - Continuous normalized focus in/out rate until stopped. Range -1..1, negative: in, positive: out towards infinity, 0 to stop focusing. Other values should be clipped to the range.
1488
- | 2 // FOCUS_TYPE_RANGE - Focus value as proportion of full camera focus range (a value between 0.0 and 100.0)
1489
- | 3 // FOCUS_TYPE_METERS - Focus value in metres. Note that there is no message to get the valid focus range of the camera, so this can type can only be used for cameras where the range is known (implying that this cannot reliably be used in a GCS for an arbitrary camera).
1490
- | 4 // FOCUS_TYPE_AUTO - Focus automatically.
1491
- | 5 // FOCUS_TYPE_AUTO_SINGLE - Single auto focus. Mainly used for still pictures. Usually abbreviated as AF-S.
1492
- | 6 // FOCUS_TYPE_AUTO_CONTINUOUS - Continuous auto focus. Mainly used for dynamic scenes. Abbreviated as AF-C.
1493
- | number;
1494
-
1495
- // Camera sources for MAV_CMD_SET_CAMERA_SOURCE
1496
- export type CAMERA_SOURCE =
1497
- | 0 // CAMERA_SOURCE_DEFAULT - Default camera source.
1498
- | 1 // CAMERA_SOURCE_RGB - RGB camera source.
1499
- | 2 // CAMERA_SOURCE_IR - IR camera source.
1500
- | 3 // CAMERA_SOURCE_NDVI - NDVI camera source.
1501
- | number;
1502
-
1503
- // Result from PARAM_EXT_SET message.
1504
- export type PARAM_ACK =
1505
- | 0 // PARAM_ACK_ACCEPTED - Parameter value ACCEPTED and SET
1506
- | 1 // PARAM_ACK_VALUE_UNSUPPORTED - Parameter value UNKNOWN/UNSUPPORTED
1507
- | 2 // PARAM_ACK_FAILED - Parameter failed to set
1508
- | 3 // PARAM_ACK_IN_PROGRESS - Parameter value received but not yet set/accepted. A subsequent PARAM_EXT_ACK with the final result will follow once operation is completed. This is returned immediately for parameters that take longer to set, indicating that the the parameter was received and does not need to be resent.
1509
- | number;
1510
-
1511
- // Camera Modes.
1512
- export type CAMERA_MODE =
1513
- | 0 // CAMERA_MODE_IMAGE - Camera is in image/photo capture mode.
1514
- | 1 // CAMERA_MODE_VIDEO - Camera is in video capture mode.
1515
- | 2 // CAMERA_MODE_IMAGE_SURVEY - Camera is in image survey capture mode. It allows for camera controller to do specific settings for surveys.
1516
- | number;
1517
-
1518
- export type MAV_ARM_AUTH_DENIED_REASON =
1519
- | 0 // MAV_ARM_AUTH_DENIED_REASON_GENERIC - Not a specific reason
1520
- | 1 // MAV_ARM_AUTH_DENIED_REASON_NONE - Authorizer will send the error as string to GCS
1521
- | 2 // MAV_ARM_AUTH_DENIED_REASON_INVALID_WAYPOINT - At least one waypoint have a invalid value
1522
- | 3 // MAV_ARM_AUTH_DENIED_REASON_TIMEOUT - Timeout in the authorizer process(in case it depends on network)
1523
- | 4 // MAV_ARM_AUTH_DENIED_REASON_AIRSPACE_IN_USE - Airspace of the mission in use by another vehicle, second result parameter can have the waypoint id that caused it to be denied.
1524
- | 5 // MAV_ARM_AUTH_DENIED_REASON_BAD_WEATHER - Weather is not good to fly
1525
- | number;
1526
-
1527
- // RC type. Used in MAV_CMD_START_RX_PAIR.
1528
- export type RC_TYPE =
1529
- | 0 // RC_TYPE_SPEKTRUM - Spektrum
1530
- | 1 // RC_TYPE_CRSF - CRSF
1531
- | number;
1532
-
1533
- // RC sub-type of types defined in RC_TYPE. Used in MAV_CMD_START_RX_PAIR. Ignored if value does not correspond to the set RC_TYPE.
1534
- export type RC_SUB_TYPE =
1535
- | 0 // RC_SUB_TYPE_SPEKTRUM_DSM2 - Spektrum DSM2
1536
- | 1 // RC_SUB_TYPE_SPEKTRUM_DSMX - Spektrum DSMX
1537
- | 2 // RC_SUB_TYPE_SPEKTRUM_DSMX8 - Spektrum DSMX8
1538
- | number;
1539
-
1540
- // Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b0000000000000000 or 0b0000001000000000 indicates that none of the setpoint dimensions should be ignored. If bit 9 is set the floats afx afy afz should be interpreted as force instead of acceleration.
1541
- export type POSITION_TARGET_TYPEMASK =
1542
- | 1 // POSITION_TARGET_TYPEMASK_X_IGNORE - Ignore position x
1543
- | 2 // POSITION_TARGET_TYPEMASK_Y_IGNORE - Ignore position y
1544
- | 4 // POSITION_TARGET_TYPEMASK_Z_IGNORE - Ignore position z
1545
- | 8 // POSITION_TARGET_TYPEMASK_VX_IGNORE - Ignore velocity x
1546
- | 16 // POSITION_TARGET_TYPEMASK_VY_IGNORE - Ignore velocity y
1547
- | 32 // POSITION_TARGET_TYPEMASK_VZ_IGNORE - Ignore velocity z
1548
- | 64 // POSITION_TARGET_TYPEMASK_AX_IGNORE - Ignore acceleration x
1549
- | 128 // POSITION_TARGET_TYPEMASK_AY_IGNORE - Ignore acceleration y
1550
- | 256 // POSITION_TARGET_TYPEMASK_AZ_IGNORE - Ignore acceleration z
1551
- | 512 // POSITION_TARGET_TYPEMASK_FORCE_SET - Use force instead of acceleration
1552
- | 1024 // POSITION_TARGET_TYPEMASK_YAW_IGNORE - Ignore yaw
1553
- | 2048 // POSITION_TARGET_TYPEMASK_YAW_RATE_IGNORE - Ignore yaw rate
1554
- | number;
1555
-
1556
- // Bitmap to indicate which dimensions should be ignored by the vehicle: a value of 0b00000000 indicates that none of the setpoint dimensions should be ignored.
1557
- export type ATTITUDE_TARGET_TYPEMASK =
1558
- | 1 // ATTITUDE_TARGET_TYPEMASK_BODY_ROLL_RATE_IGNORE - Ignore body roll rate
1559
- | 2 // ATTITUDE_TARGET_TYPEMASK_BODY_PITCH_RATE_IGNORE - Ignore body pitch rate
1560
- | 4 // ATTITUDE_TARGET_TYPEMASK_BODY_YAW_RATE_IGNORE - Ignore body yaw rate
1561
- | 32 // ATTITUDE_TARGET_TYPEMASK_THRUST_BODY_SET - Use 3D body thrust setpoint instead of throttle
1562
- | 64 // ATTITUDE_TARGET_TYPEMASK_THROTTLE_IGNORE - Ignore throttle
1563
- | 128 // ATTITUDE_TARGET_TYPEMASK_ATTITUDE_IGNORE - Ignore attitude
1564
- | number;
1565
-
1566
- // Airborne status of UAS.
1567
- export type UTM_FLIGHT_STATE =
1568
- | 1 // UTM_FLIGHT_STATE_UNKNOWN - The flight state can&#x27;t be determined.
1569
- | 2 // UTM_FLIGHT_STATE_GROUND - UAS on ground.
1570
- | 3 // UTM_FLIGHT_STATE_AIRBORNE - UAS airborne.
1571
- | 16 // UTM_FLIGHT_STATE_EMERGENCY - UAS is in an emergency flight state.
1572
- | 32 // UTM_FLIGHT_STATE_NOCTRL - UAS has no active controls.
1573
- | number;
1574
-
1575
- // Flags for the global position report.
1576
- export type UTM_DATA_AVAIL_FLAGS =
1577
- | 1 // UTM_DATA_AVAIL_FLAGS_TIME_VALID - The field time contains valid data.
1578
- | 2 // UTM_DATA_AVAIL_FLAGS_UAS_ID_AVAILABLE - The field uas_id contains valid data.
1579
- | 4 // UTM_DATA_AVAIL_FLAGS_POSITION_AVAILABLE - The fields lat, lon and h_acc contain valid data.
1580
- | 8 // UTM_DATA_AVAIL_FLAGS_ALTITUDE_AVAILABLE - The fields alt and v_acc contain valid data.
1581
- | 16 // UTM_DATA_AVAIL_FLAGS_RELATIVE_ALTITUDE_AVAILABLE - The field relative_alt contains valid data.
1582
- | 32 // UTM_DATA_AVAIL_FLAGS_HORIZONTAL_VELO_AVAILABLE - The fields vx and vy contain valid data.
1583
- | 64 // UTM_DATA_AVAIL_FLAGS_VERTICAL_VELO_AVAILABLE - The field vz contains valid data.
1584
- | 128 // UTM_DATA_AVAIL_FLAGS_NEXT_WAYPOINT_AVAILABLE - The fields next_lat, next_lon and next_alt contain valid data.
1585
- | number;
1586
-
1587
- // These flags encode the cellular network status
1588
- export type CELLULAR_STATUS_FLAG =
1589
- | 0 // CELLULAR_STATUS_FLAG_UNKNOWN - State unknown or not reportable.
1590
- | 1 // CELLULAR_STATUS_FLAG_FAILED - Modem is unusable
1591
- | 2 // CELLULAR_STATUS_FLAG_INITIALIZING - Modem is being initialized
1592
- | 3 // CELLULAR_STATUS_FLAG_LOCKED - Modem is locked
1593
- | 4 // CELLULAR_STATUS_FLAG_DISABLED - Modem is not enabled and is powered down
1594
- | 5 // CELLULAR_STATUS_FLAG_DISABLING - Modem is currently transitioning to the CELLULAR_STATUS_FLAG_DISABLED state
1595
- | 6 // CELLULAR_STATUS_FLAG_ENABLING - Modem is currently transitioning to the CELLULAR_STATUS_FLAG_ENABLED state
1596
- | 7 // CELLULAR_STATUS_FLAG_ENABLED - Modem is enabled and powered on but not registered with a network provider and not available for data connections
1597
- | 8 // CELLULAR_STATUS_FLAG_SEARCHING - Modem is searching for a network provider to register
1598
- | 9 // CELLULAR_STATUS_FLAG_REGISTERED - Modem is registered with a network provider, and data connections and messaging may be available for use
1599
- | 10 // CELLULAR_STATUS_FLAG_DISCONNECTING - Modem is disconnecting and deactivating the last active packet data bearer. This state will not be entered if more than one packet data bearer is active and one of the active bearers is deactivated
1600
- | 11 // CELLULAR_STATUS_FLAG_CONNECTING - Modem is activating and connecting the first packet data bearer. Subsequent bearer activations when another bearer is already active do not cause this state to be entered
1601
- | 12 // CELLULAR_STATUS_FLAG_CONNECTED - One or more packet data bearers is active and connected
1602
- | number;
1603
-
1604
- // These flags are used to diagnose the failure state of CELLULAR_STATUS
1605
- export type CELLULAR_NETWORK_FAILED_REASON =
1606
- | 0 // CELLULAR_NETWORK_FAILED_REASON_NONE - No error
1607
- | 1 // CELLULAR_NETWORK_FAILED_REASON_UNKNOWN - Error state is unknown
1608
- | 2 // CELLULAR_NETWORK_FAILED_REASON_SIM_MISSING - SIM is required for the modem but missing
1609
- | 3 // CELLULAR_NETWORK_FAILED_REASON_SIM_ERROR - SIM is available, but not usable for connection
1610
- | number;
1611
-
1612
- // Cellular network radio type
1613
- export type CELLULAR_NETWORK_RADIO_TYPE =
1614
- | 0
1615
- | 1
1616
- | 2
1617
- | 3
1618
- | 4
1619
- | number;
1620
-
1621
- // Precision land modes (used in MAV_CMD_NAV_LAND).
1622
- export type PRECISION_LAND_MODE =
1623
- | 0 // PRECISION_LAND_MODE_DISABLED - Normal (non-precision) landing.
1624
- | 1 // PRECISION_LAND_MODE_OPPORTUNISTIC - Use precision landing if beacon detected when land command accepted, otherwise land normally.
1625
- | 2 // PRECISION_LAND_MODE_REQUIRED - Use precision landing, searching for beacon if not found when land command accepted (land normally if beacon cannot be found).
1626
- | number;
1627
-
1628
- // Parachute actions. Trigger release and enable/disable auto-release.
1629
- export type PARACHUTE_ACTION =
1630
- | 0 // PARACHUTE_DISABLE - Disable auto-release of parachute (i.e. release triggered by crash detectors).
1631
- | 1 // PARACHUTE_ENABLE - Enable auto-release of parachute.
1632
- | 2 // PARACHUTE_RELEASE - Release parachute and kill motors.
1633
- | number;
1634
-
1635
- export type MAV_TUNNEL_PAYLOAD_TYPE =
1636
- | 0 // MAV_TUNNEL_PAYLOAD_TYPE_UNKNOWN - Encoding of payload unknown.
1637
- | 200 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED0 - Registered for STorM32 gimbal controller.
1638
- | 201 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED1 - Registered for STorM32 gimbal controller.
1639
- | 202 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED2 - Registered for STorM32 gimbal controller.
1640
- | 203 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED3 - Registered for STorM32 gimbal controller.
1641
- | 204 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED4 - Registered for STorM32 gimbal controller.
1642
- | 205 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED5 - Registered for STorM32 gimbal controller.
1643
- | 206 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED6 - Registered for STorM32 gimbal controller.
1644
- | 207 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED7 - Registered for STorM32 gimbal controller.
1645
- | 208 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED8 - Registered for STorM32 gimbal controller.
1646
- | 209 // MAV_TUNNEL_PAYLOAD_TYPE_STORM32_RESERVED9 - Registered for STorM32 gimbal controller.
1647
- | 210 // MAV_TUNNEL_PAYLOAD_TYPE_MODALAI_REMOTE_OSD - Registered for ModalAI remote OSD protocol.
1648
- | 211 // MAV_TUNNEL_PAYLOAD_TYPE_MODALAI_ESC_UART_PASSTHRU - Registered for ModalAI ESC UART passthru protocol.
1649
- | 212 // MAV_TUNNEL_PAYLOAD_TYPE_MODALAI_IO_UART_PASSTHRU - Registered for ModalAI vendor use.
1650
- | number;
1651
-
1652
- export type MAV_ODID_ID_TYPE =
1653
- | 0 // MAV_ODID_ID_TYPE_NONE - No type defined.
1654
- | 1 // MAV_ODID_ID_TYPE_SERIAL_NUMBER - Manufacturer Serial Number (ANSI/CTA-2063 format).
1655
- | 2 // MAV_ODID_ID_TYPE_CAA_REGISTRATION_ID - CAA (Civil Aviation Authority) registered ID. Format: [ICAO Country Code].[CAA Assigned ID].
1656
- | 3 // MAV_ODID_ID_TYPE_UTM_ASSIGNED_UUID - UTM (Unmanned Traffic Management) assigned UUID (RFC4122).
1657
- | 4 // MAV_ODID_ID_TYPE_SPECIFIC_SESSION_ID - A 20 byte ID for a specific flight/session. The exact ID type is indicated by the first byte of uas_id and these type values are managed by ICAO.
1658
- | number;
1659
-
1660
- export type MAV_ODID_UA_TYPE =
1661
- | 0 // MAV_ODID_UA_TYPE_NONE - No UA (Unmanned Aircraft) type defined.
1662
- | 1 // MAV_ODID_UA_TYPE_AEROPLANE - Aeroplane/Airplane. Fixed wing.
1663
- | 2 // MAV_ODID_UA_TYPE_HELICOPTER_OR_MULTIROTOR - Helicopter or multirotor.
1664
- | 3 // MAV_ODID_UA_TYPE_GYROPLANE - Gyroplane.
1665
- | 4 // MAV_ODID_UA_TYPE_HYBRID_LIFT - VTOL (Vertical Take-Off and Landing). Fixed wing aircraft that can take off vertically.
1666
- | 5 // MAV_ODID_UA_TYPE_ORNITHOPTER - Ornithopter.
1667
- | 6 // MAV_ODID_UA_TYPE_GLIDER - Glider.
1668
- | 7 // MAV_ODID_UA_TYPE_KITE - Kite.
1669
- | 8 // MAV_ODID_UA_TYPE_FREE_BALLOON - Free Balloon.
1670
- | 9 // MAV_ODID_UA_TYPE_CAPTIVE_BALLOON - Captive Balloon.
1671
- | 10 // MAV_ODID_UA_TYPE_AIRSHIP - Airship. E.g. a blimp.
1672
- | 11 // MAV_ODID_UA_TYPE_FREE_FALL_PARACHUTE - Free Fall/Parachute (unpowered).
1673
- | 12 // MAV_ODID_UA_TYPE_ROCKET - Rocket.
1674
- | 13 // MAV_ODID_UA_TYPE_TETHERED_POWERED_AIRCRAFT - Tethered powered aircraft.
1675
- | 14 // MAV_ODID_UA_TYPE_GROUND_OBSTACLE - Ground Obstacle.
1676
- | 15 // MAV_ODID_UA_TYPE_OTHER - Other type of aircraft not listed earlier.
1677
- | number;
1678
-
1679
- export type MAV_ODID_STATUS =
1680
- | 0 // MAV_ODID_STATUS_UNDECLARED - The status of the (UA) Unmanned Aircraft is undefined.
1681
- | 1 // MAV_ODID_STATUS_GROUND - The UA is on the ground.
1682
- | 2 // MAV_ODID_STATUS_AIRBORNE - The UA is in the air.
1683
- | 3 // MAV_ODID_STATUS_EMERGENCY - The UA is having an emergency.
1684
- | 4 // MAV_ODID_STATUS_REMOTE_ID_SYSTEM_FAILURE - The remote ID system is failing or unreliable in some way.
1685
- | number;
1686
-
1687
- export type MAV_ODID_HEIGHT_REF =
1688
- | 0 // MAV_ODID_HEIGHT_REF_OVER_TAKEOFF - The height field is relative to the take-off location.
1689
- | 1 // MAV_ODID_HEIGHT_REF_OVER_GROUND - The height field is relative to ground.
1690
- | number;
1691
-
1692
- export type MAV_ODID_HOR_ACC =
1693
- | 0 // MAV_ODID_HOR_ACC_UNKNOWN - The horizontal accuracy is unknown.
1694
- | 1 // MAV_ODID_HOR_ACC_10NM - The horizontal accuracy is smaller than 10 Nautical Miles. 18.52 km.
1695
- | 2 // MAV_ODID_HOR_ACC_4NM - The horizontal accuracy is smaller than 4 Nautical Miles. 7.408 km.
1696
- | 3 // MAV_ODID_HOR_ACC_2NM - The horizontal accuracy is smaller than 2 Nautical Miles. 3.704 km.
1697
- | 4 // MAV_ODID_HOR_ACC_1NM - The horizontal accuracy is smaller than 1 Nautical Miles. 1.852 km.
1698
- | 5 // MAV_ODID_HOR_ACC_0_5NM - The horizontal accuracy is smaller than 0.5 Nautical Miles. 926 m.
1699
- | 6 // MAV_ODID_HOR_ACC_0_3NM - The horizontal accuracy is smaller than 0.3 Nautical Miles. 555.6 m.
1700
- | 7 // MAV_ODID_HOR_ACC_0_1NM - The horizontal accuracy is smaller than 0.1 Nautical Miles. 185.2 m.
1701
- | 8 // MAV_ODID_HOR_ACC_0_05NM - The horizontal accuracy is smaller than 0.05 Nautical Miles. 92.6 m.
1702
- | 9 // MAV_ODID_HOR_ACC_30_METER - The horizontal accuracy is smaller than 30 meter.
1703
- | 10 // MAV_ODID_HOR_ACC_10_METER - The horizontal accuracy is smaller than 10 meter.
1704
- | 11 // MAV_ODID_HOR_ACC_3_METER - The horizontal accuracy is smaller than 3 meter.
1705
- | 12 // MAV_ODID_HOR_ACC_1_METER - The horizontal accuracy is smaller than 1 meter.
1706
- | number;
1707
-
1708
- export type MAV_ODID_VER_ACC =
1709
- | 0 // MAV_ODID_VER_ACC_UNKNOWN - The vertical accuracy is unknown.
1710
- | 1 // MAV_ODID_VER_ACC_150_METER - The vertical accuracy is smaller than 150 meter.
1711
- | 2 // MAV_ODID_VER_ACC_45_METER - The vertical accuracy is smaller than 45 meter.
1712
- | 3 // MAV_ODID_VER_ACC_25_METER - The vertical accuracy is smaller than 25 meter.
1713
- | 4 // MAV_ODID_VER_ACC_10_METER - The vertical accuracy is smaller than 10 meter.
1714
- | 5 // MAV_ODID_VER_ACC_3_METER - The vertical accuracy is smaller than 3 meter.
1715
- | 6 // MAV_ODID_VER_ACC_1_METER - The vertical accuracy is smaller than 1 meter.
1716
- | number;
1717
-
1718
- export type MAV_ODID_SPEED_ACC =
1719
- | 0 // MAV_ODID_SPEED_ACC_UNKNOWN - The speed accuracy is unknown.
1720
- | 1 // MAV_ODID_SPEED_ACC_10_METERS_PER_SECOND - The speed accuracy is smaller than 10 meters per second.
1721
- | 2 // MAV_ODID_SPEED_ACC_3_METERS_PER_SECOND - The speed accuracy is smaller than 3 meters per second.
1722
- | 3 // MAV_ODID_SPEED_ACC_1_METERS_PER_SECOND - The speed accuracy is smaller than 1 meters per second.
1723
- | 4 // MAV_ODID_SPEED_ACC_0_3_METERS_PER_SECOND - The speed accuracy is smaller than 0.3 meters per second.
1724
- | number;
1725
-
1726
- export type MAV_ODID_TIME_ACC =
1727
- | 0 // MAV_ODID_TIME_ACC_UNKNOWN - The timestamp accuracy is unknown.
1728
- | 1 // MAV_ODID_TIME_ACC_0_1_SECOND - The timestamp accuracy is smaller than or equal to 0.1 second.
1729
- | 2 // MAV_ODID_TIME_ACC_0_2_SECOND - The timestamp accuracy is smaller than or equal to 0.2 second.
1730
- | 3 // MAV_ODID_TIME_ACC_0_3_SECOND - The timestamp accuracy is smaller than or equal to 0.3 second.
1731
- | 4 // MAV_ODID_TIME_ACC_0_4_SECOND - The timestamp accuracy is smaller than or equal to 0.4 second.
1732
- | 5 // MAV_ODID_TIME_ACC_0_5_SECOND - The timestamp accuracy is smaller than or equal to 0.5 second.
1733
- | 6 // MAV_ODID_TIME_ACC_0_6_SECOND - The timestamp accuracy is smaller than or equal to 0.6 second.
1734
- | 7 // MAV_ODID_TIME_ACC_0_7_SECOND - The timestamp accuracy is smaller than or equal to 0.7 second.
1735
- | 8 // MAV_ODID_TIME_ACC_0_8_SECOND - The timestamp accuracy is smaller than or equal to 0.8 second.
1736
- | 9 // MAV_ODID_TIME_ACC_0_9_SECOND - The timestamp accuracy is smaller than or equal to 0.9 second.
1737
- | 10 // MAV_ODID_TIME_ACC_1_0_SECOND - The timestamp accuracy is smaller than or equal to 1.0 second.
1738
- | 11 // MAV_ODID_TIME_ACC_1_1_SECOND - The timestamp accuracy is smaller than or equal to 1.1 second.
1739
- | 12 // MAV_ODID_TIME_ACC_1_2_SECOND - The timestamp accuracy is smaller than or equal to 1.2 second.
1740
- | 13 // MAV_ODID_TIME_ACC_1_3_SECOND - The timestamp accuracy is smaller than or equal to 1.3 second.
1741
- | 14 // MAV_ODID_TIME_ACC_1_4_SECOND - The timestamp accuracy is smaller than or equal to 1.4 second.
1742
- | 15 // MAV_ODID_TIME_ACC_1_5_SECOND - The timestamp accuracy is smaller than or equal to 1.5 second.
1743
- | number;
1744
-
1745
- export type MAV_ODID_AUTH_TYPE =
1746
- | 0 // MAV_ODID_AUTH_TYPE_NONE - No authentication type is specified.
1747
- | 1 // MAV_ODID_AUTH_TYPE_UAS_ID_SIGNATURE - Signature for the UAS (Unmanned Aircraft System) ID.
1748
- | 2 // MAV_ODID_AUTH_TYPE_OPERATOR_ID_SIGNATURE - Signature for the Operator ID.
1749
- | 3 // MAV_ODID_AUTH_TYPE_MESSAGE_SET_SIGNATURE - Signature for the entire message set.
1750
- | 4 // MAV_ODID_AUTH_TYPE_NETWORK_REMOTE_ID - Authentication is provided by Network Remote ID.
1751
- | 5 // MAV_ODID_AUTH_TYPE_SPECIFIC_AUTHENTICATION - The exact authentication type is indicated by the first byte of authentication_data and these type values are managed by ICAO.
1752
- | number;
1753
-
1754
- export type MAV_ODID_DESC_TYPE =
1755
- | 0 // MAV_ODID_DESC_TYPE_TEXT - Optional free-form text description of the purpose of the flight.
1756
- | 1 // MAV_ODID_DESC_TYPE_EMERGENCY - Optional additional clarification when status &#x3D;&#x3D; MAV_ODID_STATUS_EMERGENCY.
1757
- | 2 // MAV_ODID_DESC_TYPE_EXTENDED_STATUS - Optional additional clarification when status !&#x3D; MAV_ODID_STATUS_EMERGENCY.
1758
- | number;
1759
-
1760
- export type MAV_ODID_OPERATOR_LOCATION_TYPE =
1761
- | 0 // MAV_ODID_OPERATOR_LOCATION_TYPE_TAKEOFF - The location/altitude of the operator is the same as the take-off location.
1762
- | 1 // MAV_ODID_OPERATOR_LOCATION_TYPE_LIVE_GNSS - The location/altitude of the operator is dynamic. E.g. based on live GNSS data.
1763
- | 2 // MAV_ODID_OPERATOR_LOCATION_TYPE_FIXED - The location/altitude of the operator are fixed values.
1764
- | number;
1765
-
1766
- export type MAV_ODID_CLASSIFICATION_TYPE =
1767
- | 0 // MAV_ODID_CLASSIFICATION_TYPE_UNDECLARED - The classification type for the UA is undeclared.
1768
- | 1 // MAV_ODID_CLASSIFICATION_TYPE_EU - The classification type for the UA follows EU (European Union) specifications.
1769
- | number;
1770
-
1771
- export type MAV_ODID_CATEGORY_EU =
1772
- | 0 // MAV_ODID_CATEGORY_EU_UNDECLARED - The category for the UA, according to the EU specification, is undeclared.
1773
- | 1 // MAV_ODID_CATEGORY_EU_OPEN - The category for the UA, according to the EU specification, is the Open category.
1774
- | 2 // MAV_ODID_CATEGORY_EU_SPECIFIC - The category for the UA, according to the EU specification, is the Specific category.
1775
- | 3 // MAV_ODID_CATEGORY_EU_CERTIFIED - The category for the UA, according to the EU specification, is the Certified category.
1776
- | number;
1777
-
1778
- export type MAV_ODID_CLASS_EU =
1779
- | 0 // MAV_ODID_CLASS_EU_UNDECLARED - The class for the UA, according to the EU specification, is undeclared.
1780
- | 1 // MAV_ODID_CLASS_EU_CLASS_0 - The class for the UA, according to the EU specification, is Class 0.
1781
- | 2 // MAV_ODID_CLASS_EU_CLASS_1 - The class for the UA, according to the EU specification, is Class 1.
1782
- | 3 // MAV_ODID_CLASS_EU_CLASS_2 - The class for the UA, according to the EU specification, is Class 2.
1783
- | 4 // MAV_ODID_CLASS_EU_CLASS_3 - The class for the UA, according to the EU specification, is Class 3.
1784
- | 5 // MAV_ODID_CLASS_EU_CLASS_4 - The class for the UA, according to the EU specification, is Class 4.
1785
- | 6 // MAV_ODID_CLASS_EU_CLASS_5 - The class for the UA, according to the EU specification, is Class 5.
1786
- | 7 // MAV_ODID_CLASS_EU_CLASS_6 - The class for the UA, according to the EU specification, is Class 6.
1787
- | number;
1788
-
1789
- export type MAV_ODID_OPERATOR_ID_TYPE =
1790
- | 0 // MAV_ODID_OPERATOR_ID_TYPE_CAA - CAA (Civil Aviation Authority) registered operator ID.
1791
- | number;
1792
-
1793
- export type MAV_ODID_ARM_STATUS =
1794
- | 0 // MAV_ODID_ARM_STATUS_GOOD_TO_ARM - Passing arming checks.
1795
- | 1 // MAV_ODID_ARM_STATUS_PRE_ARM_FAIL_GENERIC - Generic arming failure, see error string for details.
1796
- | number;
1797
-
1798
- // Tune formats (used for vehicle buzzer/tone generation).
1799
- export type TUNE_FORMAT =
1800
- | 1 // TUNE_FORMAT_QBASIC1_1 - Format is QBasic 1.1 Play: https://www.qbasic.net/en/reference/qb11/Statement/PLAY-006.htm.
1801
- | 2 // TUNE_FORMAT_MML_MODERN - Format is Modern Music Markup Language (MML): https://en.wikipedia.org/wiki/Music_Macro_Language#Modern_MML.
1802
- | number;
1803
-
1804
- // Type of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html
1805
- export type AIS_TYPE =
1806
- | 0 // AIS_TYPE_UNKNOWN - Not available (default).
1807
- | 1
1808
- | 2
1809
- | 3
1810
- | 4
1811
- | 5
1812
- | 6
1813
- | 7
1814
- | 8
1815
- | 9
1816
- | 10
1817
- | 11
1818
- | 12
1819
- | 13
1820
- | 14
1821
- | 15
1822
- | 16
1823
- | 17
1824
- | 18
1825
- | 19
1826
- | 20 // AIS_TYPE_WIG - Wing In Ground effect.
1827
- | 21
1828
- | 22
1829
- | 23
1830
- | 24
1831
- | 25
1832
- | 26
1833
- | 27
1834
- | 28
1835
- | 29
1836
- | 30
1837
- | 31
1838
- | 32 // AIS_TYPE_TOWING_LARGE - Towing: length exceeds 200m or breadth exceeds 25m.
1839
- | 33 // AIS_TYPE_DREDGING - Dredging or other underwater ops.
1840
- | 34
1841
- | 35
1842
- | 36
1843
- | 37
1844
- | 38
1845
- | 39
1846
- | 40 // AIS_TYPE_HSC - High Speed Craft.
1847
- | 41
1848
- | 42
1849
- | 43
1850
- | 44
1851
- | 45
1852
- | 46
1853
- | 47
1854
- | 48
1855
- | 49
1856
- | 50
1857
- | 51 // AIS_TYPE_SAR - Search And Rescue vessel.
1858
- | 52
1859
- | 53
1860
- | 54 // AIS_TYPE_ANTI_POLLUTION - Anti-pollution equipment.
1861
- | 55
1862
- | 56
1863
- | 57
1864
- | 58
1865
- | 59 // AIS_TYPE_NONECOMBATANT - Noncombatant ship according to RR Resolution No. 18.
1866
- | 60
1867
- | 61
1868
- | 62
1869
- | 63
1870
- | 64
1871
- | 65
1872
- | 66
1873
- | 67
1874
- | 68
1875
- | 69
1876
- | 70
1877
- | 71
1878
- | 72
1879
- | 73
1880
- | 74
1881
- | 75
1882
- | 76
1883
- | 77
1884
- | 78
1885
- | 79
1886
- | 80
1887
- | 81
1888
- | 82
1889
- | 83
1890
- | 84
1891
- | 85
1892
- | 86
1893
- | 87
1894
- | 88
1895
- | 89
1896
- | 90
1897
- | 91
1898
- | 92
1899
- | 93
1900
- | 94
1901
- | 95
1902
- | 96
1903
- | 97
1904
- | 98
1905
- | 99
1906
- | number;
1907
-
1908
- // Navigational status of AIS vessel, enum duplicated from AIS standard, https://gpsd.gitlab.io/gpsd/AIVDM.html
1909
- export type AIS_NAV_STATUS =
1910
- | 0 // UNDER_WAY - Under way using engine.
1911
- | 1
1912
- | 2
1913
- | 3
1914
- | 4
1915
- | 5
1916
- | 6
1917
- | 7
1918
- | 8
1919
- | 9
1920
- | 10
1921
- | 11
1922
- | 12
1923
- | 13
1924
- | 14 // AIS_NAV_AIS_SART - Search And Rescue Transponder.
1925
- | 15 // AIS_NAV_UNKNOWN - Not available (default).
1926
- | number;
1927
-
1928
- // These flags are used in the AIS_VESSEL.fields bitmask to indicate validity of data in the other message fields. When set, the data is valid.
1929
- export type AIS_FLAGS =
1930
- | 1 // AIS_FLAGS_POSITION_ACCURACY - 1 &#x3D; Position accuracy less than 10m, 0 &#x3D; position accuracy greater than 10m.
1931
- | 2
1932
- | 4
1933
- | 8 // AIS_FLAGS_HIGH_VELOCITY - 1 &#x3D; Velocity over 52.5765m/s (102.2 knots)
1934
- | 16
1935
- | 32 // AIS_FLAGS_TURN_RATE_SIGN_ONLY - Only the sign of the returned turn rate value is valid, either greater than 5deg/30s or less than -5deg/30s
1936
- | 64
1937
- | 128 // AIS_FLAGS_LARGE_BOW_DIMENSION - Distance to bow is larger than 511m
1938
- | 256 // AIS_FLAGS_LARGE_STERN_DIMENSION - Distance to stern is larger than 511m
1939
- | 512 // AIS_FLAGS_LARGE_PORT_DIMENSION - Distance to port side is larger than 63m
1940
- | 1024 // AIS_FLAGS_LARGE_STARBOARD_DIMENSION - Distance to starboard side is larger than 63m
1941
- | 2048
1942
- | 4096
1943
- | number;
1944
-
1945
- // List of possible units where failures can be injected.
1946
- export type FAILURE_UNIT =
1947
- | 0
1948
- | 1
1949
- | 2
1950
- | 3
1951
- | 4
1952
- | 5
1953
- | 6
1954
- | 7
1955
- | 8
1956
- | 100
1957
- | 101
1958
- | 102
1959
- | 103
1960
- | 104
1961
- | 105
1962
- | number;
1963
-
1964
- // List of possible failure type to inject.
1965
- export type FAILURE_TYPE =
1966
- | 0 // FAILURE_TYPE_OK - No failure injected, used to reset a previous failure.
1967
- | 1 // FAILURE_TYPE_OFF - Sets unit off, so completely non-responsive.
1968
- | 2 // FAILURE_TYPE_STUCK - Unit is stuck e.g. keeps reporting the same value.
1969
- | 3 // FAILURE_TYPE_GARBAGE - Unit is reporting complete garbage.
1970
- | 4 // FAILURE_TYPE_WRONG - Unit is consistently wrong.
1971
- | 5 // FAILURE_TYPE_SLOW - Unit is slow, so e.g. reporting at slower than expected rate.
1972
- | 6 // FAILURE_TYPE_DELAYED - Data of unit is delayed in time.
1973
- | 7 // FAILURE_TYPE_INTERMITTENT - Unit is sometimes working, sometimes not.
1974
- | number;
1975
-
1976
- export type NAV_VTOL_LAND_OPTIONS =
1977
- | 0 // NAV_VTOL_LAND_OPTIONS_DEFAULT - Default autopilot landing behaviour.
1978
- | 1 // NAV_VTOL_LAND_OPTIONS_FW_DESCENT - Descend in fixed wing mode, transitioning to multicopter mode for vertical landing when close to the ground. The fixed wing descent pattern is at the discretion of the vehicle (e.g. transition altitude, loiter direction, radius, and speed, etc.).
1979
- | 2 // NAV_VTOL_LAND_OPTIONS_HOVER_DESCENT - Land in multicopter mode on reaching the landing coordinates (the whole landing is by &quot;hover descent&quot;).
1980
- | number;
1981
-
1982
- // Winch status flags used in WINCH_STATUS
1983
- export type MAV_WINCH_STATUS_FLAG =
1984
- | 1 // MAV_WINCH_STATUS_HEALTHY - Winch is healthy
1985
- | 2 // MAV_WINCH_STATUS_FULLY_RETRACTED - Winch line is fully retracted
1986
- | 4 // MAV_WINCH_STATUS_MOVING - Winch motor is moving
1987
- | 8 // MAV_WINCH_STATUS_CLUTCH_ENGAGED - Winch clutch is engaged allowing motor to move freely.
1988
- | 16 // MAV_WINCH_STATUS_LOCKED - Winch is locked by locking mechanism.
1989
- | 32 // MAV_WINCH_STATUS_DROPPING - Winch is gravity dropping payload.
1990
- | 64 // MAV_WINCH_STATUS_ARRESTING - Winch is arresting payload descent.
1991
- | 128 // MAV_WINCH_STATUS_GROUND_SENSE - Winch is using torque measurements to sense the ground.
1992
- | 256 // MAV_WINCH_STATUS_RETRACTING - Winch is returning to the fully retracted position.
1993
- | 512 // MAV_WINCH_STATUS_REDELIVER - Winch is redelivering the payload. This is a failover state if the line tension goes above a threshold during RETRACTING.
1994
- | 1024 // MAV_WINCH_STATUS_ABANDON_LINE - Winch is abandoning the line and possibly payload. Winch unspools the entire calculated line length. This is a failover state from REDELIVER if the number of attempts exceeds a threshold.
1995
- | 2048 // MAV_WINCH_STATUS_LOCKING - Winch is engaging the locking mechanism.
1996
- | 4096 // MAV_WINCH_STATUS_LOAD_LINE - Winch is spooling on line.
1997
- | 8192 // MAV_WINCH_STATUS_LOAD_PAYLOAD - Winch is loading a payload.
1998
- | number;
1999
-
2000
- export type MAG_CAL_STATUS =
2001
- | 0
2002
- | 1
2003
- | 2
2004
- | 3
2005
- | 4
2006
- | 5
2007
- | 6
2008
- | 7
2009
- | number;
2010
-
2011
- // Reason for an event error response.
2012
- export type MAV_EVENT_ERROR_REASON =
2013
- | 0 // MAV_EVENT_ERROR_REASON_UNAVAILABLE - The requested event is not available (anymore).
2014
- | number;
2015
-
2016
- // Flags for CURRENT_EVENT_SEQUENCE.
2017
- export type MAV_EVENT_CURRENT_SEQUENCE_FLAGS =
2018
- | 1 // MAV_EVENT_CURRENT_SEQUENCE_FLAGS_RESET - A sequence reset has happened (e.g. vehicle reboot).
2019
- | number;
2020
-
2021
- // Flags in the HIL_SENSOR message indicate which fields have updated since the last message
2022
- export type HIL_SENSOR_UPDATED_FLAGS =
2023
- | 1 // HIL_SENSOR_UPDATED_XACC - The value in the xacc field has been updated
2024
- | 2 // HIL_SENSOR_UPDATED_YACC - The value in the yacc field has been updated
2025
- | 4 // HIL_SENSOR_UPDATED_ZACC - The value in the zacc field has been updated
2026
- | 8 // HIL_SENSOR_UPDATED_XGYRO - The value in the xgyro field has been updated
2027
- | 16 // HIL_SENSOR_UPDATED_YGYRO - The value in the ygyro field has been updated
2028
- | 32 // HIL_SENSOR_UPDATED_ZGYRO - The value in the zgyro field has been updated
2029
- | 64 // HIL_SENSOR_UPDATED_XMAG - The value in the xmag field has been updated
2030
- | 128 // HIL_SENSOR_UPDATED_YMAG - The value in the ymag field has been updated
2031
- | 256 // HIL_SENSOR_UPDATED_ZMAG - The value in the zmag field has been updated
2032
- | 512 // HIL_SENSOR_UPDATED_ABS_PRESSURE - The value in the abs_pressure field has been updated
2033
- | 1024 // HIL_SENSOR_UPDATED_DIFF_PRESSURE - The value in the diff_pressure field has been updated
2034
- | 2048 // HIL_SENSOR_UPDATED_PRESSURE_ALT - The value in the pressure_alt field has been updated
2035
- | 4096 // HIL_SENSOR_UPDATED_TEMPERATURE - The value in the temperature field has been updated
2036
- | 2147483648 // HIL_SENSOR_UPDATED_RESET - Full reset of attitude/position/velocities/etc was performed in sim (Bit 31).
2037
- | number;
2038
-
2039
- // Flags in the HIGHRES_IMU message indicate which fields have updated since the last message
2040
- export type HIGHRES_IMU_UPDATED_FLAGS =
2041
- | 1 // HIGHRES_IMU_UPDATED_XACC - The value in the xacc field has been updated
2042
- | 2 // HIGHRES_IMU_UPDATED_YACC - The value in the yacc field has been updated
2043
- | 4 // HIGHRES_IMU_UPDATED_ZACC - The value in the zacc field has been updated since
2044
- | 8 // HIGHRES_IMU_UPDATED_XGYRO - The value in the xgyro field has been updated
2045
- | 16 // HIGHRES_IMU_UPDATED_YGYRO - The value in the ygyro field has been updated
2046
- | 32 // HIGHRES_IMU_UPDATED_ZGYRO - The value in the zgyro field has been updated
2047
- | 64 // HIGHRES_IMU_UPDATED_XMAG - The value in the xmag field has been updated
2048
- | 128 // HIGHRES_IMU_UPDATED_YMAG - The value in the ymag field has been updated
2049
- | 256 // HIGHRES_IMU_UPDATED_ZMAG - The value in the zmag field has been updated
2050
- | 512 // HIGHRES_IMU_UPDATED_ABS_PRESSURE - The value in the abs_pressure field has been updated
2051
- | 1024 // HIGHRES_IMU_UPDATED_DIFF_PRESSURE - The value in the diff_pressure field has been updated
2052
- | 2048 // HIGHRES_IMU_UPDATED_PRESSURE_ALT - The value in the pressure_alt field has been updated
2053
- | 4096 // HIGHRES_IMU_UPDATED_TEMPERATURE - The value in the temperature field has been updated
2054
- | number;
2055
-
2056
- export type CAN_FILTER_OP =
2057
- | 0
2058
- | 1
2059
- | 2
2060
- | number;
2061
-
2062
- // MAV FTP error codes (https://mavlink.io/en/services/ftp.html)
2063
- export type MAV_FTP_ERR =
2064
- | 0 // MAV_FTP_ERR_NONE - None: No error
2065
- | 1 // MAV_FTP_ERR_FAIL - Fail: Unknown failure
2066
- | 2 // MAV_FTP_ERR_FAILERRNO - FailErrno: Command failed, Err number sent back in PayloadHeader.data[1]. This is a file-system error number understood by the server operating system.
2067
- | 3 // MAV_FTP_ERR_INVALIDDATASIZE - InvalidDataSize: Payload size is invalid
2068
- | 4 // MAV_FTP_ERR_INVALIDSESSION - InvalidSession: Session is not currently open
2069
- | 5 // MAV_FTP_ERR_NOSESSIONSAVAILABLE - NoSessionsAvailable: All available sessions are already in use
2070
- | 6 // MAV_FTP_ERR_EOF - EOF: Offset past end of file for ListDirectory and ReadFile commands
2071
- | 7 // MAV_FTP_ERR_UNKNOWNCOMMAND - UnknownCommand: Unknown command / opcode
2072
- | 8 // MAV_FTP_ERR_FILEEXISTS - FileExists: File/directory already exists
2073
- | 9 // MAV_FTP_ERR_FILEPROTECTED - FileProtected: File/directory is write protected
2074
- | 10 // MAV_FTP_ERR_FILENOTFOUND - FileNotFound: File/directory not found
2075
- | number;
2076
-
2077
- // MAV FTP opcodes: https://mavlink.io/en/services/ftp.html
2078
- export type MAV_FTP_OPCODE =
2079
- | 0 // MAV_FTP_OPCODE_NONE - None. Ignored, always ACKed
2080
- | 1 // MAV_FTP_OPCODE_TERMINATESESSION - TerminateSession: Terminates open Read session
2081
- | 2 // MAV_FTP_OPCODE_RESETSESSION - ResetSessions: Terminates all open read sessions
2082
- | 3 // MAV_FTP_OPCODE_LISTDIRECTORY - ListDirectory. List files and directories in path from offset
2083
- | 4 // MAV_FTP_OPCODE_OPENFILERO - OpenFileRO: Opens file at path for reading, returns session
2084
- | 5 // MAV_FTP_OPCODE_READFILE - ReadFile: Reads size bytes from offset in session
2085
- | 6 // MAV_FTP_OPCODE_CREATEFILE - CreateFile: Creates file at path for writing, returns session
2086
- | 7 // MAV_FTP_OPCODE_WRITEFILE - WriteFile: Writes size bytes to offset in session
2087
- | 8 // MAV_FTP_OPCODE_REMOVEFILE - RemoveFile: Remove file at path
2088
- | 9 // MAV_FTP_OPCODE_CREATEDIRECTORY - CreateDirectory: Creates directory at path
2089
- | 10 // MAV_FTP_OPCODE_REMOVEDIRECTORY - RemoveDirectory: Removes directory at path. The directory must be empty.
2090
- | 11 // MAV_FTP_OPCODE_OPENFILEWO - OpenFileWO: Opens file at path for writing, returns session
2091
- | 12 // MAV_FTP_OPCODE_TRUNCATEFILE - TruncateFile: Truncate file at path to offset length
2092
- | 13 // MAV_FTP_OPCODE_RENAME - Rename: Rename path1 to path2
2093
- | 14 // MAV_FTP_OPCODE_CALCFILECRC - CalcFileCRC32: Calculate CRC32 for file at path
2094
- | 15 // MAV_FTP_OPCODE_BURSTREADFILE - BurstReadFile: Burst download session file
2095
- | 128 // MAV_FTP_OPCODE_ACK - ACK: ACK response
2096
- | 129 // MAV_FTP_OPCODE_NAK - NAK: NAK response
2097
- | number;
2098
-
2099
- // States of the mission state machine.
2100
- // Note that these states are independent of whether the mission is in a mode that can execute mission items or not (is suspended).
2101
- // They may not all be relevant on all vehicles.
2102
- export type MISSION_STATE =
2103
- | 0 // MISSION_STATE_UNKNOWN - The mission status reporting is not supported.
2104
- | 1 // MISSION_STATE_NO_MISSION - No mission on the vehicle.
2105
- | 2 // MISSION_STATE_NOT_STARTED - Mission has not started. This is the case after a mission has uploaded but not yet started executing.
2106
- | 3 // MISSION_STATE_ACTIVE - Mission is active, and will execute mission items when in auto mode.
2107
- | 4 // MISSION_STATE_PAUSED - Mission is paused when in auto mode.
2108
- | 5 // MISSION_STATE_COMPLETE - Mission has executed all mission items.
2109
- | number;
2110
-
2111
- // Possible safety switch states.
2112
- export type SAFETY_SWITCH_STATE =
2113
- | 0 // SAFETY_SWITCH_STATE_SAFE - Safety switch is engaged and vehicle should be safe to approach.
2114
- | 1 // SAFETY_SWITCH_STATE_DANGEROUS - Safety switch is NOT engaged and motors, propellers and other actuators should be considered active.
2115
- | number;
2116
-
2117
- // Modes of illuminator
2118
- export type ILLUMINATOR_MODE =
2119
- | 0 // ILLUMINATOR_MODE_UNKNOWN - Illuminator mode is not specified/unknown
2120
- | 1 // ILLUMINATOR_MODE_INTERNAL_CONTROL - Illuminator behavior is controlled by MAV_CMD_DO_ILLUMINATOR_CONFIGURE settings
2121
- | 2 // ILLUMINATOR_MODE_EXTERNAL_SYNC - Illuminator behavior is controlled by external factors: e.g. an external hardware signal
2122
- | number;
2123
-
2124
- // Illuminator module error flags (bitmap, 0 means no error)
2125
- export type ILLUMINATOR_ERROR_FLAGS =
2126
- | 1 // ILLUMINATOR_ERROR_FLAGS_THERMAL_THROTTLING - Illuminator thermal throttling error.
2127
- | 2 // ILLUMINATOR_ERROR_FLAGS_OVER_TEMPERATURE_SHUTDOWN - Illuminator over temperature shutdown error.
2128
- | 4 // ILLUMINATOR_ERROR_FLAGS_THERMISTOR_FAILURE - Illuminator thermistor failure.
2129
- | number;
2130
-
2131
- // Standard modes with a well understood meaning across flight stacks and vehicle types.
2132
- // For example, most flight stack have the concept of a &quot;return&quot; or &quot;RTL&quot; mode that takes a vehicle to safety, even though the precise mechanics of this mode may differ.
2133
- // The modes supported by a flight stack can be queried using AVAILABLE_MODES and set using MAV_CMD_DO_SET_STANDARD_MODE.
2134
- // The current mode is streamed in CURRENT_MODE.
2135
- // See https://mavlink.io/en/services/standard_modes.html
2136
- export type MAV_STANDARD_MODE =
2137
- | 0 // MAV_STANDARD_MODE_NON_STANDARD - Non standard mode. This may be used when reporting the mode if the current flight mode is not a standard mode.
2138
- | 1 // MAV_STANDARD_MODE_POSITION_HOLD - Position mode (manual). Position-controlled and stabilized manual mode. When sticks are released vehicles return to their level-flight orientation and hold both position and altitude against wind and external forces. This mode can only be set by vehicles that can hold a fixed position. Multicopter (MC) vehicles actively brake and hold both position and altitude against wind and external forces. Hybrid MC/FW (&quot;VTOL&quot;) vehicles first transition to multicopter mode (if needed) but otherwise behave in the same way as MC vehicles. Fixed-wing (FW) vehicles must not support this mode. Other vehicle types must not support this mode (this may be revisited through the PR process).
2139
- | 2 // MAV_STANDARD_MODE_ORBIT - Orbit (manual). Position-controlled and stabilized manual mode. The vehicle circles around a fixed setpoint in the horizontal plane at a particular radius, altitude, and direction. Flight stacks may further allow manual control over the setpoint position, radius, direction, speed, and/or altitude of the circle, but this is not mandated. Flight stacks may support the [MAV_CMD_DO_ORBIT](https://mavlink.io/en/messages/common.html#MAV_CMD_DO_ORBIT) for changing the orbit parameters. MC and FW vehicles may support this mode. Hybrid MC/FW (&quot;VTOL&quot;) vehicles may support this mode in MC/FW or both modes; if the mode is not supported by the current configuration the vehicle should transition to the supported configuration. Other vehicle types must not support this mode (this may be revisited through the PR process).
2140
- | 3 // MAV_STANDARD_MODE_CRUISE - Cruise mode (manual). Position-controlled and stabilized manual mode. When sticks are released vehicles return to their level-flight orientation and hold their original track against wind and external forces. Fixed-wing (FW) vehicles level orientation and maintain current track and altitude against wind and external forces. Hybrid MC/FW (&quot;VTOL&quot;) vehicles first transition to FW mode (if needed) but otherwise behave in the same way as MC vehicles. Multicopter (MC) vehicles must not support this mode. Other vehicle types must not support this mode (this may be revisited through the PR process).
2141
- | 4 // MAV_STANDARD_MODE_ALTITUDE_HOLD - Altitude hold (manual). Altitude-controlled and stabilized manual mode. When sticks are released vehicles return to their level-flight orientation and hold their altitude. MC vehicles continue with existing momentum and may move with wind (or other external forces). FW vehicles continue with current heading, but may be moved off-track by wind. Hybrid MC/FW (&quot;VTOL&quot;) vehicles behave according to their current configuration/mode (FW or MC). Other vehicle types must not support this mode (this may be revisited through the PR process).
2142
- | 5 // MAV_STANDARD_MODE_SAFE_RECOVERY - Safe recovery mode (auto). Automatic mode that takes vehicle to a predefined safe location via a safe flight path, and may also automatically land the vehicle. This mode is more commonly referred to as RTL and/or or Smart RTL. The precise return location, flight path, and landing behaviour depend on vehicle configuration and type. For example, the vehicle might return to the home/launch location, a rally point, or the start of a mission landing, it might follow a direct path, mission path, or breadcrumb path, and land using a mission landing pattern or some other kind of descent.
2143
- | 6 // MAV_STANDARD_MODE_MISSION - Mission mode (automatic). Automatic mode that executes MAVLink missions. Missions are executed from the current waypoint as soon as the mode is enabled.
2144
- | 7 // MAV_STANDARD_MODE_LAND - Land mode (auto). Automatic mode that lands the vehicle at the current location. The precise landing behaviour depends on vehicle configuration and type.
2145
- | 8 // MAV_STANDARD_MODE_TAKEOFF - Takeoff mode (auto). Automatic takeoff mode. The precise takeoff behaviour depends on vehicle configuration and type.
2146
- | number;
2147
-
2148
- // Mode properties.
2149
- export type MAV_MODE_PROPERTY =
2150
- | 1 // MAV_MODE_PROPERTY_ADVANCED - If set, this mode is an advanced mode. For example a rate-controlled manual mode might be advanced, whereas a position-controlled manual mode is not. A GCS can optionally use this flag to configure the UI for its intended users.
2151
- | 2 // MAV_MODE_PROPERTY_NOT_USER_SELECTABLE - If set, this mode should not be added to the list of selectable modes. The mode might still be selected by the FC directly (for example as part of a failsafe).
2152
- | 4 // MAV_MODE_PROPERTY_AUTO_MODE - If set, this mode is automatically controlled (it may use but does not require a manual controller). If unset the mode is a assumed to require user input (be a manual mode).
2153
- | number;
2154
-
2155
- // Flags used in HIL_ACTUATOR_CONTROLS message.
2156
- export type HIL_ACTUATOR_CONTROLS_FLAGS =
2157
- | 1 // HIL_ACTUATOR_CONTROLS_FLAGS_LOCKSTEP - Simulation is using lockstep
2158
- | number;
2159
-
2160
- // State flags for ADS-B transponder dynamic report
2161
- export type UAVIONIX_ADSB_OUT_DYNAMIC_STATE =
2162
- | 1
2163
- | 2
2164
- | 4
2165
- | 8
2166
- | 16
2167
- | number;
2168
-
2169
- // Transceiver RF control flags for ADS-B transponder dynamic reports
2170
- export type UAVIONIX_ADSB_OUT_RF_SELECT =
2171
- | 1
2172
- | 2
2173
- | number;
2174
-
2175
- // Status for ADS-B transponder dynamic input
2176
- export type UAVIONIX_ADSB_OUT_DYNAMIC_GPS_FIX =
2177
- | 0
2178
- | 1
2179
- | 2
2180
- | 3
2181
- | 4
2182
- | 5
2183
- | number;
2184
-
2185
- // Status flags for ADS-B transponder dynamic output
2186
- export type UAVIONIX_ADSB_RF_HEALTH =
2187
- | 1
2188
- | 2
2189
- | 16
2190
- | number;
2191
-
2192
- // Definitions for aircraft size
2193
- export type UAVIONIX_ADSB_OUT_CFG_AIRCRAFT_SIZE =
2194
- | 0
2195
- | 1
2196
- | 2
2197
- | 3
2198
- | 4
2199
- | 5
2200
- | 6
2201
- | 7
2202
- | 8
2203
- | 9
2204
- | 10
2205
- | 11
2206
- | 12
2207
- | 13
2208
- | 14
2209
- | 15
2210
- | number;
2211
-
2212
- // GPS lataral offset encoding
2213
- export type UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LAT =
2214
- | 0
2215
- | 1
2216
- | 2
2217
- | 3
2218
- | 4
2219
- | 5
2220
- | 6
2221
- | 7
2222
- | number;
2223
-
2224
- // GPS longitudinal offset encoding
2225
- export type UAVIONIX_ADSB_OUT_CFG_GPS_OFFSET_LON =
2226
- | 0
2227
- | 1
2228
- | number;
2229
-
2230
- // Emergency status encoding
2231
- export type UAVIONIX_ADSB_EMERGENCY_STATUS =
2232
- | 0
2233
- | 1
2234
- | 2
2235
- | 3
2236
- | 4
2237
- | 5
2238
- | 6
2239
- | 7
2240
- | number;
2241
-
2242
- // State flags for ADS-B transponder dynamic report
2243
- export type UAVIONIX_ADSB_OUT_CONTROL_STATE =
2244
- | 1
2245
- | 4
2246
- | 8
2247
- | 16
2248
- | 32
2249
- | 64
2250
- | 128
2251
- | number;
2252
-
2253
- // State flags for X-Bit and reserved fields.
2254
- export type UAVIONIX_ADSB_XBIT =
2255
- | 128
2256
- | number;
2257
-
2258
- // State flags for ADS-B transponder status report
2259
- export type UAVIONIX_ADSB_OUT_STATUS_STATE =
2260
- | 1
2261
- | 2
2262
- | 4
2263
- | 8
2264
- | 16
2265
- | 32
2266
- | 64
2267
- | 128
2268
- | number;
2269
-
2270
- // State flags for ADS-B transponder status report
2271
- export type UAVIONIX_ADSB_OUT_STATUS_NIC_NACP =
2272
- | 1
2273
- | 2
2274
- | 3
2275
- | 4
2276
- | 5
2277
- | 6
2278
- | 7
2279
- | 8
2280
- | 9
2281
- | 10
2282
- | 11
2283
- | 16
2284
- | 32
2285
- | 48
2286
- | 64
2287
- | 80
2288
- | 96
2289
- | 112
2290
- | 128
2291
- | 144
2292
- | 160
2293
- | 176
2294
- | number;
2295
-
2296
- // State flags for ADS-B transponder fault report
2297
- export type UAVIONIX_ADSB_OUT_STATUS_FAULT =
2298
- | 8
2299
- | 16
2300
- | 32
2301
- | 64
2302
- | 128
2303
- | number;
2304
-
2305
- export type ICAROUS_TRACK_BAND_TYPES =
2306
- | 0
2307
- | 1
2308
- | 2
2309
- | number;
2310
-
2311
- export type ICAROUS_FMS_STATE =
2312
- | 0
2313
- | 1
2314
- | 2
2315
- | 3
2316
- | 4
2317
- | 5
2318
- | number;
2319
-
2320
- export type MAV_CMD =
2321
- | 10151 // MAV_CMD_LOWEHEISER_SET_STATE - Set Loweheiser desired states
2322
- | number;
2323
-
2324
- export type AIRLINK_AUTH_RESPONSE_TYPE =
2325
- | 0 // AIRLINK_ERROR_LOGIN_OR_PASS - Login or password error
2326
- | 1 // AIRLINK_AUTH_OK - Auth successful
2327
- | number;
2328
-
2329
- export type ACCELCAL_VEHICLE_POS =
2330
- | 1
2331
- | 2
2332
- | 3
2333
- | 4
2334
- | 5
2335
- | 6
2336
- | 16777215
2337
- | 16777216
2338
- | number;
2339
-
2340
- export type HEADING_TYPE =
2341
- | 0
2342
- | 1
2343
- | 2
2344
- | number;
2345
-
2346
- export type MAV_CMD =
2347
- | 215 // MAV_CMD_DO_SET_RESUME_REPEAT_DIST - Set the distance to be repeated on mission resume
2348
- | 216 // MAV_CMD_DO_SPRAYER - Control attached liquid sprayer
2349
- | 217 // MAV_CMD_DO_SEND_SCRIPT_MESSAGE - Pass instructions onto scripting, a script should be checking for a new command
2350
- | 218 // MAV_CMD_DO_AUX_FUNCTION - Execute auxiliary function
2351
- | 83 // MAV_CMD_NAV_ALTITUDE_WAIT - 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.
2352
- | 42000 // MAV_CMD_POWER_OFF_INITIATED - A system wide power-off event has been initiated.
2353
- | 42001 // MAV_CMD_SOLO_BTN_FLY_CLICK - FLY button has been clicked.
2354
- | 42002 // MAV_CMD_SOLO_BTN_FLY_HOLD - FLY button has been held for 1.5 seconds.
2355
- | 42003 // MAV_CMD_SOLO_BTN_PAUSE_CLICK - PAUSE button has been clicked.
2356
- | 42004 // MAV_CMD_FIXED_MAG_CAL - Magnetometer calibration based on fixed position in earth field given by inclination, declination and intensity.
2357
- | 42005 // MAV_CMD_FIXED_MAG_CAL_FIELD - Magnetometer calibration based on fixed expected field values.
2358
- | 42007 // MAV_CMD_SET_EKF_SOURCE_SET - Set EKF sensor source set.
2359
- | 42424 // MAV_CMD_DO_START_MAG_CAL - Initiate a magnetometer calibration.
2360
- | 42425 // MAV_CMD_DO_ACCEPT_MAG_CAL - Accept a magnetometer calibration.
2361
- | 42426 // MAV_CMD_DO_CANCEL_MAG_CAL - Cancel a running magnetometer calibration.
2362
- | 42429 // MAV_CMD_ACCELCAL_VEHICLE_POS - 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.
2363
- | 42428 // MAV_CMD_DO_SEND_BANNER - Reply with the version banner.
2364
- | 42427 // MAV_CMD_SET_FACTORY_TEST_MODE - Command autopilot to get into factory test/diagnostic mode.
2365
- | 42501 // MAV_CMD_GIMBAL_RESET - Causes the gimbal to reset and boot as if it was just powered on.
2366
- | 42502 // MAV_CMD_GIMBAL_AXIS_CALIBRATION_STATUS - Reports progress and success or failure of gimbal axis calibration procedure.
2367
- | 42503 // MAV_CMD_GIMBAL_REQUEST_AXIS_CALIBRATION - Starts commutation calibration on the gimbal.
2368
- | 42505 // MAV_CMD_GIMBAL_FULL_RESET - Erases gimbal application and parameters.
2369
- | 42650 // MAV_CMD_FLASH_BOOTLOADER - Update the bootloader
2370
- | 42651 // MAV_CMD_BATTERY_RESET - Reset battery capacity for batteries that accumulate consumed battery via integration.
2371
- | 42700 // MAV_CMD_DEBUG_TRAP - Issue a trap signal to the autopilot process, presumably to enter the debugger.
2372
- | 42701 // MAV_CMD_SCRIPTING - Control onboard scripting.
2373
- | 42702 // MAV_CMD_NAV_SCRIPT_TIME - Scripting command as NAV command with wait for completion.
2374
- | 42703 // MAV_CMD_NAV_ATTITUDE_TIME - Maintain an attitude for a specified time.
2375
- | 43000 // MAV_CMD_GUIDED_CHANGE_SPEED - Change flight speed at a given rate. This slews the vehicle at a controllable rate between it&#x27;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.)
2376
- | 43001 // MAV_CMD_GUIDED_CHANGE_ALTITUDE - Change target altitude at a given rate. This slews the vehicle at a controllable rate between it&#x27;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.)
2377
- | 43002 // MAV_CMD_GUIDED_CHANGE_HEADING - Change to target heading at a given rate, overriding previous heading/s. This slews the vehicle at a controllable rate between it&#x27;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.)
2378
- | 43005 // MAV_CMD_SET_HAGL - Provide a value for height above ground level. This can be used for things like fixed wing and VTOL landing.
2379
- | number;
2380
-
2381
- export type SCRIPTING_CMD =
2382
- | 0 // SCRIPTING_CMD_REPL_START - Start a REPL session.
2383
- | 1 // SCRIPTING_CMD_REPL_STOP - End a REPL session.
2384
- | 2 // SCRIPTING_CMD_STOP - Stop execution of scripts.
2385
- | 3 // SCRIPTING_CMD_STOP_AND_RESTART - Stop execution of scripts and restart.
2386
- | number;
2387
-
2388
- export type SECURE_COMMAND_OP =
2389
- | 0 // SECURE_COMMAND_GET_SESSION_KEY - Get an 8 byte session key which is used for remote secure updates which operate on flight controller data such as bootloader public keys. Return data will be 8 bytes on success. The session key remains valid until either the flight controller reboots or another SECURE_COMMAND_GET_SESSION_KEY is run.
2390
- | 1 // SECURE_COMMAND_GET_REMOTEID_SESSION_KEY - Get an 8 byte session key which is used for remote secure updates which operate on RemoteID module data. Return data will be 8 bytes on success. The session key remains valid until either the remote ID module reboots or another SECURE_COMMAND_GET_REMOTEID_SESSION_KEY is run.
2391
- | 2 // SECURE_COMMAND_REMOVE_PUBLIC_KEYS - Remove range of public keys from the bootloader. Command data consists of two bytes, first byte if index of first public key to remove. Second byte is the number of keys to remove. If all keys are removed then secure boot is disabled and insecure firmware can be loaded.
2392
- | 3 // SECURE_COMMAND_GET_PUBLIC_KEYS - Get current public keys from the bootloader. Command data consists of two bytes, first byte is index of first public key to fetch, 2nd byte is number of keys to fetch. Total data needs to fit in data portion of reply (max 6 keys for 32 byte keys). Reply data has the index of the first key in the first byte, followed by the keys. Returned keys may be less than the number of keys requested if there are less keys installed than requested.
2393
- | 4 // SECURE_COMMAND_SET_PUBLIC_KEYS - Set current public keys in the bootloader. Data consists of a one byte public key index followed by the public keys. With 32 byte keys this allows for up to 6 keys to be set in one request. Keys outside of the range that is being set will remain unchanged.
2394
- | 5 // SECURE_COMMAND_GET_REMOTEID_CONFIG - Get config data for remote ID module. This command should be sent to the component ID of the flight controller which will forward it to the RemoteID module either over mavlink or DroneCAN. Data format is specific to the RemoteID implementation, see RemoteID firmware documentation for details.
2395
- | 6 // SECURE_COMMAND_SET_REMOTEID_CONFIG - Set config data for remote ID module. This command should be sent to the component ID of the flight controller which will forward it to the RemoteID module either over mavlink or DroneCAN. Data format is specific to the RemoteID implementation, see RemoteID firmware documentation for details.
2396
- | 7 // SECURE_COMMAND_FLASH_BOOTLOADER - Flash bootloader from local storage. Data is the filename to use for the bootloader. This is intended to be used with MAVFtp to upload a new bootloader to a microSD before flashing.
2397
- | number;
2398
-
2399
- export type LIMITS_STATE =
2400
- | 0 // LIMITS_INIT - Pre-initialization.
2401
- | 1 // LIMITS_DISABLED - Disabled.
2402
- | 2 // LIMITS_ENABLED - Checking limits.
2403
- | 3 // LIMITS_TRIGGERED - A limit has been breached.
2404
- | 4 // LIMITS_RECOVERING - Taking action e.g. Return/RTL.
2405
- | 5 // LIMITS_RECOVERED - We&#x27;re no longer in breach of a limit.
2406
- | number;
2407
-
2408
- export type LIMIT_MODULE =
2409
- | 1 // LIMIT_GPSLOCK - Pre-initialization.
2410
- | 2 // LIMIT_GEOFENCE - Disabled.
2411
- | 4 // LIMIT_ALTITUDE - Checking limits.
2412
- | number;
2413
-
2414
- // Flags in RALLY_POINT message.
2415
- export type RALLY_FLAGS =
2416
- | 1 // FAVORABLE_WIND - Flag set when requiring favorable winds for landing.
2417
- | 2 // LAND_IMMEDIATELY - 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.
2418
- | 4 // ALT_FRAME_VALID - True if the following altitude frame value is valid.
2419
- | 24 // ALT_FRAME - 2 bit value representing altitude frame. 0: absolute, 1: relative home, 2: relative origin, 3: relative terrain
2420
- | number;
2421
-
2422
- export type CAMERA_STATUS_TYPES =
2423
- | 0 // CAMERA_STATUS_TYPE_HEARTBEAT - Camera heartbeat, announce camera component ID at 1Hz.
2424
- | 1 // CAMERA_STATUS_TYPE_TRIGGER - Camera image triggered.
2425
- | 2 // CAMERA_STATUS_TYPE_DISCONNECT - Camera connection lost.
2426
- | 3 // CAMERA_STATUS_TYPE_ERROR - Camera unknown error.
2427
- | 4 // CAMERA_STATUS_TYPE_LOWBATT - Camera battery low. Parameter p1 shows reported voltage.
2428
- | 5 // CAMERA_STATUS_TYPE_LOWSTORE - Camera storage low. Parameter p1 shows reported shots remaining.
2429
- | 6 // CAMERA_STATUS_TYPE_LOWSTOREV - Camera storage low. Parameter p1 shows reported video minutes remaining.
2430
- | number;
2431
-
2432
- export type CAMERA_FEEDBACK_FLAGS =
2433
- | 0 // CAMERA_FEEDBACK_PHOTO - Shooting photos, not video.
2434
- | 1 // CAMERA_FEEDBACK_VIDEO - Shooting video, not stills.
2435
- | 2 // CAMERA_FEEDBACK_BADEXPOSURE - Unable to achieve requested exposure (e.g. shutter speed too low).
2436
- | 3 // CAMERA_FEEDBACK_CLOSEDLOOP - Closed loop feedback from camera, we know for sure it has successfully taken a picture.
2437
- | 4 // CAMERA_FEEDBACK_OPENLOOP - Open loop camera, an image trigger has been requested but we can&#x27;t know for sure it has successfully taken a picture.
2438
- | number;
2439
-
2440
- export type MAV_MODE_GIMBAL =
2441
- | 0 // MAV_MODE_GIMBAL_UNINITIALIZED - Gimbal is powered on but has not started initializing yet.
2442
- | 1 // MAV_MODE_GIMBAL_CALIBRATING_PITCH - Gimbal is currently running calibration on the pitch axis.
2443
- | 2 // MAV_MODE_GIMBAL_CALIBRATING_ROLL - Gimbal is currently running calibration on the roll axis.
2444
- | 3 // MAV_MODE_GIMBAL_CALIBRATING_YAW - Gimbal is currently running calibration on the yaw axis.
2445
- | 4 // MAV_MODE_GIMBAL_INITIALIZED - Gimbal has finished calibrating and initializing, but is relaxed pending reception of first rate command from copter.
2446
- | 5 // MAV_MODE_GIMBAL_ACTIVE - Gimbal is actively stabilizing.
2447
- | 6 // MAV_MODE_GIMBAL_RATE_CMD_TIMEOUT - 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.
2448
- | number;
2449
-
2450
- export type GIMBAL_AXIS =
2451
- | 0 // GIMBAL_AXIS_YAW - Gimbal yaw axis.
2452
- | 1 // GIMBAL_AXIS_PITCH - Gimbal pitch axis.
2453
- | 2 // GIMBAL_AXIS_ROLL - Gimbal roll axis.
2454
- | number;
2455
-
2456
- export type GIMBAL_AXIS_CALIBRATION_STATUS =
2457
- | 0 // GIMBAL_AXIS_CALIBRATION_STATUS_IN_PROGRESS - Axis calibration is in progress.
2458
- | 1 // GIMBAL_AXIS_CALIBRATION_STATUS_SUCCEEDED - Axis calibration succeeded.
2459
- | 2 // GIMBAL_AXIS_CALIBRATION_STATUS_FAILED - Axis calibration failed.
2460
- | number;
2461
-
2462
- export type GIMBAL_AXIS_CALIBRATION_REQUIRED =
2463
- | 0 // GIMBAL_AXIS_CALIBRATION_REQUIRED_UNKNOWN - Whether or not this axis requires calibration is unknown at this time.
2464
- | 1 // GIMBAL_AXIS_CALIBRATION_REQUIRED_TRUE - This axis requires calibration.
2465
- | 2 // GIMBAL_AXIS_CALIBRATION_REQUIRED_FALSE - This axis does not require calibration.
2466
- | number;
2467
-
2468
- export type GOPRO_HEARTBEAT_STATUS =
2469
- | 0 // GOPRO_HEARTBEAT_STATUS_DISCONNECTED - No GoPro connected.
2470
- | 1 // GOPRO_HEARTBEAT_STATUS_INCOMPATIBLE - The detected GoPro is not HeroBus compatible.
2471
- | 2 // GOPRO_HEARTBEAT_STATUS_CONNECTED - A HeroBus compatible GoPro is connected.
2472
- | 3 // GOPRO_HEARTBEAT_STATUS_ERROR - An unrecoverable error was encountered with the connected GoPro, it may require a power cycle.
2473
- | number;
2474
-
2475
- export type GOPRO_HEARTBEAT_FLAGS =
2476
- | 1 // GOPRO_FLAG_RECORDING - GoPro is currently recording.
2477
- | number;
2478
-
2479
- export type GOPRO_REQUEST_STATUS =
2480
- | 0 // GOPRO_REQUEST_SUCCESS - The write message with ID indicated succeeded.
2481
- | 1 // GOPRO_REQUEST_FAILED - The write message with ID indicated failed.
2482
- | number;
2483
-
2484
- export type GOPRO_COMMAND =
2485
- | 0 // GOPRO_COMMAND_POWER - (Get/Set).
2486
- | 1 // GOPRO_COMMAND_CAPTURE_MODE - (Get/Set).
2487
- | 2 // GOPRO_COMMAND_SHUTTER - (___/Set).
2488
- | 3 // GOPRO_COMMAND_BATTERY - (Get/___).
2489
- | 4 // GOPRO_COMMAND_MODEL - (Get/___).
2490
- | 5 // GOPRO_COMMAND_VIDEO_SETTINGS - (Get/Set).
2491
- | 6 // GOPRO_COMMAND_LOW_LIGHT - (Get/Set).
2492
- | 7 // GOPRO_COMMAND_PHOTO_RESOLUTION - (Get/Set).
2493
- | 8 // GOPRO_COMMAND_PHOTO_BURST_RATE - (Get/Set).
2494
- | 9 // GOPRO_COMMAND_PROTUNE - (Get/Set).
2495
- | 10 // GOPRO_COMMAND_PROTUNE_WHITE_BALANCE - (Get/Set) Hero 3+ Only.
2496
- | 11 // GOPRO_COMMAND_PROTUNE_COLOUR - (Get/Set) Hero 3+ Only.
2497
- | 12 // GOPRO_COMMAND_PROTUNE_GAIN - (Get/Set) Hero 3+ Only.
2498
- | 13 // GOPRO_COMMAND_PROTUNE_SHARPNESS - (Get/Set) Hero 3+ Only.
2499
- | 14 // GOPRO_COMMAND_PROTUNE_EXPOSURE - (Get/Set) Hero 3+ Only.
2500
- | 15 // GOPRO_COMMAND_TIME - (Get/Set).
2501
- | 16 // GOPRO_COMMAND_CHARGING - (Get/Set).
2502
- | number;
2503
-
2504
- export type GOPRO_CAPTURE_MODE =
2505
- | 0 // GOPRO_CAPTURE_MODE_VIDEO - Video mode.
2506
- | 1 // GOPRO_CAPTURE_MODE_PHOTO - Photo mode.
2507
- | 2 // GOPRO_CAPTURE_MODE_BURST - Burst mode, Hero 3+ only.
2508
- | 3 // GOPRO_CAPTURE_MODE_TIME_LAPSE - Time lapse mode, Hero 3+ only.
2509
- | 4 // GOPRO_CAPTURE_MODE_MULTI_SHOT - Multi shot mode, Hero 4 only.
2510
- | 5 // GOPRO_CAPTURE_MODE_PLAYBACK - Playback mode, Hero 4 only, silver only except when LCD or HDMI is connected to black.
2511
- | 6 // GOPRO_CAPTURE_MODE_SETUP - Playback mode, Hero 4 only.
2512
- | 255 // GOPRO_CAPTURE_MODE_UNKNOWN - Mode not yet known.
2513
- | number;
2514
-
2515
- export type GOPRO_RESOLUTION =
2516
- | 0 // GOPRO_RESOLUTION_480p - 848 x 480 (480p).
2517
- | 1 // GOPRO_RESOLUTION_720p - 1280 x 720 (720p).
2518
- | 2 // GOPRO_RESOLUTION_960p - 1280 x 960 (960p).
2519
- | 3 // GOPRO_RESOLUTION_1080p - 1920 x 1080 (1080p).
2520
- | 4 // GOPRO_RESOLUTION_1440p - 1920 x 1440 (1440p).
2521
- | 5 // GOPRO_RESOLUTION_2_7k_17_9 - 2704 x 1440 (2.7k-17:9).
2522
- | 6 // GOPRO_RESOLUTION_2_7k_16_9 - 2704 x 1524 (2.7k-16:9).
2523
- | 7 // GOPRO_RESOLUTION_2_7k_4_3 - 2704 x 2028 (2.7k-4:3).
2524
- | 8 // GOPRO_RESOLUTION_4k_16_9 - 3840 x 2160 (4k-16:9).
2525
- | 9 // GOPRO_RESOLUTION_4k_17_9 - 4096 x 2160 (4k-17:9).
2526
- | 10 // GOPRO_RESOLUTION_720p_SUPERVIEW - 1280 x 720 (720p-SuperView).
2527
- | 11 // GOPRO_RESOLUTION_1080p_SUPERVIEW - 1920 x 1080 (1080p-SuperView).
2528
- | 12 // GOPRO_RESOLUTION_2_7k_SUPERVIEW - 2704 x 1520 (2.7k-SuperView).
2529
- | 13 // GOPRO_RESOLUTION_4k_SUPERVIEW - 3840 x 2160 (4k-SuperView).
2530
- | number;
2531
-
2532
- export type GOPRO_FRAME_RATE =
2533
- | 0 // GOPRO_FRAME_RATE_12 - 12 FPS.
2534
- | 1 // GOPRO_FRAME_RATE_15 - 15 FPS.
2535
- | 2 // GOPRO_FRAME_RATE_24 - 24 FPS.
2536
- | 3 // GOPRO_FRAME_RATE_25 - 25 FPS.
2537
- | 4 // GOPRO_FRAME_RATE_30 - 30 FPS.
2538
- | 5 // GOPRO_FRAME_RATE_48 - 48 FPS.
2539
- | 6 // GOPRO_FRAME_RATE_50 - 50 FPS.
2540
- | 7 // GOPRO_FRAME_RATE_60 - 60 FPS.
2541
- | 8 // GOPRO_FRAME_RATE_80 - 80 FPS.
2542
- | 9 // GOPRO_FRAME_RATE_90 - 90 FPS.
2543
- | 10 // GOPRO_FRAME_RATE_100 - 100 FPS.
2544
- | 11 // GOPRO_FRAME_RATE_120 - 120 FPS.
2545
- | 12 // GOPRO_FRAME_RATE_240 - 240 FPS.
2546
- | 13 // GOPRO_FRAME_RATE_12_5 - 12.5 FPS.
2547
- | number;
2548
-
2549
- export type GOPRO_FIELD_OF_VIEW =
2550
- | 0 // GOPRO_FIELD_OF_VIEW_WIDE - 0x00: Wide.
2551
- | 1 // GOPRO_FIELD_OF_VIEW_MEDIUM - 0x01: Medium.
2552
- | 2 // GOPRO_FIELD_OF_VIEW_NARROW - 0x02: Narrow.
2553
- | number;
2554
-
2555
- export type GOPRO_VIDEO_SETTINGS_FLAGS =
2556
- | 1 // GOPRO_VIDEO_SETTINGS_TV_MODE - 0&#x3D;NTSC, 1&#x3D;PAL.
2557
- | number;
2558
-
2559
- export type GOPRO_PHOTO_RESOLUTION =
2560
- | 0 // GOPRO_PHOTO_RESOLUTION_5MP_MEDIUM - 5MP Medium.
2561
- | 1 // GOPRO_PHOTO_RESOLUTION_7MP_MEDIUM - 7MP Medium.
2562
- | 2 // GOPRO_PHOTO_RESOLUTION_7MP_WIDE - 7MP Wide.
2563
- | 3 // GOPRO_PHOTO_RESOLUTION_10MP_WIDE - 10MP Wide.
2564
- | 4 // GOPRO_PHOTO_RESOLUTION_12MP_WIDE - 12MP Wide.
2565
- | number;
2566
-
2567
- export type GOPRO_PROTUNE_WHITE_BALANCE =
2568
- | 0 // GOPRO_PROTUNE_WHITE_BALANCE_AUTO - Auto.
2569
- | 1 // GOPRO_PROTUNE_WHITE_BALANCE_3000K - 3000K.
2570
- | 2 // GOPRO_PROTUNE_WHITE_BALANCE_5500K - 5500K.
2571
- | 3 // GOPRO_PROTUNE_WHITE_BALANCE_6500K - 6500K.
2572
- | 4 // GOPRO_PROTUNE_WHITE_BALANCE_RAW - Camera Raw.
2573
- | number;
2574
-
2575
- export type GOPRO_PROTUNE_COLOUR =
2576
- | 0 // GOPRO_PROTUNE_COLOUR_STANDARD - Auto.
2577
- | 1 // GOPRO_PROTUNE_COLOUR_NEUTRAL - Neutral.
2578
- | number;
2579
-
2580
- export type GOPRO_PROTUNE_GAIN =
2581
- | 0 // GOPRO_PROTUNE_GAIN_400 - ISO 400.
2582
- | 1 // GOPRO_PROTUNE_GAIN_800 - ISO 800 (Only Hero 4).
2583
- | 2 // GOPRO_PROTUNE_GAIN_1600 - ISO 1600.
2584
- | 3 // GOPRO_PROTUNE_GAIN_3200 - ISO 3200 (Only Hero 4).
2585
- | 4 // GOPRO_PROTUNE_GAIN_6400 - ISO 6400.
2586
- | number;
2587
-
2588
- export type GOPRO_PROTUNE_SHARPNESS =
2589
- | 0 // GOPRO_PROTUNE_SHARPNESS_LOW - Low Sharpness.
2590
- | 1 // GOPRO_PROTUNE_SHARPNESS_MEDIUM - Medium Sharpness.
2591
- | 2 // GOPRO_PROTUNE_SHARPNESS_HIGH - High Sharpness.
2592
- | number;
2593
-
2594
- export type GOPRO_PROTUNE_EXPOSURE =
2595
- | 0 // GOPRO_PROTUNE_EXPOSURE_NEG_5_0 - -5.0 EV (Hero 3+ Only).
2596
- | 1 // GOPRO_PROTUNE_EXPOSURE_NEG_4_5 - -4.5 EV (Hero 3+ Only).
2597
- | 2 // GOPRO_PROTUNE_EXPOSURE_NEG_4_0 - -4.0 EV (Hero 3+ Only).
2598
- | 3 // GOPRO_PROTUNE_EXPOSURE_NEG_3_5 - -3.5 EV (Hero 3+ Only).
2599
- | 4 // GOPRO_PROTUNE_EXPOSURE_NEG_3_0 - -3.0 EV (Hero 3+ Only).
2600
- | 5 // GOPRO_PROTUNE_EXPOSURE_NEG_2_5 - -2.5 EV (Hero 3+ Only).
2601
- | 6 // GOPRO_PROTUNE_EXPOSURE_NEG_2_0 - -2.0 EV.
2602
- | 7 // GOPRO_PROTUNE_EXPOSURE_NEG_1_5 - -1.5 EV.
2603
- | 8 // GOPRO_PROTUNE_EXPOSURE_NEG_1_0 - -1.0 EV.
2604
- | 9 // GOPRO_PROTUNE_EXPOSURE_NEG_0_5 - -0.5 EV.
2605
- | 10 // GOPRO_PROTUNE_EXPOSURE_ZERO - 0.0 EV.
2606
- | 11 // GOPRO_PROTUNE_EXPOSURE_POS_0_5 - +0.5 EV.
2607
- | 12 // GOPRO_PROTUNE_EXPOSURE_POS_1_0 - +1.0 EV.
2608
- | 13 // GOPRO_PROTUNE_EXPOSURE_POS_1_5 - +1.5 EV.
2609
- | 14 // GOPRO_PROTUNE_EXPOSURE_POS_2_0 - +2.0 EV.
2610
- | 15 // GOPRO_PROTUNE_EXPOSURE_POS_2_5 - +2.5 EV (Hero 3+ Only).
2611
- | 16 // GOPRO_PROTUNE_EXPOSURE_POS_3_0 - +3.0 EV (Hero 3+ Only).
2612
- | 17 // GOPRO_PROTUNE_EXPOSURE_POS_3_5 - +3.5 EV (Hero 3+ Only).
2613
- | 18 // GOPRO_PROTUNE_EXPOSURE_POS_4_0 - +4.0 EV (Hero 3+ Only).
2614
- | 19 // GOPRO_PROTUNE_EXPOSURE_POS_4_5 - +4.5 EV (Hero 3+ Only).
2615
- | 20 // GOPRO_PROTUNE_EXPOSURE_POS_5_0 - +5.0 EV (Hero 3+ Only).
2616
- | number;
2617
-
2618
- export type GOPRO_CHARGING =
2619
- | 0 // GOPRO_CHARGING_DISABLED - Charging disabled.
2620
- | 1 // GOPRO_CHARGING_ENABLED - Charging enabled.
2621
- | number;
2622
-
2623
- export type GOPRO_MODEL =
2624
- | 0 // GOPRO_MODEL_UNKNOWN - Unknown gopro model.
2625
- | 1 // GOPRO_MODEL_HERO_3_PLUS_SILVER - Hero 3+ Silver (HeroBus not supported by GoPro).
2626
- | 2 // GOPRO_MODEL_HERO_3_PLUS_BLACK - Hero 3+ Black.
2627
- | 3 // GOPRO_MODEL_HERO_4_SILVER - Hero 4 Silver.
2628
- | 4 // GOPRO_MODEL_HERO_4_BLACK - Hero 4 Black.
2629
- | number;
2630
-
2631
- export type GOPRO_BURST_RATE =
2632
- | 0 // GOPRO_BURST_RATE_3_IN_1_SECOND - 3 Shots / 1 Second.
2633
- | 1 // GOPRO_BURST_RATE_5_IN_1_SECOND - 5 Shots / 1 Second.
2634
- | 2 // GOPRO_BURST_RATE_10_IN_1_SECOND - 10 Shots / 1 Second.
2635
- | 3 // GOPRO_BURST_RATE_10_IN_2_SECOND - 10 Shots / 2 Second.
2636
- | 4 // GOPRO_BURST_RATE_10_IN_3_SECOND - 10 Shots / 3 Second (Hero 4 Only).
2637
- | 5 // GOPRO_BURST_RATE_30_IN_1_SECOND - 30 Shots / 1 Second.
2638
- | 6 // GOPRO_BURST_RATE_30_IN_2_SECOND - 30 Shots / 2 Second.
2639
- | 7 // GOPRO_BURST_RATE_30_IN_3_SECOND - 30 Shots / 3 Second.
2640
- | 8 // GOPRO_BURST_RATE_30_IN_6_SECOND - 30 Shots / 6 Second.
2641
- | number;
2642
-
2643
- export type MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL =
2644
- | 0 // MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_LOW - Switch Low.
2645
- | 1 // MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_MIDDLE - Switch Middle.
2646
- | 2 // MAV_CMD_DO_AUX_FUNCTION_SWITCH_LEVEL_HIGH - Switch High.
2647
- | number;
2648
-
2649
- export type LED_CONTROL_PATTERN =
2650
- | 0 // LED_CONTROL_PATTERN_OFF - LED patterns off (return control to regular vehicle control).
2651
- | 1 // LED_CONTROL_PATTERN_FIRMWAREUPDATE - LEDs show pattern during firmware update.
2652
- | 255 // LED_CONTROL_PATTERN_CUSTOM - Custom Pattern using custom bytes fields.
2653
- | number;
2654
-
2655
- // Flags in EKF_STATUS message.
2656
- export type EKF_STATUS_FLAGS =
2657
- | 1 // EKF_ATTITUDE - Set if EKF&#x27;s attitude estimate is good.
2658
- | 2 // EKF_VELOCITY_HORIZ - Set if EKF&#x27;s horizontal velocity estimate is good.
2659
- | 4 // EKF_VELOCITY_VERT - Set if EKF&#x27;s vertical velocity estimate is good.
2660
- | 8 // EKF_POS_HORIZ_REL - Set if EKF&#x27;s horizontal position (relative) estimate is good.
2661
- | 16 // EKF_POS_HORIZ_ABS - Set if EKF&#x27;s horizontal position (absolute) estimate is good.
2662
- | 32 // EKF_POS_VERT_ABS - Set if EKF&#x27;s vertical position (absolute) estimate is good.
2663
- | 64 // EKF_POS_VERT_AGL - Set if EKF&#x27;s vertical position (above ground) estimate is good.
2664
- | 128 // EKF_CONST_POS_MODE - EKF is in constant position mode and does not know it&#x27;s absolute or relative position.
2665
- | 256 // EKF_PRED_POS_HORIZ_REL - Set if EKF&#x27;s predicted horizontal position (relative) estimate is good.
2666
- | 512 // EKF_PRED_POS_HORIZ_ABS - Set if EKF&#x27;s predicted horizontal position (absolute) estimate is good.
2667
- | 32768 // EKF_GPS_GLITCHING - Set if EKF believes the GPS input data is faulty.
2668
- | 1024 // EKF_UNINITIALIZED - Set if EKF has never been healthy.
2669
- | number;
2670
-
2671
- export type PID_TUNING_AXIS =
2672
- | 1
2673
- | 2
2674
- | 3
2675
- | 4
2676
- | 5
2677
- | 6
2678
- | number;
2679
-
2680
- // Special ACK block numbers control activation of dataflash log streaming.
2681
- export type MAV_REMOTE_LOG_DATA_BLOCK_COMMANDS =
2682
- | 2147483645 // MAV_REMOTE_LOG_DATA_BLOCK_STOP - UAV to stop sending DataFlash blocks.
2683
- | 2147483646 // MAV_REMOTE_LOG_DATA_BLOCK_START - UAV to start sending DataFlash blocks.
2684
- | number;
2685
-
2686
- // Possible remote log data block statuses.
2687
- export type MAV_REMOTE_LOG_DATA_BLOCK_STATUSES =
2688
- | 0 // MAV_REMOTE_LOG_DATA_BLOCK_NACK - This block has NOT been received.
2689
- | 1 // MAV_REMOTE_LOG_DATA_BLOCK_ACK - This block has been received.
2690
- | number;
2691
-
2692
- // Bus types for device operations.
2693
- export type DEVICE_OP_BUSTYPE =
2694
- | 0 // DEVICE_OP_BUSTYPE_I2C - I2C Device operation.
2695
- | 1 // DEVICE_OP_BUSTYPE_SPI - SPI Device operation.
2696
- | number;
2697
-
2698
- // Deepstall flight stage.
2699
- export type DEEPSTALL_STAGE =
2700
- | 0 // DEEPSTALL_STAGE_FLY_TO_LANDING - Flying to the landing point.
2701
- | 1 // DEEPSTALL_STAGE_ESTIMATE_WIND - Building an estimate of the wind.
2702
- | 2 // DEEPSTALL_STAGE_WAIT_FOR_BREAKOUT - Waiting to breakout of the loiter to fly the approach.
2703
- | 3 // DEEPSTALL_STAGE_FLY_TO_ARC - Flying to the first arc point to turn around to the landing point.
2704
- | 4 // DEEPSTALL_STAGE_ARC - Turning around back to the deepstall landing point.
2705
- | 5 // DEEPSTALL_STAGE_APPROACH - Approaching the landing point.
2706
- | 6 // DEEPSTALL_STAGE_LAND - Stalling and steering towards the land point.
2707
- | number;
2708
-
2709
- // A mapping of plane flight modes for custom_mode field of heartbeat.
2710
- export type PLANE_MODE =
2711
- | 0 // PLANE_MODE_MANUAL - MANUAL
2712
- | 1 // PLANE_MODE_CIRCLE - CIRCLE
2713
- | 2 // PLANE_MODE_STABILIZE - STABILIZE
2714
- | 3 // PLANE_MODE_TRAINING - TRAINING
2715
- | 4 // PLANE_MODE_ACRO - ACRO
2716
- | 5 // PLANE_MODE_FLY_BY_WIRE_A - FBWA
2717
- | 6 // PLANE_MODE_FLY_BY_WIRE_B - FBWB
2718
- | 7 // PLANE_MODE_CRUISE - CRUISE
2719
- | 8 // PLANE_MODE_AUTOTUNE - AUTOTUNE
2720
- | 10 // PLANE_MODE_AUTO - AUTO
2721
- | 11 // PLANE_MODE_RTL - RTL
2722
- | 12 // PLANE_MODE_LOITER - LOITER
2723
- | 13 // PLANE_MODE_TAKEOFF - TAKEOFF
2724
- | 14 // PLANE_MODE_AVOID_ADSB - AVOID ADSB
2725
- | 15 // PLANE_MODE_GUIDED - GUIDED
2726
- | 16 // PLANE_MODE_INITIALIZING - INITIALISING
2727
- | 17 // PLANE_MODE_QSTABILIZE - QSTABILIZE
2728
- | 18 // PLANE_MODE_QHOVER - QHOVER
2729
- | 19 // PLANE_MODE_QLOITER - QLOITER
2730
- | 20 // PLANE_MODE_QLAND - QLAND
2731
- | 21 // PLANE_MODE_QRTL - QRTL
2732
- | 22 // PLANE_MODE_QAUTOTUNE - QAUTOTUNE
2733
- | 23 // PLANE_MODE_QACRO - QACRO
2734
- | 24 // PLANE_MODE_THERMAL - THERMAL
2735
- | 25 // PLANE_MODE_LOITER_ALT_QLAND - LOITER2QLAND
2736
- | 26 // PLANE_MODE_AUTOLAND - AUTOLAND
2737
- | number;
2738
-
2739
- // A mapping of copter flight modes for custom_mode field of heartbeat.
2740
- export type COPTER_MODE =
2741
- | 0 // COPTER_MODE_STABILIZE - STABILIZE
2742
- | 1 // COPTER_MODE_ACRO - ACRO
2743
- | 2 // COPTER_MODE_ALT_HOLD - ALT HOLD
2744
- | 3 // COPTER_MODE_AUTO - AUTO
2745
- | 4 // COPTER_MODE_GUIDED - GUIDED
2746
- | 5 // COPTER_MODE_LOITER - LOITER
2747
- | 6 // COPTER_MODE_RTL - RTL
2748
- | 7 // COPTER_MODE_CIRCLE - CIRCLE
2749
- | 9 // COPTER_MODE_LAND - LAND
2750
- | 11 // COPTER_MODE_DRIFT - DRIFT
2751
- | 13 // COPTER_MODE_SPORT - SPORT
2752
- | 14 // COPTER_MODE_FLIP - FLIP
2753
- | 15 // COPTER_MODE_AUTOTUNE - AUTOTUNE
2754
- | 16 // COPTER_MODE_POSHOLD - POSHOLD
2755
- | 17 // COPTER_MODE_BRAKE - BRAKE
2756
- | 18 // COPTER_MODE_THROW - THROW
2757
- | 19 // COPTER_MODE_AVOID_ADSB - AVOID ADSB
2758
- | 20 // COPTER_MODE_GUIDED_NOGPS - GUIDED NOGPS
2759
- | 21 // COPTER_MODE_SMART_RTL - SMARTRTL
2760
- | 22 // COPTER_MODE_FLOWHOLD - FLOWHOLD
2761
- | 23 // COPTER_MODE_FOLLOW - FOLLOW
2762
- | 24 // COPTER_MODE_ZIGZAG - ZIGZAG
2763
- | 25 // COPTER_MODE_SYSTEMID - SYSTEMID
2764
- | 26 // COPTER_MODE_AUTOROTATE - AUTOROTATE
2765
- | 27 // COPTER_MODE_AUTO_RTL - AUTO RTL
2766
- | 28 // COPTER_MODE_TURTLE - TURTLE
2767
- | number;
2768
-
2769
- // A mapping of sub flight modes for custom_mode field of heartbeat.
2770
- export type SUB_MODE =
2771
- | 0 // SUB_MODE_STABILIZE - STABILIZE
2772
- | 1 // SUB_MODE_ACRO - ACRO
2773
- | 2 // SUB_MODE_ALT_HOLD - ALT HOLD
2774
- | 3 // SUB_MODE_AUTO - AUTO
2775
- | 4 // SUB_MODE_GUIDED - GUIDED
2776
- | 7 // SUB_MODE_CIRCLE - CIRCLE
2777
- | 9 // SUB_MODE_SURFACE - SURFACE
2778
- | 16 // SUB_MODE_POSHOLD - POSHOLD
2779
- | 19 // SUB_MODE_MANUAL - MANUAL
2780
- | 20 // SUB_MODE_MOTORDETECT - MOTORDETECT
2781
- | 21 // SUB_MODE_SURFTRAK - SURFTRAK
2782
- | number;
2783
-
2784
- // A mapping of rover flight modes for custom_mode field of heartbeat.
2785
- export type ROVER_MODE =
2786
- | 0 // ROVER_MODE_MANUAL - MANUAL
2787
- | 1 // ROVER_MODE_ACRO - ACRO
2788
- | 3 // ROVER_MODE_STEERING - STEERING
2789
- | 4 // ROVER_MODE_HOLD - HOLD
2790
- | 5 // ROVER_MODE_LOITER - LOITER
2791
- | 6 // ROVER_MODE_FOLLOW - FOLLOW
2792
- | 7 // ROVER_MODE_SIMPLE - SIMPLE
2793
- | 8 // ROVER_MODE_DOCK - DOCK
2794
- | 9 // ROVER_MODE_CIRCLE - CIRCLE
2795
- | 10 // ROVER_MODE_AUTO - AUTO
2796
- | 11 // ROVER_MODE_RTL - RTL
2797
- | 12 // ROVER_MODE_SMART_RTL - SMART RTL
2798
- | 15 // ROVER_MODE_GUIDED - GUIDED
2799
- | 16 // ROVER_MODE_INITIALIZING - INITIALISING
2800
- | number;
2801
-
2802
- // A mapping of antenna tracker flight modes for custom_mode field of heartbeat.
2803
- export type TRACKER_MODE =
2804
- | 0 // TRACKER_MODE_MANUAL - MANUAL
2805
- | 1 // TRACKER_MODE_STOP - STOP
2806
- | 2 // TRACKER_MODE_SCAN - SCAN
2807
- | 3 // TRACKER_MODE_SERVO_TEST - SERVO TEST
2808
- | 4 // TRACKER_MODE_GUIDED - GUIDED
2809
- | 10 // TRACKER_MODE_AUTO - AUTO
2810
- | 16 // TRACKER_MODE_INITIALIZING - INITIALISING
2811
- | number;
2812
-
2813
- // The type of parameter for the OSD parameter editor.
2814
- export type OSD_PARAM_CONFIG_TYPE =
2815
- | 0
2816
- | 1
2817
- | 2
2818
- | 3
2819
- | 4
2820
- | 5
2821
- | 6
2822
- | 7
2823
- | 8
2824
- | number;
2825
-
2826
- // The error type for the OSD parameter editor.
2827
- export type OSD_PARAM_CONFIG_ERROR =
2828
- | 0
2829
- | 1
2830
- | 2
2831
- | 3
2832
- | number;
2833
-