VKFly.xml 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715
  1. <?xml version="1.0"?>
  2. <mavlink>
  3. <!-- VK-fly contact info: -->
  4. <!-- company URL: http://101.42.9.203/#/home -->
  5. <!-- email contact: liuyangzys@outlook.com -->
  6. <!-- mavlink ID range: 53000 - 54000 -->
  7. <!-- command ID range: 44000 - 44999 -->
  8. <include>common.xml</include>
  9. <dialect>0</dialect>
  10. <enums>
  11. <enum name="VKFLY_AP_TYPE">
  12. <description>Drone airframe</description>
  13. <entry value="41" name="VKFLY_AP_TYPE_I4">
  14. <description>Quadrotor I4</description>
  15. </entry>
  16. <entry value="42" name="VKFLY_AP_TYPE_X4">
  17. <description>Quadrotor X4</description>
  18. </entry>
  19. <entry value="61" name="VKFLY_AP_TYPE_I6">
  20. <description>Hexarotor I6</description>
  21. </entry>
  22. <entry value="62" name="VKFLY_AP_TYPE_X6">
  23. <description>Hexarotor X6</description>
  24. </entry>
  25. <entry value="63" name="VKFLY_AP_TYPE_YI6D">
  26. <description>Three axis hexarotor YI6D</description>
  27. </entry>
  28. <entry value="64" name="VKFLY_AP_TYPE_Y6D">
  29. <description>Three axis hexarotor Y6D</description>
  30. </entry>
  31. <entry value="65" name="VKFLY_AP_TYPE_H6">
  32. <description>Hexarotor H6</description>
  33. </entry>
  34. <entry value="81" name="VKFLY_AP_TYPE_I8">
  35. <description>Octorotor I8</description>
  36. </entry>
  37. <entry value="82" name="VKFLY_AP_TYPE_X8">
  38. <description>Octorotor X8</description>
  39. </entry>
  40. <entry value="83" name="VKFLY_AP_TYPE_4X8M">
  41. <description>Four axis octorotor, upper level X4, lower level reversed X4.</description>
  42. </entry>
  43. <entry value="84" name="VKFLY_AP_TYPE_4X8D">
  44. <description>Four axis octorotor, upper level clockwise, lower level anticlockwise</description>
  45. </entry>
  46. <entry value="85" name="VKFLY_AP_TYPE_4X8MR">
  47. <description>Four axis octorotor, all rotors are opposite of 4X8M.</description>
  48. </entry>
  49. <entry value="86" name="VKFLY_AP_TYPE_4X8DR">
  50. <description>Four axis octorotor, all rotors are opposite of 4X8M.</description>
  51. </entry>
  52. <entry value="121" name="VKFLY_AP_TYPE_6I12">
  53. <description>Six axis twelve rotor, upper level I6, lower lever opposite with I6.</description>
  54. </entry>
  55. <entry value="122" name="VKFLY_AP_TYPE_6X12">
  56. <description>Six axis twelve rotor, upper level X6, lower lever opposite with X6.</description>
  57. </entry>
  58. <entry value="161" name="VKFLY_AP_TYPE_8I16">
  59. <description>16 axis 8 rotor, upper level I8, lower lever opposite with I8</description>
  60. </entry>
  61. <entry value="162" name="VKFLY_AP_TYPE_8X16">
  62. <description>16 axis 8 rotor, upper level X8, lower lever opposite with X8</description>
  63. </entry>
  64. </enum>
  65. <enum name="VKFLY_FS_ACTION">
  66. <description>Failsafe action</description>
  67. <entry value="0" name="FAIL_SAFE_ACT_NONE">
  68. <description>Do nothing</description>
  69. </entry>
  70. <entry value="1" name="FAIL_SAFE_ACT_LOITER">
  71. <description>Hold position for rotor wing. Loiter for fixedwing.</description>
  72. </entry>
  73. <entry value="2" name="FAIL_SAFE_ACT_RTL">
  74. <description>Return to lauch.</description>
  75. </entry>
  76. <entry value="3" name="FAIL_SAFE_ACT_RTR">
  77. <description>Go to the nearest rally point.</description>
  78. </entry>
  79. <entry value="4" name="FAIL_SAFE_ACT_LAND">
  80. <description>Landing in place.</description>
  81. </entry>
  82. <entry value="5" name="FAIL_SAFE_ACT_LOCK">
  83. <description>Terminate servo output and disarm the drone.</description>
  84. </entry>
  85. </enum>
  86. <enum name="VKFLY_ROI_STATE" bitmask="true">
  87. <description>Bitmap for ROI state</description>
  88. <entry value="1" name="VKFLY_ROI_GIMBAL">
  89. <description>Do nothing</description>
  90. </entry>
  91. <entry value="2" name="VKFLY_ROI_DRONE_HEAD">
  92. <description>Do nothing</description>
  93. </entry>
  94. </enum>
  95. <enum name="VKFLY_MAGCALIB_STAGE">
  96. <description>VKins magcalib stage</description>
  97. <entry value="0" name="VK_MAGCALIB_NONE">
  98. <description>Not in calibration.</description>
  99. </entry>
  100. <entry value="1" name="VK_MAGCALIB_XY">
  101. <description>Calibrating X-Y level.</description>
  102. </entry>
  103. <entry value="2" name="VK_MAGCALIB_XZ">
  104. <description>Calibrating X-Z level.</description>
  105. </entry>
  106. <entry value="3" name="VK_MAGCALIB_DONE">
  107. <description>Calibrating successfully done.</description>
  108. </entry>
  109. <entry value="4" name="VK_MAGCALIB_FAIL">
  110. <description>Calibrating failed.</description>
  111. </entry>
  112. </enum>
  113. <enum name="VKFLY_SYS_STATUS_SENSOR_EXTEND" bitmask="true">
  114. <description>For SYS_STATUS sensor extend flag use.</description>
  115. <entry value="4" name="VKFLY_SYS_STATUS_SENSOR_GPS2">
  116. <description>GPS2</description>
  117. </entry>
  118. <entry value="8" name="VKFLY_SYS_STATUS_SENSOR_RTK_GPS">
  119. <description>RTK GPS</description>
  120. </entry>
  121. <entry value="16" name="VKFLY_SYS_STATUS_SDCARD">
  122. <description>Onboard SD card</description>
  123. </entry>
  124. </enum>
  125. <enum name="VKFLY_SYS_ERROR1" bitmask="true">
  126. <description>bitmap for SYS_STATUS error1 </description>
  127. <entry value="1" name="VKFLY_SYS_ERROR1_GCS_LINK_LOST">
  128. <description>Gcs link lost.</description>
  129. </entry>
  130. <entry value="2" name="VKFLY_SYS_ERROR1_VOLTAGE_LOW">
  131. <description>Battery voltage low.</description>
  132. </entry>
  133. <entry value="4" name="VKFLY_SYS_ERROR1_MOTOR_BALANCE">
  134. <description>Servo output balance bad.</description>
  135. </entry>
  136. <entry value="8" name="VKFLY_SYS_ERROR1_MOTOR_FAIL">
  137. <description>Servo ouput fault.</description>
  138. </entry>
  139. <entry value="16" name="VKFLY_SYS_ERROR1_OVERHEAT">
  140. <description>Autopilot system temperature too high.</description>
  141. </entry>
  142. <entry value="32" name="VKFLY_SYS_ERROR1_INS_INVALID">
  143. <description>Autopilot system solved positioning not ready.</description>
  144. </entry>
  145. <entry value="64" name="VKFLY_SYS_ERROR1_OUT_FENCE">
  146. <description>Position out of fence range.</description>
  147. </entry>
  148. <entry value="128" name="VKFLY_SYS_ERROR1_OBV_LINK_LOST">
  149. <description>Obv mavlink com link lost.</description>
  150. </entry>
  151. </enum>
  152. <enum name="VKFLY_SYS_ERROR2" bitmask="true">
  153. <description>bitmap for SYS_STATUS error1 </description>
  154. <entry value="1" name="VKFLY_SYS_ERROR2_PREARM_CHECK_IMU">
  155. <description></description>
  156. </entry>
  157. <entry value="2" name="VKFLY_SYS_ERROR2_PREARM_CHECK_TILT">
  158. <description></description>
  159. </entry>
  160. <entry value="4" name="VKFLY_SYS_ERROR2_PREARM_CHECK_VELOCITY">
  161. <description></description>
  162. </entry>
  163. <entry value="8" name="VKFLY_SYS_ERROR2_PREARM_RC_BAD">
  164. <description></description>
  165. </entry>
  166. </enum>
  167. <enum name="VKFLY_SYS_ERROR3" bitmask="true">
  168. <description>bitmap for SYS_STATUS error3 </description>
  169. <entry value="1" name="VKFLY_SYS_ERROR3_MAG0_DISTURB">
  170. <description></description>
  171. </entry>
  172. <entry value="2" name="VKFLY_SYS_ERROR3_MAG1_DISTURB">
  173. <description></description>
  174. </entry>
  175. <entry value="4" name="VKFLY_SYS_ERROR3_IMU0_ERROR">
  176. <description></description>
  177. </entry>
  178. <entry value="8" name="VKFLY_SYS_ERROR3_IMU1_ERROR">
  179. <description></description>
  180. </entry>
  181. <entry value="16" name="VKFLY_SYS_ERROR3_BARO0_ERROR">
  182. <description></description>
  183. </entry>
  184. <entry value="32" name="VKFLY_SYS_ERROR3_GPS0_ERROR">
  185. <description></description>
  186. </entry>
  187. <entry value="64" name="VKFLY_SYS_ERROR3_GPS1_ERROR">
  188. <description></description>
  189. </entry>
  190. <entry value="128" name="VKFLY_SYS_ERROR3_RTK_ERROR">
  191. <description></description>
  192. </entry>
  193. </enum>
  194. <enum name="VKFLY_CUSTOM_MODE">
  195. <description>custom mode in HEARTBEAT</description>
  196. <entry value="3" name="VKFLY_CUSTOM_MODE_ATTITUDE">
  197. <description>Attitude mode</description>
  198. </entry>
  199. <entry value="4" name="VKFLY_CUSTOM_MODE_POSHOLD">
  200. <description>Poshold mode</description>
  201. </entry>
  202. <entry value="10" name="VKFLY_CUSTOM_MODE_TAKEOFF">
  203. <description>Auto takeoff.</description>
  204. </entry>
  205. <entry value="11" name="VKFLY_CUSTOM_MODE_LOITER">
  206. <description>Auto loiter.</description>
  207. </entry>
  208. <entry value="12" name="VKFLY_CUSTOM_MODE_RTL">
  209. <description>Auto return.</description>
  210. </entry>
  211. <entry value="13" name="VKFLY_CUSTOM_MODE_FLY_TO_WP">
  212. <description>Auto fly to wp.</description>
  213. </entry>
  214. <entry value="15" name="VKFLY_CUSTOM_MODE_CRUISE">
  215. <description>Auto cruise.</description>
  216. </entry>
  217. <entry value="18" name="VKFLY_CUSTOM_MODE_GUIDE">
  218. <description>Guide to point.</description>
  219. </entry>
  220. <entry value="19" name="VKFLY_CUSTOM_MODE_LAND">
  221. <description>Land.</description>
  222. </entry>
  223. <entry value="20" name="VKFLY_CUSTOM_MODE_FSLAND">
  224. <description>Force land.</description>
  225. </entry>
  226. <entry value="21" name="VKFLY_CUSTOM_MODE_FOLLOW">
  227. <description>Follow.</description>
  228. </entry>
  229. <entry value="23" name="VKFLY_CUSTOM_MODE_WP_ORBIT">
  230. <description>WP_Orbit</description>
  231. </entry>
  232. <entry value="24" name="VKFLY_CUSTOM_MODE_DYN_TAKEOFF">
  233. <description>Dyn_Takeoff </description>
  234. </entry>
  235. <entry value="25" name="VKFLY_CUSTOM_MODE_DYN_LAND">
  236. <description>Dyn_Land</description>
  237. </entry>
  238. <entry value="26" name="VKFLY_CUSTOM_MODE_OBAVOID">
  239. <description>Obavoid </description>
  240. </entry>
  241. <entry value="27" name="VKFLY_CUSTOM_MODE_OFFBOARD">
  242. <description>Offboard command control.</description>
  243. </entry>
  244. </enum>
  245. <enum name="VKFLY_VKINS_NAV_STATUS" bitmask="true">
  246. <description>bitmap for VKins navigtion status </description>
  247. <entry value="0x01" name="VKFLY_VKINS_NAV_INSGPS">
  248. <description>INS status. 0 means no INS. 1 means INS ok.</description>
  249. </entry>
  250. <entry value="0x02" name="VKFLY_VKINS_NAV_ALT_GPS">
  251. <description>GPS altitude in data fusion. 0 gps altitude not used. 1 gps altitude used.</description>
  252. </entry>
  253. <entry value="0x04" name="VKFLY_VKINS_NAV_HEADING_RTK">
  254. <description>RTK heading data. 0 use mag, 1 use rtk dual ant heading.</description>
  255. </entry>
  256. <entry value="0x10" name="VKFLY_VKINS_NAV_RTK">
  257. <description>RTK pos data. 0 no RTK, 1 RTK. </description>
  258. </entry>
  259. </enum>
  260. <enum name="VKFLY_YAW_CTRL_MODE">
  261. <description>Yaw control mode</description>
  262. <entry value="0" name="VKFLY_YAW_KEEP_CURRENT">
  263. <description>Yaw do not change. Keep current yaw.</description>
  264. </entry>
  265. <entry value="1" name="VKFLY_YAW_TO_NEXT_WP">
  266. <description>Yaw towards next waypoint or circle center.</description>
  267. </entry>
  268. <entry value="2" name="VKFLY_YAW_TO_TRACE_COURSE">
  269. <description>Yaw towards moving course heading.</description>
  270. </entry>
  271. <entry value="3" name="VKFLY_YAW_TO_SET_VALUE">
  272. <description>Yaw towards spacific value.</description>
  273. </entry>
  274. <entry value="4" name="VKFLY_YAW_TO_HOME">
  275. <description>Yaw towards home point.</description>
  276. </entry>
  277. <entry value="5" name="VKFLY_YAW_TO_INTEREST">
  278. <description>Yaw towards interest point.</description>
  279. </entry>
  280. <entry value="6" name="VKFLY_YAW_TO_OTHER_MAV_SYS">
  281. <description>Yaw towards interest point.</description>
  282. </entry>
  283. </enum>
  284. <enum name="VKFLY_PHOTO_CTRL_MODE">
  285. <description>Digicam auto take photo mode.</description>
  286. <entry value="0" name="VKFLY_AUTO_PHO_KEEP_CURRENT">
  287. <description>Do not take photo automatically.</description>
  288. </entry>
  289. <entry value="1" name="VKFLY_AUTO_PHO_STOP">
  290. <description>Do not take photo automatically.</description>
  291. </entry>
  292. <entry value="2" name="VKFLY_AUTO_PHO_AUTO_BY_TIME">
  293. <description>Automatically take photo by tiem.</description>
  294. </entry>
  295. <entry value="3" name="VKFLY_AUTO_PHO_BY_DIST_XY">
  296. <description>Automatically take photo by distance.</description>
  297. </entry>
  298. <entry value="4" name="VKFLY_AUTO_PHO_BY_DIST_Z">
  299. <description>Automatically take photo by input trigger signal or command.</description>
  300. </entry>
  301. <entry value="5" name="VKFLY_AUTO_PHO_BY_DIST_XYZ">
  302. <description>Automatically take photo by input trigger signal or command.</description>
  303. </entry>
  304. </enum>
  305. <enum name="VKFLY_RTL_REASON">
  306. <description>Digicam auto take photo mode.</description>
  307. <entry value="0" name="VKFLY_RTL_REASON_NONE">
  308. <description>Rtl mode not triggered.</description>
  309. </entry>
  310. <entry value="1" name="VKFLY_RTL_REASON_GCSCMD">
  311. <description>Trigger rtl mode by gcs command.</description>
  312. </entry>
  313. <entry value="2" name="VKFLY_RTL_REASON_RCCMD">
  314. <description>Trigger rtl mode by remote controller command.</description>
  315. </entry>
  316. <entry value="3" name="VKFLY_RTL_REASON_GCSLOST">
  317. <description>Trigger rtl mode by gcs link lost.</description>
  318. </entry>
  319. <entry value="4" name="VKFLY_RTL_REASON_RCFAIL">
  320. <description>Trigger rtl mode by remote controller signal fail.</description>
  321. </entry>
  322. <entry value="5" name="VKFLY_RTL_REASON_RCLOST">
  323. <description>Trigger rtl mode by remote controller signal lost.</description>
  324. </entry>
  325. <entry value="6" name="VKFLY_RTL_REASON_LOWVOLT">
  326. <description>Trigger rtl mode by battery volt low.</description>
  327. </entry>
  328. <entry value="7" name="VKFLY_RTL_REASON_OFFBOARD">
  329. <description>Trigger rtl mode by offboard command.</description>
  330. </entry>
  331. <entry value="8" name="VKFLY_RTL_REASON_ALTLIM">
  332. <description>Trigger rtl mode by altitude limit.</description>
  333. </entry>
  334. <entry value="9" name="VKFLY_RTL_REASON_OUT_FENCE">
  335. <description>Trigger rtl mode by out range of fence.</description>
  336. </entry>
  337. <entry value="10" name="VKFLY_RTL_REASON_BMS_LOWCAP">
  338. <description>Trigger rtl mode by battery manager system low capacity.</description>
  339. </entry>
  340. <entry value="11" name="VKFLY_RTL_REASON_BMS_LINKLOST">
  341. <description>Trigger rtl mode by battery manager link lost.</description>
  342. </entry>
  343. <entry value="12" name="VKFLY_RTL_REASON_SERVO_FAULT">
  344. <description>Trigger rtl mode by servo fault.</description>
  345. </entry>
  346. <entry value="13" name="VKFLY_RTL_REASON_WP_FINISH">
  347. <description>Trigger rtl mode by servo fault.</description>
  348. </entry>
  349. </enum>
  350. <enum name="VKFLY_LOITER_REASON">
  351. <entry value="1" name="VLFLY_LOITER_REASON_DEFAULT"></entry>
  352. <entry value="2" name="VLFLY_LOITER_REASON_GCS_CMD"></entry>
  353. <entry value="3" name="VLFLY_LOITER_REASON_MISSION_DONE"></entry>
  354. <entry value="5" name="VLFLY_LOITER_REASON_GPS_REABLE"></entry>
  355. <entry value="6" name="VLFLY_LOITER_REASON_RC_CMD"></entry>
  356. <entry value="7" name="VLFLY_LOITER_REASON_FOLLOW_FAIL"></entry>
  357. <entry value="9" name="VLFLY_LOITER_REASON_TAKEOFF_DONE"></entry>
  358. <entry value="10" name="VLFLY_LOITER_REASON_BAT_VOLT_LOW"></entry>
  359. <entry value="11" name="VLFLY_LOITER_REASON_RC_FAIL"></entry>
  360. <entry value="12" name="VLFLY_LOITER_REASON_RC_LOST"></entry>
  361. <entry value="13" name="VLFLY_LOITER_REASON_RC_BAD"></entry>
  362. <entry value="14" name="VLFLY_LOITER_REASON_BAT_CAP_LOW"></entry>
  363. <entry value="15" name="VLFLY_LOITER_REASON_OFFBOARD"></entry>
  364. <entry value="21" name="VLFLY_LOITER_REASON_WPDATA_ERR"></entry>
  365. </enum>
  366. <enum name="VKFLY_DIGICAM_WP_ACT">
  367. <description>Digicam action trigger on waypoint arrive.</description>
  368. <entry value="0" name="VKFLY_DIGICAM_WP_ACT_NONE">
  369. <description>Do nothing.</description>
  370. </entry>
  371. <entry value="1" name="VKFLY_DIGICAM_WP_ACT_PHO">
  372. <description>Do take photo.</description>
  373. </entry>
  374. <entry value="2" name="VKFLY_DIGICAM_WP_ACT_VEDIO_ON">
  375. <description>Do vedio recording on.</description>
  376. </entry>
  377. <entry value="3" name="VKFLY_DIGICAM_WP_ACT_VEDIO_OFF">
  378. <description>Do vedio recording off.</description>
  379. </entry>
  380. </enum>
  381. <enum name="VKFLY_GIMBAL_WP_ACT">
  382. <description>Gimbal action trigger on waypoint arrive.</description>
  383. <entry value="0" name="VKFLY_GIMBAL_WP_ACT_NONE">
  384. <description>Do nothing.</description>
  385. </entry>
  386. <entry value="1" name="VKFLY_GIMBAL_WP_ACT_SET_ANG">
  387. <description>Do set gimbal pitch and yaw angle value.</description>
  388. </entry>
  389. <entry value="2" name="VKFLY_GIMBAL_WP_ACT_SET_PITCH_YAW_FOLLOW">
  390. <description>Do set gimbla pitch value, yaw follow drone head.</description>
  391. </entry>
  392. </enum>
  393. <enum name="VKFLY_THROW_CHAN_TYPE" bitmask="true">
  394. <description>bitmap of throwing channel</description>
  395. <entry value="1" name="VKFLY_THROW_CHAN_1">
  396. <description>throwing channel1</description>
  397. </entry>
  398. <entry value="2" name="VKFLY_THROW_CHAN_2">
  399. <description>throwing channel2</description>
  400. </entry>
  401. <entry value="4" name="VKFLY_THROW_CHAN_3">
  402. <description>throwing channel3</description>
  403. </entry>
  404. <entry value="8" name="VKFLY_THROW_CHAN_4">
  405. <description>throwing channel4</description>
  406. </entry>
  407. <entry value="16" name="VKFLY_THROW_CHAN_5">
  408. <description>throwing channel5</description>
  409. </entry>
  410. <entry value="32" name="VKFLY_THROW_CHAN_6">
  411. <description>throwing channel6</description>
  412. </entry>
  413. <entry value="64" name="VKFLY_THROW_CHAN_7">
  414. <description>throwing channel7</description>
  415. </entry>
  416. <entry value="128" name="VKFLY_THROW_CHAN_8">
  417. <description>throwing channel8</description>
  418. </entry>
  419. <entry value="256" name="VKFLY_THROW_CHAN_9">
  420. <description>throwing channel9</description>
  421. </entry>
  422. <entry value="512" name="VKFLY_THROW_CHAN_10">
  423. <description>throwing channel10</description>
  424. </entry>
  425. <entry value="1024" name="VKFLY_THROW_CHAN_11">
  426. <description>throwing channel11</description>
  427. </entry>
  428. <entry value="2048" name="VKFLY_THROW_CHAN_12">
  429. <description>throwing channel12</description>
  430. </entry>
  431. <entry value="4096" name="VKFLY_THROW_CHAN_13">
  432. <description>throwing channel12</description>
  433. </entry>
  434. <entry value="8192" name="VKFLY_THROW_CHAN_14">
  435. <description>throwing channel12</description>
  436. </entry>
  437. <entry value="16384" name="VKFLY_THROW_CHAN_15">
  438. <description>throwing channel12</description>
  439. </entry>
  440. <entry value="32768" name="VKFLY_THROW_CHAN_16">
  441. <description>throwing channel12</description>
  442. </entry>
  443. <entry value="65535" name="VKFLY_THROW_CHAN_ALL">
  444. <description>throwing channel12</description>
  445. </entry>
  446. </enum>
  447. <enum name="VKFLY_MISSION_EXEC_MODE">
  448. <entry value="0" name="VKFLY_MISSION_EXEC_MODE_NORMAL"></entry>
  449. <entry value="1" name="VKFLY_MISSION_EXEC_MODE_NO_ACT"></entry>
  450. <entry value="2" name="VKFLY_MISSION_EXEC_MODE_REVERSE"></entry>
  451. <entry value="3" name="VKFLY_MISSION_EXEC_MODE_REVERSE_NO_ACT"></entry>
  452. <entry value="4" name="VKFLY_MISSION_EXEC_MODE_REVERSE_THAN_NORMAL"></entry>
  453. <entry value="5" name="VKFLY_MISSION_EXEC_MODE_REVERSE_THAN_NORMAL_NO_ACT"></entry>
  454. </enum>
  455. <enum name="VKFLY_MISSION_DONE_ACT">
  456. <entry value="0" name="VKFLY_MISSION_DONE_LOITER"></entry>
  457. <entry value="1" name="VKFLY_MISSION_DONE_RETURN_TO_LAUNCH"></entry>
  458. <entry value="2" name="VKFLY_MISSION_DONE_LAND"></entry>
  459. <entry value="3" name="VKFLY_MISSION_DONE_RETURN_TO_RALLY"></entry>
  460. </enum>
  461. <enum name="VKFLY_RTL_EXEC_MODE">
  462. <entry value="0" name="VKFLY_RTL_EXEC_MODE_NORMAL"></entry>
  463. <entry value="1" name="VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ"></entry>
  464. <entry value="2" name="VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ_REVERSE"></entry>
  465. </enum>
  466. <enum name="VKFLY_CMD">
  467. <description> VKFLY custom CMD </description>
  468. <entry value="44010" name="VKFLY_CMD_NAV_WP" hasLocation="true" isDestination="true">
  469. <description>VKFLY custom takephoto waypoint commond.</description>
  470. <param index="1" label="Hold Time And Speed"> </param>
  471. <param index="2" label="Photo Ctl"> </param>
  472. <param index="3" label="Gimbal Ctl"> </param>
  473. <param index="4" label="Yaw Mode">Yaw control mode</param>
  474. <param index="5" label="Latitude">Latitude</param>
  475. <param index="6" label="Longitude">Longitude</param>
  476. <param index="7" label="Altitude" units="m">Altitude</param>
  477. </entry>
  478. <entry value="44011" name="VKFLY_CMD_NAV_WP_THROW" hasLocation="true" isDestination="true">
  479. <description>VKFLY custom throwing waypoint command. </description>
  480. <param index="1" label="Hold Time And Speed"> </param>
  481. <param index="2" label="Throw ParamA"></param>
  482. <param index="3" label="Throw ParamB">Reserved.</param>
  483. <param index="4" label="Yaw Mode">Yaw control mode.</param>
  484. <param index="5" label="Latitude">Latitude</param>
  485. <param index="6" label="Longitude">Longitude</param>
  486. <param index="7" label="Altitude" units="m">Altitude</param>
  487. </entry>
  488. <entry value="44012" name="VKFLY_CMD_NAV_WP_ORBIT_DO_PHOTO" hasLocation="true"
  489. isDestination="true">
  490. <description>VLFLY Custom orbit waypoint </description>
  491. <param index="1" label="Radius And Speed"> </param>
  492. <param index="2" label="Photo Ctl"> </param>
  493. <param index="3" label="Times And Orbit Speed"> </param>
  494. <param index="4" label="Yaw Mode"> </param>
  495. <param index="5" label="Latitude">Latitude</param>
  496. <param index="6" label="Longitude">Longitude</param>
  497. <param index="7" label="Altitude" units="m">Altitude</param>
  498. </entry>
  499. <entry value="44030" name="VKFLY_CMD_MOUNT_CTRL" hasLocation="true"
  500. isDestination="true">
  501. <description>VLFLY Custom orbit waypoint </description>
  502. <param index="1" label=""> </param>
  503. <param index="2" label="CTRL "> </param>
  504. <param index="3" label="Times And Orbit Speed"> </param>
  505. <param index="4" label="Yaw Mode"> </param>
  506. <param index="5" label="Latitude">Latitude</param>
  507. <param index="6" label="Longitude">Longitude</param>
  508. <param index="7" label="Altitude" units="m">Altitude</param>
  509. </entry>
  510. <entry value="44050" name="VKFLY_CMD_ESC_CONFIG" hasLocation="false"
  511. isDestination="false">
  512. <description>can esc id configuration</description>
  513. <param index="1" label="Set ID"> Set Esc id, min=1, max=16 </param>
  514. <param index="2" label=""> </param>
  515. <param index="3" label=""> </param>
  516. <param index="4" label=""> </param>
  517. <param index="5" label=""> </param>
  518. <param index="6" label=""> </param>
  519. <param index="7" label=""> </param>
  520. </entry>
  521. <entry value="44060" name="VKFLY_CMD_DO_REPOSITION_THAN_THROW" hasLocation="true"
  522. isDestination="true">
  523. <description>Do reposition and throwing</description>
  524. <param index="1" label="Throw servo id" minValue="0" maxValue="65535"> Throw servo id bitmap </param>
  525. <param index="2" label="Throw altitude"> </param>
  526. <param index="3" label="Speed"> </param>
  527. <param index="4" label="Yaw"> </param>
  528. <param index="5" label="Latitude"> </param>
  529. <param index="6" label="Longitude"> </param>
  530. <param index="7" label="Altitude" units="m"> </param>
  531. </entry>
  532. <entry value="44061" name="VKFLY_CMD_DO_REPOSITION_THAN_LAND" hasLocation="true"
  533. isDestination="true">
  534. <description>Do reposition and throwing</description>
  535. <param index="1" label="Groud Msl" units="m"> Ground msl altitude</param>
  536. <param index="2" label=""> </param>
  537. <param index="3" label="Speed"> </param>
  538. <param index="4" label="Yaw" units="deg" minValue="0" maxValue="359.99"> </param>
  539. <param index="5" label="Latitude"> </param>
  540. <param index="6" label="Longitude"> </param>
  541. <param index="7" label="Altitude" units="m"> </param>
  542. </entry>
  543. <entry value="44062" name="VKFLY_CMD_MISSION_START" hasLocation="false"
  544. isDestination="false">
  545. <description>Start mission</description>
  546. <param index="1" label="Start Seq" minValue="0" maxValue="65535">start sequence of mission</param>
  547. <param index="2" label="Mission Exec Mode" enum="VKFLY_MISSION_EXEC_MODE"> </param>
  548. <param index="3" label="Mission Done Action"> </param>
  549. <param index="4" label=""> </param>
  550. <param index="5" label=""> </param>
  551. <param index="6" label=""> </param>
  552. <param index="7" label=""> </param>
  553. </entry>
  554. <entry value="44063" name="VKFLY_CMD_RETURN_TO_LAUCH" hasLocation="false"
  555. isDestination="false">
  556. <description>Return to launch position than land</description>
  557. <param index="1" label="Start Seq" minValue="0" maxValue="65535">start sequence of mission</param>
  558. <param index="2" label="Rtl Exec Mode" enum="VKFLY_RTL_EXEC_MODE"> </param>
  559. <param index="3" label=""> </param>
  560. <param index="4" label=""> </param>
  561. <param index="5" label=""> </param>
  562. <param index="6" label=""> </param>
  563. <param index="7" label=""> </param>
  564. </entry>
  565. </enum>
  566. </enums>
  567. <messages>
  568. <message id="53000" name="VKINS_STATUS">
  569. <description> </description>
  570. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  571. <field type="uint8_t" name="nav_status" enum="VKFLY_VKINS_NAV_STATUS" display="bitmask"
  572. print_format="0x%02x">VKINS
  573. navigation status flag.</field>
  574. <field type="uint8_t" name="s_flag1">vinks flag1</field>
  575. <field type="uint8_t" name="s_flag2">vinks flag2.</field>
  576. <field type="uint8_t" name="s_flag3">vinks flag3.</field>
  577. <field type="uint8_t" name="s_flag4">vinks flag4.</field>
  578. <field type="uint8_t" name="s_flag5">vinks flag5.</field>
  579. <field type="uint8_t" name="s_flag6">vinks flag6.</field>
  580. <field type="uint8_t" name="mag_calib_stage" enum="VKFLY_MAGCALIB_STAGE">vkins mag calib
  581. stage.</field>
  582. <field type="float" name="g0" units="m/s/s">vkins initial calibrated gravitation acceleration.</field>
  583. <field type="int32_t" name="raw_latitude" units="degE7">raw longitude for data fusion</field>
  584. <field type="int32_t" name="raw_longitude" units="degE7">raw latitidue for data fusion</field>
  585. <field type="float" name="baro_alt" units="m">raw baromoter altitude for data fusion</field>
  586. <field type="float" name="raw_gps_alt" units="m">gps amsl altitude for data fusion</field>
  587. <field type="uint8_t" name="solv_psat_num">satelites number for position</field>
  588. <field type="uint8_t" name="solv_hsat_num">satelites number for heading</field>
  589. <field type="int16_t" name="temperature" units="degC">temperature</field>
  590. <field type="uint8_t" name="vibe_coe"></field>
  591. </message>
  592. <message id="53001" name="VKFMU_STATUS">
  593. <description> </description>
  594. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  595. <field type="uint8_t" name="rtl_reason" enum="VKFLY_RTL_REASON">return to launch reason.</field>
  596. <field type="uint8_t" name="loiter_reason" enum="VKFLY_LOITER_REASON">Loiter reason </field>
  597. <field type="uint8_t" name="s_flag3">fmu sflag3</field>
  598. <field type="uint16_t" name="ups_volt">ups voltage in 0.1V</field>
  599. <field type="uint16_t" name="adc_volt">adc voltage in 0.1V</field>
  600. <field type="uint32_t" name="flight_time" units="s">flight time in seconds</field>
  601. <field type="uint32_t" name="dist_to_tar" units="cm">distance to target position in cm</field>
  602. </message>
  603. <message id="53002" name="VK_ROI_TARGET">
  604. <description> </description>
  605. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  606. <field type="int32_t" name="lat" units="degE7">wgs48 latitude</field>
  607. <field type="int32_t" name="lon" units="degE7">wgs48 longitude</field>
  608. <field type="float" name="alt" units="m">altitude amsl, wgs48</field>
  609. <field type="uint16_t" name="state" enum="VKFLY_ROI_STATE">Bitmap to indicate ROI state </field>
  610. </message>
  611. <message id="53003" name="VK_BMS_STATUS">
  612. <description> battery bms status message </description>
  613. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  614. <field type="uint32_t" name="voltage" units="mV">BMS voltage in mV</field>
  615. <field type="int16_t" name="current" units="cA">BMS current in cA, negative value means in
  616. charging</field>
  617. <field type="int16_t" name="temperature" units="degC">BMS temperature in degC</field>
  618. <field type="int8_t" name="cap_percent" units="%">BMS remaining power in percentage</field>
  619. <field type="uint8_t" name="bat_id" minValue="0" maxValue="1" increment="1">BMS id, start from
  620. 0</field>
  621. <field type="uint32_t" name="err_code" display="bitmask" print_format="0x%04x">BMS error code,
  622. 0 means no error</field>
  623. <field type="uint16_t" name="cell_num" minValue="0" maxValue="100">BMS cell numbers</field>
  624. <field type="uint16_t[30]" name="cell_volt" units="mV">BMS cell voltage in mV</field>
  625. </message>
  626. <message id="53004" name="VK_BMS_INFO">
  627. <description> battery bms information message, this message can be required by
  628. MAV_CMD_REQUEST_MESSAGE with param1 ad bms id </description>
  629. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  630. <field type="uint8_t[20]" name="man_name">BMS manufactor string</field>
  631. <field type="uint8_t[20]" name="model_name">BMS equpment model name string</field>
  632. <field type="uint8_t[20]" name="sn_id">BMS SN id string</field>
  633. <field type="uint8_t[10]" name="hw_ver">BMS hardware version string</field>
  634. <field type="uint8_t[10]" name="fw_ver">BMS firmware version string</field>
  635. <field type="uint16_t" name="cyc_cnt" minValue="0" increment="1">BMS change and discharge
  636. cycle times</field>
  637. </message>
  638. <message id="53005" name="VK_DIGI_ESC_STATUS">
  639. <description> digital esc status with can or serial interface</description>
  640. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  641. <field type="uint16_t" name="rot_spd">BMS manufactor string</field>
  642. <field type="uint8_t[20]" name="model_name">BMS equpment model name string</field>
  643. <field type="uint8_t[20]" name="sn_id">BMS SN id string</field>
  644. <field type="uint8_t[10]" name="hw_ver">BMS hardware version string</field>
  645. <field type="uint8_t[10]" name="fw_ver">BMS firmware version string</field>
  646. </message>
  647. <message id="53100" name="VK_FW_UPDATE_BEGIN">
  648. <description>VKFLY autopilot update firmware begin. This message send from GCS to autopilot. </description>
  649. <field type="uint8_t" name="target_system">Target system id.</field>
  650. <field type="uint8_t" name="target_comp">Target compid id.</field>
  651. <field type="uint32_t" name="file_size" units="bytes">Size of the firmware file in bytes.</field>
  652. </message>
  653. <message id="53101" name="VK_FW_UPDATE_ACK">
  654. <description>VKFLY udpate acknowledge.</description>
  655. <field type="uint8_t" name="result" enum="MAV_RESULT">Update begin ack.</field>
  656. </message>
  657. <message id="53102" name="VK_FW_UPDATE_DATA_REQUEST">
  658. <description>VKFLY autopilot request update file data from GCS. </description>
  659. <field type="uint32_t" name="offset">Offset into the update file.</field>
  660. <field type="uint32_t" name="count">Number of bytes.</field>
  661. </message>
  662. <message id="53103" name="VK_FW_UPDATE_DATA">
  663. <description>VKFLY transfer update file data.</description>
  664. <field type="uint32_t" name="offset">Offset into the update file.</field>
  665. <field type="uint8_t" name="count" minValue="0" maxValue="128" increment="1">Number of bytes.
  666. Zero for end of file.</field>
  667. <field type="uint8_t[128]" name="data">File data.</field>
  668. </message>
  669. <message id="53104" name="VK_UPDATE_TERMINATE">
  670. <description>VKFLY transfer update terminate. Send this message to terminate a update file
  671. transfer.</description>
  672. <field type="uint8_t" name="target_system">Target system id.</field>
  673. <field type="uint8_t" name="target_comp">Target compid id.</field>
  674. </message>
  675. </messages>
  676. </mavlink>