ardupilotmega.xml 92 KB

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