VKFly.xml 33 KB

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