@aircast-4g/mavlink 1.0.1

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 (171) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +632 -0
  3. package/dist/batch-processor.d.ts +17 -0
  4. package/dist/batch-processor.d.ts.map +1 -0
  5. package/dist/batch-processor.js +141 -0
  6. package/dist/batch-processor.js.map +1 -0
  7. package/dist/cli.d.ts +3 -0
  8. package/dist/cli.d.ts.map +1 -0
  9. package/dist/cli.js +174 -0
  10. package/dist/cli.js.map +1 -0
  11. package/dist/generator/batch-processor.d.ts +17 -0
  12. package/dist/generator/batch-processor.d.ts.map +1 -0
  13. package/dist/generator/batch-processor.js +141 -0
  14. package/dist/generator/batch-processor.js.map +1 -0
  15. package/dist/generator/generator.d.ts +15 -0
  16. package/dist/generator/generator.d.ts.map +1 -0
  17. package/dist/generator/generator.js +92 -0
  18. package/dist/generator/generator.js.map +1 -0
  19. package/dist/generator/template-engine.d.ts +13 -0
  20. package/dist/generator/template-engine.d.ts.map +1 -0
  21. package/dist/generator/template-engine.js +220 -0
  22. package/dist/generator/template-engine.js.map +1 -0
  23. package/dist/generator/type-converter.d.ts +15 -0
  24. package/dist/generator/type-converter.d.ts.map +1 -0
  25. package/dist/generator/type-converter.js +179 -0
  26. package/dist/generator/type-converter.js.map +1 -0
  27. package/dist/generator/xml-parser.d.ts +13 -0
  28. package/dist/generator/xml-parser.d.ts.map +1 -0
  29. package/dist/generator/xml-parser.js +170 -0
  30. package/dist/generator/xml-parser.js.map +1 -0
  31. package/dist/generator.d.ts +15 -0
  32. package/dist/generator.d.ts.map +1 -0
  33. package/dist/generator.js +92 -0
  34. package/dist/generator.js.map +1 -0
  35. package/dist/index.d.ts +8 -0
  36. package/dist/index.d.ts.map +1 -0
  37. package/dist/index.js +37 -0
  38. package/dist/index.js.map +1 -0
  39. package/dist/parser/crc.d.ts +7 -0
  40. package/dist/parser/crc.d.ts.map +1 -0
  41. package/dist/parser/crc.js +182 -0
  42. package/dist/parser/crc.js.map +1 -0
  43. package/dist/parser/frame-parser.d.ts +15 -0
  44. package/dist/parser/frame-parser.d.ts.map +1 -0
  45. package/dist/parser/frame-parser.js +82 -0
  46. package/dist/parser/frame-parser.js.map +1 -0
  47. package/dist/parser/index.d.ts +6 -0
  48. package/dist/parser/index.d.ts.map +1 -0
  49. package/dist/parser/index.js +28 -0
  50. package/dist/parser/index.js.map +1 -0
  51. package/dist/parser/mavlink-parser.d.ts +35 -0
  52. package/dist/parser/mavlink-parser.d.ts.map +1 -0
  53. package/dist/parser/mavlink-parser.js +204 -0
  54. package/dist/parser/mavlink-parser.js.map +1 -0
  55. package/dist/parser/message-decoder.d.ts +11 -0
  56. package/dist/parser/message-decoder.d.ts.map +1 -0
  57. package/dist/parser/message-decoder.js +247 -0
  58. package/dist/parser/message-decoder.js.map +1 -0
  59. package/dist/parser/types.d.ts +59 -0
  60. package/dist/parser/types.d.ts.map +1 -0
  61. package/dist/parser/types.js +13 -0
  62. package/dist/parser/types.js.map +1 -0
  63. package/dist/template-engine.d.ts +13 -0
  64. package/dist/template-engine.d.ts.map +1 -0
  65. package/dist/template-engine.js +220 -0
  66. package/dist/template-engine.js.map +1 -0
  67. package/dist/type-converter.d.ts +15 -0
  68. package/dist/type-converter.d.ts.map +1 -0
  69. package/dist/type-converter.js +179 -0
  70. package/dist/type-converter.js.map +1 -0
  71. package/dist/types.d.ts +110 -0
  72. package/dist/types.d.ts.map +1 -0
  73. package/dist/types.js +3 -0
  74. package/dist/types.js.map +1 -0
  75. package/dist/xml-parser.d.ts +13 -0
  76. package/dist/xml-parser.d.ts.map +1 -0
  77. package/dist/xml-parser.js +170 -0
  78. package/dist/xml-parser.js.map +1 -0
  79. package/package.json +105 -0
  80. package/types/ardupilotmega/enums.d.ts +2427 -0
  81. package/types/ardupilotmega/enums.d.ts.map +1 -0
  82. package/types/ardupilotmega/enums.js +4636 -0
  83. package/types/ardupilotmega/enums.js.map +1 -0
  84. package/types/ardupilotmega/enums.ts +4631 -0
  85. package/types/ardupilotmega/index.d.ts +4 -0
  86. package/types/ardupilotmega/index.d.ts.map +1 -0
  87. package/types/ardupilotmega/index.js +22 -0
  88. package/types/ardupilotmega/index.js.map +1 -0
  89. package/types/ardupilotmega/index.ts +6 -0
  90. package/types/ardupilotmega/messages.d.ts +3719 -0
  91. package/types/ardupilotmega/messages.d.ts.map +1 -0
  92. package/types/ardupilotmega/messages.js +1281 -0
  93. package/types/ardupilotmega/messages.js.map +1 -0
  94. package/types/ardupilotmega/messages.ts +8088 -0
  95. package/types/ardupilotmega/types.d.ts +221 -0
  96. package/types/ardupilotmega/types.d.ts.map +1 -0
  97. package/types/ardupilotmega/types.js +5 -0
  98. package/types/ardupilotmega/types.js.map +1 -0
  99. package/types/ardupilotmega/types.ts +2833 -0
  100. package/types/common/enums.d.ts +1843 -0
  101. package/types/common/enums.d.ts.map +1 -0
  102. package/types/common/enums.js +3636 -0
  103. package/types/common/enums.js.map +1 -0
  104. package/types/common/enums.ts +3632 -0
  105. package/types/common/index.d.ts +4 -0
  106. package/types/common/index.d.ts.map +1 -0
  107. package/types/common/index.js +21 -0
  108. package/types/common/index.js.map +1 -0
  109. package/types/common/index.ts +6 -0
  110. package/types/common/messages.d.ts +2805 -0
  111. package/types/common/messages.d.ts.map +1 -0
  112. package/types/common/messages.js +920 -0
  113. package/types/common/messages.js.map +1 -0
  114. package/types/common/messages.ts +6114 -0
  115. package/types/common/types.d.ts +157 -0
  116. package/types/common/types.d.ts.map +1 -0
  117. package/types/common/types.js +4 -0
  118. package/types/common/types.js.map +1 -0
  119. package/types/common/types.ts +2159 -0
  120. package/types/minimal/enums.d.ts +244 -0
  121. package/types/minimal/enums.d.ts.map +1 -0
  122. package/types/minimal/enums.js +496 -0
  123. package/types/minimal/enums.js.map +1 -0
  124. package/types/minimal/enums.ts +494 -0
  125. package/types/minimal/index.d.ts +4 -0
  126. package/types/minimal/index.d.ts.map +1 -0
  127. package/types/minimal/index.js +21 -0
  128. package/types/minimal/index.js.map +1 -0
  129. package/types/minimal/index.ts +6 -0
  130. package/types/minimal/messages.d.ts +25 -0
  131. package/types/minimal/messages.d.ts.map +1 -0
  132. package/types/minimal/messages.js +12 -0
  133. package/types/minimal/messages.js.map +1 -0
  134. package/types/minimal/messages.ts +62 -0
  135. package/types/minimal/types.d.ts +14 -0
  136. package/types/minimal/types.d.ts.map +1 -0
  137. package/types/minimal/types.js +4 -0
  138. package/types/minimal/types.js.map +1 -0
  139. package/types/minimal/types.ts +272 -0
  140. package/types/paparazzi/enums.ts +3632 -0
  141. package/types/paparazzi/index.ts +6 -0
  142. package/types/paparazzi/messages.ts +6185 -0
  143. package/types/paparazzi/types.ts +2159 -0
  144. package/types/python_array_test/enums.ts +3632 -0
  145. package/types/python_array_test/index.ts +6 -0
  146. package/types/python_array_test/messages.ts +6258 -0
  147. package/types/python_array_test/types.ts +2159 -0
  148. package/types/standard/enums.d.ts +248 -0
  149. package/types/standard/enums.d.ts.map +1 -0
  150. package/types/standard/enums.js +505 -0
  151. package/types/standard/enums.js.map +1 -0
  152. package/types/standard/enums.ts +502 -0
  153. package/types/standard/index.d.ts +4 -0
  154. package/types/standard/index.d.ts.map +1 -0
  155. package/types/standard/index.js +22 -0
  156. package/types/standard/index.js.map +1 -0
  157. package/types/standard/index.ts +6 -0
  158. package/types/standard/messages.d.ts +25 -0
  159. package/types/standard/messages.d.ts.map +1 -0
  160. package/types/standard/messages.js +13 -0
  161. package/types/standard/messages.js.map +1 -0
  162. package/types/standard/messages.ts +63 -0
  163. package/types/standard/types.d.ts +15 -0
  164. package/types/standard/types.d.ts.map +1 -0
  165. package/types/standard/types.js +5 -0
  166. package/types/standard/types.js.map +1 -0
  167. package/types/standard/types.ts +278 -0
  168. package/types/test/enums.ts +2 -0
  169. package/types/test/index.ts +6 -0
  170. package/types/test/messages.ts +69 -0
  171. package/types/test/types.ts +11 -0
@@ -0,0 +1,14 @@
1
+ export interface MAVLinkMessage<Content = unknown> {
2
+ timestamp: number;
3
+ system_id: number;
4
+ component_id: number;
5
+ type: string;
6
+ content: Content;
7
+ }
8
+ export type MAV_AUTOPILOT = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | number;
9
+ export type MAV_TYPE = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | number;
10
+ export type MAV_MODE_FLAG = 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | number;
11
+ export type MAV_MODE_FLAG_DECODE_POSITION = 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 | number;
12
+ export type MAV_STATE = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | number;
13
+ export type MAV_COMPONENT = 0 | 1 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 169 | 171 | 172 | 173 | 174 | 175 | 180 | 181 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 200 | 201 | 202 | 220 | 221 | 236 | 237 | 238 | 240 | 241 | 242 | 243 | 250 | number;
14
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":"AAGA,MAAM,WAAW,cAAc,CAAC,OAAO,GAAG,OAAO;IAC/C,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,YAAY,EAAE,MAAM,CAAC;IACrB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,OAAO,CAAC;CAClB;AAGD,MAAM,MAAM,aAAa,GACrB,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,MAAM,CAAC;AAGX,MAAM,MAAM,QAAQ,GAChB,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,MAAM,CAAC;AAGX,MAAM,MAAM,aAAa,GACrB,GAAG,GACH,EAAE,GACF,EAAE,GACF,EAAE,GACF,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,MAAM,CAAC;AAGX,MAAM,MAAM,6BAA6B,GACrC,GAAG,GACH,EAAE,GACF,EAAE,GACF,EAAE,GACF,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,MAAM,CAAC;AAEX,MAAM,MAAM,SAAS,GACjB,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,CAAC,GACD,MAAM,CAAC;AAUX,MAAM,MAAM,aAAa,GACrB,CAAC,GACD,CAAC,GACD,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,EAAE,GACF,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+ // Auto-generated TypeScript types for minimal dialect
3
+ // Generated from MAVLink XML definitions
4
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["types.ts"],"names":[],"mappings":";AAAA,sDAAsD;AACtD,yCAAyC"}
@@ -0,0 +1,272 @@
1
+ // Auto-generated TypeScript types for minimal 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
+ content: 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
+