VKFly.xml 58 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155
  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="43" name="VKFLY_AP_TYPE_X4R">
  20. <description>Quadrotor X4 reverse</description>
  21. </entry>
  22. <entry value="61" name="VKFLY_AP_TYPE_I6">
  23. <description>Hexarotor I6</description>
  24. </entry>
  25. <entry value="62" name="VKFLY_AP_TYPE_X6">
  26. <description>Hexarotor X6</description>
  27. </entry>
  28. <entry value="63" name="VKFLY_AP_TYPE_YI6D">
  29. <description>Three axis hexarotor YI6D</description>
  30. </entry>
  31. <entry value="64" name="VKFLY_AP_TYPE_Y6D">
  32. <description>Three axis hexarotor Y6D</description>
  33. </entry>
  34. <entry value="65" name="VKFLY_AP_TYPE_H6">
  35. <description>Hexarotor H6</description>
  36. </entry>
  37. <entry value="81" name="VKFLY_AP_TYPE_I8">
  38. <description>Octorotor I8</description>
  39. </entry>
  40. <entry value="82" name="VKFLY_AP_TYPE_X8">
  41. <description>Octorotor X8</description>
  42. </entry>
  43. <entry value="83" name="VKFLY_AP_TYPE_4X8M">
  44. <description>Four axis octorotor, upper level X4, lower level reversed X4.</description>
  45. </entry>
  46. <entry value="84" name="VKFLY_AP_TYPE_4X8D">
  47. <description>Four axis octorotor, upper level clockwise, lower level anticlockwise</description>
  48. </entry>
  49. <entry value="85" name="VKFLY_AP_TYPE_4X8MR">
  50. <description>Four axis octorotor, all rotors are opposite of 4X8M.</description>
  51. </entry>
  52. <entry value="86" name="VKFLY_AP_TYPE_4X8DR">
  53. <description>Four axis octorotor, all rotors are opposite of 4X8M.</description>
  54. </entry>
  55. <entry value="121" name="VKFLY_AP_TYPE_6I12">
  56. <description>Six axis twelve rotor, upper level I6, lower lever opposite with I6.</description>
  57. </entry>
  58. <entry value="122" name="VKFLY_AP_TYPE_6X12">
  59. <description>Six axis twelve rotor, upper level X6, lower lever opposite with X6.</description>
  60. </entry>
  61. <entry value="123" name="VKFLY_AP_TYPE_6H12">
  62. <description>Six axis twelve rotor, upper level H6, lower lever opposite with H6.</description>
  63. </entry>
  64. <entry value="161" name="VKFLY_AP_TYPE_8I16">
  65. <description>8 axis 16 rotor, upper level I8, lower lever opposite with I8</description>
  66. </entry>
  67. <entry value="162" name="VKFLY_AP_TYPE_8X16">
  68. <description>8 axis 16 rotor, upper level X8, lower lever opposite with X8</description>
  69. </entry>
  70. </enum>
  71. <enum name="VKFLY_FIXEDWING_AP_TYPE">
  72. <description>Fixedwing airframe</description>
  73. <entry value="0" name="VKFLY_FIXEDWING_AP_TYPE_T_TAIL"></entry>
  74. <entry value="1" name="VKFLY_FIXEDWING_AP_TYPE_V_TAIL"></entry>
  75. <entry value="2" name="VKFLY_FIXEDWING_AP_TYPE_TRIANGLE"></entry>
  76. <entry value="3" name="VKFLY_FIXEDWING_AP_TYPE_TANDEM"></entry>
  77. <entry value="4" name="VKFLY_FIXEDWING_AP_TYPE_V_TAIL_REV"></entry>
  78. <entry value="5" name="VKFLY_FIXEDWING_AP_TYPE_CUSTOM1"></entry>
  79. <entry value="6" name="VKFLY_FIXEDWING_AP_TYPE_CUSTOM2"></entry>
  80. <entry value="7" name="VKFLY_FIXEDWING_AP_TYPE_CUSTOM3"></entry>
  81. </enum>
  82. <enum name="VKFLY_USER_COMP_ID">
  83. <description>user define compnent id, 0-all 1-autopilot</description>
  84. <entry value="3" name="VKFLY_COMP_ID_VKGPSA"></entry>
  85. <entry value="4" name="VKFLY_COMP_ID_VKGPSB"></entry>
  86. <entry value="5" name="VKFLY_COMP_ID_RFD_F"></entry>
  87. <entry value="6" name="VKFLY_COMP_ID_RFD_R"></entry>
  88. <entry value="7" name="VKFLY_COMP_ID_RFD_D"></entry>
  89. <entry value="8" name="VKFLY_COMP_ID_RFD_360"></entry>
  90. <entry value="9" name="VKFLY_COMP_ID_RTK"></entry>
  91. <entry value="10" name="VKFLY_COMP_ID_BAT0"></entry>
  92. <entry value="11" name="VKFLY_COMP_ID_BAT1"></entry>
  93. <entry value="12" name="VKFLY_COMP_ID_BAT2"></entry>
  94. <entry value="13" name="VKFLY_COMP_ID_BAT3"></entry>
  95. <entry value="14" name="VKFLY_COMP_ID_BAT4"></entry>
  96. <entry value="15" name="VKFLY_COMP_ID_BAT5"></entry>
  97. <entry value="16" name="VKFLY_COMP_ID_ECU0"></entry>
  98. <entry value="17" name="VKFLY_COMP_ID_ECU1"></entry>
  99. <entry value="18" name="VKFLY_COMP_ID_ECU2"></entry>
  100. <entry value="19" name="VKFLY_COMP_ID_ECU3"></entry>
  101. <entry value="20" name="VKFLY_COMP_ID_WEIGHER"></entry>
  102. <entry value="21" name="VKFLY_COMP_ID_PARACHUTE"></entry>
  103. <entry value="22" name="VKFLY_COMP_ID_BAT6"></entry>
  104. <entry value="23" name="VKFLY_COMP_ID_BAT7"></entry>
  105. <entry value="24" name="VKFLY_COMP_ID_BAT8"></entry>
  106. <entry value="25" name="VKFLY_COMP_ID_BAT9"></entry>
  107. <entry value="30" name="VKFLY_COMP_ID_ASPD0"></entry>
  108. <entry value="31" name="VKFLY_COMP_ID_ASPD1"></entry>
  109. </enum>
  110. <enum name="VKFLY_FS_ACTION">
  111. <description>Failsafe action</description>
  112. <entry value="0" name="FAIL_SAFE_ACT_NONE">
  113. <description>Do nothing</description>
  114. </entry>
  115. <entry value="1" name="FAIL_SAFE_ACT_LOITER">
  116. <description>Hold position for rotor wing. Loiter for fixedwing.</description>
  117. </entry>
  118. <entry value="2" name="FAIL_SAFE_ACT_RTL">
  119. <description>Return to lauch.</description>
  120. </entry>
  121. <entry value="3" name="FAIL_SAFE_ACT_RTR">
  122. <description>Go to the nearest rally point.</description>
  123. </entry>
  124. <entry value="4" name="FAIL_SAFE_ACT_LAND">
  125. <description>Landing in place.</description>
  126. </entry>
  127. <entry value="5" name="FAIL_SAFE_ACT_LOCK">
  128. <description>Terminate servo output and disarm the drone.</description>
  129. </entry>
  130. </enum>
  131. <enum name="VKFLY_ROI_STATE" bitmask="true">
  132. <description>Bitmap for ROI state</description>
  133. <entry value="1" name="VKFLY_ROI_GIMBAL">
  134. <description>Do nothing</description>
  135. </entry>
  136. <entry value="2" name="VKFLY_ROI_DRONE_HEAD">
  137. <description>Do nothing</description>
  138. </entry>
  139. </enum>
  140. <enum name="VKFLY_ARM_DENIED_REASON">
  141. <description>Arm denied reason for VKFLY</description>
  142. <entry value="0" name="VKFLY_ARM_DENIED_REASON_NONE"></entry>
  143. <entry value="1" name="VKFLY_ARM_DENIED_NO_INS"> </entry>
  144. <entry value="2" name="VKFLY_ARM_DENIED_SPD_OVER_LIM"></entry>
  145. <entry value="3" name="VKFLY_ARM_DENIED_ACC_OVER_LIM"></entry>
  146. <entry value="4" name="VKFLY_ARM_DENIED_GYR_OVER_LIM"></entry>
  147. <entry value="5" name="VKFLY_ARM_DENIED_GPS_ERR"></entry>
  148. <entry value="6" name="VKFLY_ARM_DENIED_IMU_ERR"></entry>
  149. <entry value="7" name="VKFLY_ARM_DENIED_POS_NOT_FIXED"></entry>
  150. <entry value="8" name="VKFLY_ARM_DENIED_RTK_NOT_FIXED"></entry>
  151. <entry value="9" name="VKFLY_ARM_DENIED_MAG_ERR"></entry>
  152. <entry value="10" name="VKFLY_ARM_DENIED_RESERVE"></entry>
  153. <entry value="11" name="VKFLY_ARM_DENIED_TEMP_OVER_LIM"></entry>
  154. <entry value="13" name="VKFLY_ARM_DENIED_OUT_FENCE"></entry>
  155. <entry value="14" name="VKFLY_ARM_DENIED_LOW_BAT_VOLT"></entry>
  156. <entry value="15" name="VKFLY_ARM_DENIED_LOW_BAT_CAP"></entry>
  157. <entry value="16" name="VKFLY_ARM_DENIED_BAT_BMS_FAULT"></entry>
  158. <entry value="17" name="VKFLY_ARM_DENIED_SERVO_FAULT"></entry>
  159. <entry value="18" name="VKFLY_ARM_DENIED_LEAN_ANG"></entry>
  160. <entry value="19" name="VKFLY_ARM_DENIED_IN_CALIBRATION"></entry>
  161. <entry value="20" name="VKFLY_ARM_DENIED_HYDRO_BMS_CHECK_ERR"></entry>
  162. <entry value="21" name="VKFLY_ARM_DENIED_FUEL_LOW"></entry>
  163. <entry value="22" name="VKFLY_ARM_DENIED_H2P_LOW"></entry>
  164. <entry value="23" name="VKFLY_ARM_DENIED_EXT_NAV_ERR"></entry>
  165. </enum>
  166. <enum name="VKFLY_MAGCALIB_STAGE">
  167. <description>VKins magcalib stage</description>
  168. <entry value="0" name="VK_MAGCALIB_NONE">
  169. <description>Not in calibration.</description>
  170. </entry>
  171. <entry value="1" name="VK_MAGCALIB_XY">
  172. <description>Calibrating X-Y level.</description>
  173. </entry>
  174. <entry value="2" name="VK_MAGCALIB_XZ">
  175. <description>Calibrating X-Z level.</description>
  176. </entry>
  177. <entry value="3" name="VK_MAGCALIB_DONE">
  178. <description>Calibrating successfully done.</description>
  179. </entry>
  180. <entry value="4" name="VK_MAGCALIB_FAIL">
  181. <description>Calibrating failed.</description>
  182. </entry>
  183. </enum>
  184. <enum name="VKFLY_SYS_STATUS_SENSOR_EXTEND" bitmask="true">
  185. <description>For SYS_STATUS sensor extend flag use.</description>
  186. <entry value="4" name="VKFLY_SYS_STATUS_SENSOR_GPS2">
  187. <description>GPS2</description>
  188. </entry>
  189. <entry value="8" name="VKFLY_SYS_STATUS_SENSOR_RTK_GPS">
  190. <description>RTK GPS</description>
  191. </entry>
  192. <entry value="16" name="VKFLY_SYS_STATUS_SDCARD">
  193. <description>Onboard SD card</description>
  194. </entry>
  195. </enum>
  196. <enum name="VKFLY_SYS_ERROR1" bitmask="true">
  197. <description>bitmap for SYS_STATUS error1 </description>
  198. <entry value="1" name="VKFLY_SYS_ERROR1_GCS_LINK_LOST">
  199. <description>Gcs link lost.</description>
  200. </entry>
  201. <entry value="2" name="VKFLY_SYS_ERROR1_VOLTAGE_LOW">
  202. <description>Battery voltage low.</description>
  203. </entry>
  204. <entry value="4" name="VKFLY_SYS_ERROR1_MOTOR_BALANCE">
  205. <description>Servo output balance bad.</description>
  206. </entry>
  207. <entry value="8" name="VKFLY_SYS_ERROR1_MOTOR_FAIL">
  208. <description>Servo ouput fault.</description>
  209. </entry>
  210. <entry value="16" name="VKFLY_SYS_ERROR1_OVERHEAT">
  211. <description>Autopilot system temperature too high.</description>
  212. </entry>
  213. <entry value="32" name="VKFLY_SYS_ERROR1_INS_INVALID">
  214. <description>Autopilot system solved positioning not ready.</description>
  215. </entry>
  216. <entry value="64" name="VKFLY_SYS_ERROR1_OUT_FENCE">
  217. <description>Position out of fence range.</description>
  218. </entry>
  219. <entry value="128" name="VKFLY_SYS_ERROR1_OBV_LINK_LOST">
  220. <description>Obv mavlink com link lost.</description>
  221. </entry>
  222. <entry value="256" name="VKFLY_SYS_ERROR1_BATBMS_LINK_LOST">
  223. <description>Battery bms link lost.</description>
  224. </entry>
  225. <entry value="512" name="VKFLY_SYS_ERROR1_ECU_FUEL_LOW">
  226. <description>Battery bms link lost.</description>
  227. </entry>
  228. <entry value="1024" name="VKFLY_SYS_ERROR1_ECU_LINK_LOST">
  229. <description>Battery bms link lost.</description>
  230. </entry>
  231. <entry value="2048" name="VKFLY_SYS_ERROR1_H2P_LOW">
  232. <description>Battery bms link lost.</description>
  233. </entry>
  234. <entry value="4096" name="VKFLY_SYS_ERROR1_OVER_WEIGHT">
  235. <description>Battery bms link lost.</description>
  236. </entry>
  237. </enum>
  238. <enum name="VKFLY_SYS_ERROR3" bitmask="true">
  239. <description>bitmap for SYS_STATUS error3 </description>
  240. <entry value="1" name="VKFLY_SYS_ERROR3_MAG0_DISTURB">
  241. <description></description>
  242. </entry>
  243. <entry value="2" name="VKFLY_SYS_ERROR3_MAG1_DISTURB">
  244. <description></description>
  245. </entry>
  246. <entry value="4" name="VKFLY_SYS_ERROR3_IMU0_ERROR">
  247. <description></description>
  248. </entry>
  249. <entry value="8" name="VKFLY_SYS_ERROR3_IMU1_ERROR">
  250. <description></description>
  251. </entry>
  252. <entry value="16" name="VKFLY_SYS_ERROR3_BARO0_ERROR">
  253. <description></description>
  254. </entry>
  255. <entry value="32" name="VKFLY_SYS_ERROR3_GPS0_ERROR">
  256. <description></description>
  257. </entry>
  258. <entry value="64" name="VKFLY_SYS_ERROR3_GPS1_ERROR">
  259. <description></description>
  260. </entry>
  261. <entry value="128" name="VKFLY_SYS_ERROR3_RTK_ERROR">
  262. <description></description>
  263. </entry>
  264. <entry value="256" name="VKFLY_SYS_ERROR3_YAW_DIFF">
  265. <description></description>
  266. </entry>
  267. <entry value="512" name="VKFLY_SYS_ERROR3_ASPD_LINK_LOST">
  268. <description></description>
  269. </entry>
  270. </enum>
  271. <enum name="VKFLY_CUSTOM_MODE">
  272. <description>custom mode in HEARTBEAT</description>
  273. <entry value="1" name="VKFLY_CUSTOM_MODE_STANDBY">
  274. <description>Standby mode</description>
  275. </entry>
  276. <entry value="3" name="VKFLY_CUSTOM_MODE_ATTITUDE">
  277. <description>Attitude mode</description>
  278. </entry>
  279. <entry value="4" name="VKFLY_CUSTOM_MODE_POSHOLD">
  280. <description>Poshold mode</description>
  281. </entry>
  282. <entry value="10" name="VKFLY_CUSTOM_MODE_TAKEOFF">
  283. <description>Auto takeoff.</description>
  284. </entry>
  285. <entry value="11" name="VKFLY_CUSTOM_MODE_LOITER">
  286. <description>Auto loiter.</description>
  287. </entry>
  288. <entry value="12" name="VKFLY_CUSTOM_MODE_RTL">
  289. <description>Auto return.</description>
  290. </entry>
  291. <entry value="13" name="VKFLY_CUSTOM_MODE_FLY_TO_WP">
  292. <description>Auto fly to wp.</description>
  293. </entry>
  294. <entry value="15" name="VKFLY_CUSTOM_MODE_CRUISE">
  295. <description>Auto cruise.</description>
  296. </entry>
  297. <entry value="18" name="VKFLY_CUSTOM_MODE_GUIDE">
  298. <description>Guide to point.</description>
  299. </entry>
  300. <entry value="19" name="VKFLY_CUSTOM_MODE_LAND">
  301. <description>Land.</description>
  302. </entry>
  303. <entry value="20" name="VKFLY_CUSTOM_MODE_FSLAND">
  304. <description>Force land.</description>
  305. </entry>
  306. <entry value="21" name="VKFLY_CUSTOM_MODE_FOLLOW">
  307. <description>Follow.</description>
  308. </entry>
  309. <entry value="23" name="VKFLY_CUSTOM_MODE_WP_ORBIT">
  310. <description>Waypoint orbit</description>
  311. </entry>
  312. <entry value="24" name="VKFLY_CUSTOM_MODE_DYN_TAKEOFF">
  313. <description>Dynamic takeoff</description>
  314. </entry>
  315. <entry value="25" name="VKFLY_CUSTOM_MODE_DYN_LAND">
  316. <description>Dyn_Land</description>
  317. </entry>
  318. <entry value="26" name="VKFLY_CUSTOM_MODE_OBAVOID">
  319. <description>Obavoid </description>
  320. </entry>
  321. <entry value="27" name="VKFLY_CUSTOM_MODE_OFFBOARD">
  322. <description>Offboard command control.</description>
  323. </entry>
  324. <entry value="28" name="VKFLY_CUSTOM_MODE_FORMATION">
  325. <description>Formation fly mode</description>
  326. </entry>
  327. <entry value="51" name="VKFLY_CUSTOM_MODE_FW_MANUL">
  328. <description>Fixedwing manul mode</description>
  329. </entry>
  330. <entry value="52" name="VKFLY_CUSTOM_MODE_FW_ATTITUDE">
  331. <description>Fixedwing attitude mode</description>
  332. </entry>
  333. <entry value="53" name="VKFLY_CUSTOM_MODE_FW_CRUISE">
  334. <description>Fixedwing cruise mode</description>
  335. </entry>
  336. <entry value="54" name="VKFLY_CUSTOM_MODE_FW_CIRCLE">
  337. <description>Fixedwing circle mode</description>
  338. </entry>
  339. <entry value="55" name="VKFLY_CUSTOM_MODE_FW_TAKEOFF">
  340. <description>Fixedwing circle mode</description>
  341. </entry>
  342. <entry value="56" name="VKFLY_CUSTOM_MODE_FW_GUIDE">
  343. <description>Fixedwing guide mode</description>
  344. </entry>
  345. <entry value="57" name="VKFLY_CUSTOM_MODE_FW_LAND">
  346. <description>Fixedwing land mode</description>
  347. </entry>
  348. <entry value="58" name="VKFLY_CUSTOM_MODE_FW_RTL">
  349. <description>Fixedwing return to launch mode</description>
  350. </entry>
  351. <entry value="59" name="VKFLY_CUSTOM_MODE_FW_GPS_FS">
  352. <description>Fixedwing GPS fail safe mode</description>
  353. </entry>
  354. </enum>
  355. <enum name="VKFLY_VKINS_NAV_STATUS" bitmask="true">
  356. <description>bitmap for VKins navigtion status </description>
  357. <entry value="0x01" name="VKFLY_VKINS_NAV_INSGPS">
  358. <description>INS status. 0 means no INS. 1 means INS ok.</description>
  359. </entry>
  360. <entry value="0x02" name="VKFLY_VKINS_NAV_ALT_GPS">
  361. <description>GPS altitude in data fusion. 0 gps altitude not used. 1 gps altitude used.</description>
  362. </entry>
  363. <entry value="0x04" name="VKFLY_VKINS_NAV_HEADING_RTK">
  364. <description>RTK heading data. 0 use mag, 1 use rtk dual ant heading.</description>
  365. </entry>
  366. <entry value="0x10" name="VKFLY_VKINS_NAV_RTK">
  367. <description>RTK pos data. 0 no RTK, 1 RTK. </description>
  368. </entry>
  369. </enum>
  370. <enum name="VKFLY_YAW_CTRL_MODE">
  371. <description>Yaw control mode</description>
  372. <entry value="0" name="VKFLY_YAW_KEEP_CURRENT">
  373. <description>Yaw do not change. Keep current yaw.</description>
  374. </entry>
  375. <entry value="1" name="VKFLY_YAW_TO_NEXT_WP">
  376. <description>Yaw towards next waypoint or circle center.</description>
  377. </entry>
  378. <entry value="2" name="VKFLY_YAW_TO_TRACE_COURSE">
  379. <description>Yaw towards moving course heading.</description>
  380. </entry>
  381. <entry value="3" name="VKFLY_YAW_TO_SET_VALUE">
  382. <description>Yaw towards spacific value.</description>
  383. </entry>
  384. <entry value="4" name="VKFLY_YAW_TO_HOME">
  385. <description>Yaw towards home point.</description>
  386. </entry>
  387. <entry value="5" name="VKFLY_YAW_TO_INTEREST">
  388. <description>Yaw towards interest point.</description>
  389. </entry>
  390. <entry value="6" name="VKFLY_YAW_TO_OTHER_MAV_SYS">
  391. <description>Yaw towards interest point.</description>
  392. </entry>
  393. <entry value="7" name="VKFLY_YAW_TO_SET_VALUE_ONLY_ON_LANDING">
  394. <description>Yaw towards interest point.</description>
  395. </entry>
  396. </enum>
  397. <enum name="VKFLY_PHOTO_CTRL_MODE">
  398. <description>Digicam auto take photo mode.</description>
  399. <entry value="0" name="VKFLY_AUTO_PHO_KEEP_CURRENT">
  400. <description>Do not take photo automatically.</description>
  401. </entry>
  402. <entry value="1" name="VKFLY_AUTO_PHO_STOP">
  403. <description>Do not take photo automatically.</description>
  404. </entry>
  405. <entry value="2" name="VKFLY_AUTO_PHO_AUTO_BY_TIME">
  406. <description>Automatically take photo by tiem.</description>
  407. </entry>
  408. <entry value="3" name="VKFLY_AUTO_PHO_BY_DIST_XY">
  409. <description>Automatically take photo by distance.</description>
  410. </entry>
  411. <entry value="4" name="VKFLY_AUTO_PHO_BY_DIST_Z">
  412. <description>Automatically take photo by input trigger signal or command.</description>
  413. </entry>
  414. <entry value="5" name="VKFLY_AUTO_PHO_BY_DIST_XYZ">
  415. <description>Automatically take photo by input trigger signal or command.</description>
  416. </entry>
  417. </enum>
  418. <enum name="VKFLY_RTL_REASON">
  419. <description>Digicam auto take photo mode.</description>
  420. <entry value="0" name="VKFLY_RTL_REASON_NONE">
  421. <description>Rtl mode not triggered.</description>
  422. </entry>
  423. <entry value="1" name="VKFLY_RTL_REASON_GCSCMD">
  424. <description>Trigger rtl mode by gcs command.</description>
  425. </entry>
  426. <entry value="2" name="VKFLY_RTL_REASON_RCCMD">
  427. <description>Trigger rtl mode by remote controller command.</description>
  428. </entry>
  429. <entry value="3" name="VKFLY_RTL_REASON_GCSLOST">
  430. <description>Trigger rtl mode by gcs link lost.</description>
  431. </entry>
  432. <entry value="4" name="VKFLY_RTL_REASON_RCFAIL">
  433. <description>Trigger rtl mode by remote controller signal fail.</description>
  434. </entry>
  435. <entry value="5" name="VKFLY_RTL_REASON_RCLOST">
  436. <description>Trigger rtl mode by remote controller signal lost.</description>
  437. </entry>
  438. <entry value="6" name="VKFLY_RTL_REASON_LOWVOLT">
  439. <description>Trigger rtl mode by battery volt low.</description>
  440. </entry>
  441. <entry value="7" name="VKFLY_RTL_REASON_OFFBOARD">
  442. <description>Trigger rtl mode by offboard command.</description>
  443. </entry>
  444. <entry value="8" name="VKFLY_RTL_REASON_ALTLIM">
  445. <description>Trigger rtl mode by altitude limit.</description>
  446. </entry>
  447. <entry value="9" name="VKFLY_RTL_REASON_OUT_FENCE">
  448. <description>Trigger rtl mode by out range of fence.</description>
  449. </entry>
  450. <entry value="10" name="VKFLY_RTL_REASON_BMS_LOWCAP">
  451. <description>Trigger rtl mode by battery manager system low capacity.</description>
  452. </entry>
  453. <entry value="11" name="VKFLY_RTL_REASON_BMS_LINKLOST">
  454. <description>Trigger rtl mode by battery manager link lost.</description>
  455. </entry>
  456. <entry value="12" name="VKFLY_RTL_REASON_SERVO_FAULT">
  457. <description>Trigger rtl mode by servo fault.</description>
  458. </entry>
  459. <entry value="13" name="VKFLY_RTL_REASON_WP_FINISH">
  460. <description>Trigger rtl mode by servo fault.</description>
  461. </entry>
  462. <entry value="14" name="VKFLY_RTL_REASON_H2P_LOW">
  463. <description>Trigger rtl mode by servo fault.</description>
  464. </entry>
  465. <entry value="15" name="VKFLY_RTL_REASON_ECU_FUEL_LOW">
  466. <description>Trigger rtl mode by servo fault.</description>
  467. </entry>
  468. <entry value="16" name="VKFLY_RTL_REASON_ATTITUDE_FS">
  469. <description>Trigger rtl mode by attitude failsafe.</description>
  470. </entry>
  471. <entry value="17" name="VKFLY_RTL_REASON_TRANS_TMO">
  472. <description>Trigger rtl mode by transform time out.</description>
  473. </entry>
  474. <entry value="18" name="VKFLY_RTL_REASON_ASPD_LOW">
  475. <description>Trigger rtl mode by transform time out.</description>
  476. </entry>
  477. </enum>
  478. <enum name="VKFLY_LOITER_REASON">
  479. <entry value="1" name="VLFLY_LOITER_REASON_DEFAULT"></entry>
  480. <entry value="2" name="VLFLY_LOITER_REASON_GCS_CMD"></entry>
  481. <entry value="3" name="VLFLY_LOITER_REASON_MISSION_DONE"></entry>
  482. <entry value="5" name="VLFLY_LOITER_REASON_GPS_REABLE"></entry>
  483. <entry value="6" name="VLFLY_LOITER_REASON_RC_CMD"></entry>
  484. <entry value="7" name="VLFLY_LOITER_REASON_FOLLOW_FAIL"></entry>
  485. <entry value="9" name="VLFLY_LOITER_REASON_TAKEOFF_DONE"></entry>
  486. <entry value="10" name="VLFLY_LOITER_REASON_BAT_VOLT_LOW"></entry>
  487. <entry value="11" name="VLFLY_LOITER_REASON_RC_FAIL"></entry>
  488. <entry value="12" name="VLFLY_LOITER_REASON_RC_LOST"></entry>
  489. <entry value="13" name="VLFLY_LOITER_REASON_RC_BAD"></entry>
  490. <entry value="14" name="VLFLY_LOITER_REASON_BAT_CAP_LOW"></entry>
  491. <entry value="15" name="VLFLY_LOITER_REASON_OFFBOARD"></entry>
  492. <entry value="16" name="VLFLY_LOITER_REASON_QUIT_FORMATION"></entry>
  493. <entry value="17" name="VLFLY_LOITER_REASON_H2P_LOW"></entry>
  494. <entry value="18" name="VLFLY_LOITER_REASON_ECU_FUEL_LOW"></entry>
  495. <entry value="21" name="VLFLY_LOITER_REASON_WPDATA_ERR"></entry>
  496. </enum>
  497. <enum name="VKFLY_DIGICAM_WP_ACT">
  498. <description>Digicam action trigger on waypoint arrive.</description>
  499. <entry value="0" name="VKFLY_DIGICAM_WP_ACT_NONE">
  500. <description>Do nothing.</description>
  501. </entry>
  502. <entry value="1" name="VKFLY_DIGICAM_WP_ACT_PHO">
  503. <description>Do take photo.</description>
  504. </entry>
  505. <entry value="2" name="VKFLY_DIGICAM_WP_ACT_VEDIO_ON">
  506. <description>Do vedio recording on.</description>
  507. </entry>
  508. <entry value="3" name="VKFLY_DIGICAM_WP_ACT_VEDIO_OFF">
  509. <description>Do vedio recording off.</description>
  510. </entry>
  511. </enum>
  512. <enum name="VKFLY_GIMBAL_WP_ACT">
  513. <description>Gimbal action trigger on waypoint arrive.</description>
  514. <entry value="0" name="VKFLY_GIMBAL_WP_ACT_NONE">
  515. <description>Do nothing.</description>
  516. </entry>
  517. <entry value="1" name="VKFLY_GIMBAL_WP_ACT_SET_ANG">
  518. <description>Do set gimbal pitch and yaw angle value.</description>
  519. </entry>
  520. <entry value="2" name="VKFLY_GIMBAL_WP_ACT_SET_PITCH_YAW_FOLLOW">
  521. <description>Do set gimbla pitch value, yaw follow drone head.</description>
  522. </entry>
  523. <entry value="3" name="VKFLY_GIMBAL_WP_SET_ZOOM">
  524. <description>Do set gimbla Zoom.</description>
  525. </entry>
  526. </enum>
  527. <enum name="VKFLY_THROW_CHAN_TYPE" bitmask="true">
  528. <description>bitmap of throwing channel</description>
  529. <entry value="1" name="VKFLY_THROW_CHAN_1">
  530. <description>throwing channel1</description>
  531. </entry>
  532. <entry value="2" name="VKFLY_THROW_CHAN_2">
  533. <description>throwing channel2</description>
  534. </entry>
  535. <entry value="4" name="VKFLY_THROW_CHAN_3">
  536. <description>throwing channel3</description>
  537. </entry>
  538. <entry value="8" name="VKFLY_THROW_CHAN_4">
  539. <description>throwing channel4</description>
  540. </entry>
  541. <entry value="16" name="VKFLY_THROW_CHAN_5">
  542. <description>throwing channel5</description>
  543. </entry>
  544. <entry value="32" name="VKFLY_THROW_CHAN_6">
  545. <description>throwing channel6</description>
  546. </entry>
  547. <entry value="64" name="VKFLY_THROW_CHAN_7">
  548. <description>throwing channel7</description>
  549. </entry>
  550. <entry value="128" name="VKFLY_THROW_CHAN_8">
  551. <description>throwing channel8</description>
  552. </entry>
  553. <entry value="256" name="VKFLY_THROW_CHAN_9">
  554. <description>throwing channel9</description>
  555. </entry>
  556. <entry value="512" name="VKFLY_THROW_CHAN_10">
  557. <description>throwing channel10</description>
  558. </entry>
  559. <entry value="1024" name="VKFLY_THROW_CHAN_11">
  560. <description>throwing channel11</description>
  561. </entry>
  562. <entry value="2048" name="VKFLY_THROW_CHAN_12">
  563. <description>throwing channel12</description>
  564. </entry>
  565. <entry value="4096" name="VKFLY_THROW_CHAN_13">
  566. <description>throwing channel12</description>
  567. </entry>
  568. <entry value="8192" name="VKFLY_THROW_CHAN_14">
  569. <description>throwing channel12</description>
  570. </entry>
  571. <entry value="16384" name="VKFLY_THROW_CHAN_15">
  572. <description>throwing channel12</description>
  573. </entry>
  574. <entry value="32768" name="VKFLY_THROW_CHAN_16">
  575. <description>throwing channel12</description>
  576. </entry>
  577. <entry value="65535" name="VKFLY_THROW_CHAN_ALL">
  578. <description>throwing channel12</description>
  579. </entry>
  580. </enum>
  581. <enum name="VKFLY_MISSION_EXEC_MODE">
  582. <entry value="0" name="VKFLY_MISSION_EXEC_MODE_NORMAL"></entry>
  583. <entry value="1" name="VKFLY_MISSION_EXEC_MODE_NO_ACT"></entry>
  584. <entry value="2" name="VKFLY_MISSION_EXEC_MODE_REVERSE"></entry>
  585. <entry value="3" name="VKFLY_MISSION_EXEC_MODE_REVERSE_NO_ACT"></entry>
  586. </enum>
  587. <enum name="VKFLY_MISSION_DONE_ACT">
  588. <entry value="0" name="VKFLY_MISSION_DONE_LOITER"></entry>
  589. <entry value="1" name="VKFLY_MISSION_DONE_RETURN_TO_LAUNCH"></entry>
  590. <entry value="2" name="VKFLY_MISSION_DONE_LAND"></entry>
  591. <entry value="3" name="VKFLY_MISSION_DONE_RETURN_TO_RALLY"></entry>
  592. <entry value="4" name="VKFLY_MISSION_DONE_RETURN_TO_LAUNCH_AB_WP"></entry>
  593. <entry value="5" name="VKFLY_MISSION_DONE_RETURN_TO_LAUNCH_BA_WP"></entry>
  594. <entry value="6" name="VKFLY_MISSION_DONE_THEN_REDO"></entry>
  595. </enum>
  596. <enum name="VKFLY_RTL_EXEC_MODE">
  597. <entry value="0" name="VKFLY_RTL_EXEC_MODE_NORMAL"></entry>
  598. <entry value="1" name="VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ"></entry>
  599. <entry value="2" name="VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ_REVERSE"></entry>
  600. </enum>
  601. <enum name="VKFLY_FORMATION_TYPE">
  602. <entry value="0" name="VKFLY_FORMATION_ROW"></entry>
  603. <entry value="1" name="VKFLY_FORMATION_COLUM"></entry>
  604. <entry value="2" name="VKFLY_FORMATION_TRIANGLE"></entry>
  605. <entry value="3" name="VKFLY_FORMATION_RECTANGLE"></entry>
  606. <entry value="4" name="VKFLY_FORMATION_CUSTOM"></entry>
  607. <entry value="5" name="VKFLY_FORMATION_VERTICLE_LINE"></entry>
  608. </enum>
  609. <enum name="VKFLY_CMD">
  610. <description> VKFLY custom CMD </description>
  611. <entry value="44010" name="VKFLY_CMD_NAV_WP" hasLocation="true" isDestination="true">
  612. <description>VKFLY custom takephoto waypoint commond.</description>
  613. <param index="1" label="Hold Time And Speed"> </param>
  614. <param index="2" label="Photo Ctl"> </param>
  615. <param index="3" label="Gimbal Ctl"> </param>
  616. <param index="4" label="Yaw Mode">Yaw control mode</param>
  617. <param index="5" label="Latitude">Latitude</param>
  618. <param index="6" label="Longitude">Longitude</param>
  619. <param index="7" label="Altitude" units="m">Altitude</param>
  620. </entry>
  621. <entry value="44011" name="VKFLY_CMD_NAV_WP_THROW" hasLocation="true" isDestination="true">
  622. <description>VKFLY custom throwing waypoint command. </description>
  623. <param index="1" label="Hold Time And Speed"> </param>
  624. <param index="2" label="Throw ParamA"></param>
  625. <param index="3" label="Throw ParamB">Reserved.</param>
  626. <param index="4" label="Yaw Mode">Yaw control mode.</param>
  627. <param index="5" label="Latitude">Latitude</param>
  628. <param index="6" label="Longitude">Longitude</param>
  629. <param index="7" label="Altitude" units="m">Altitude</param>
  630. </entry>
  631. <entry value="44012" name="VKFLY_CMD_NAV_WP_ORBIT_DO_PHOTO" hasLocation="true"
  632. isDestination="true">
  633. <description>VLFLY Custom orbit waypoint </description>
  634. <param index="1" label="Radius And Speed"> </param>
  635. <param index="2" label="Photo Ctl"> </param>
  636. <param index="3" label="Times And Orbit Speed"> </param>
  637. <param index="4" label="Yaw Mode"> </param>
  638. <param index="5" label="Latitude">Latitude</param>
  639. <param index="6" label="Longitude">Longitude</param>
  640. <param index="7" label="Altitude" units="m">Altitude</param>
  641. </entry>
  642. <entry value="44013" name="VKFLY_CMD_NAV_EDU_TRAINING" hasLocation="true"
  643. isDestination="true">
  644. <description>VLFLY Custom orbit waypoint </description>
  645. <param index="1" label="Hold Time And Speed"> </param>
  646. <param index="2" label="Alt Mode And Speed"> </param>
  647. <param index="3" label="Param3"> </param>
  648. <param index="4" label="Yaw Mode"> </param>
  649. <param index="5" label="Latitude">Latitude</param>
  650. <param index="6" label="Longitude">Longitude</param>
  651. <param index="7" label="Altitude" units="m">Altitude</param>
  652. </entry>
  653. <entry value="44030" name="VKFLY_CMD_MOUNT_CTRL" hasLocation="true"
  654. isDestination="true">
  655. <description>VLFLY Custom orbit waypoint </description>
  656. <param index="1" label=""> </param>
  657. <param index="2" label="CTRL "> </param>
  658. <param index="3" label="Times And Orbit Speed"> </param>
  659. <param index="4" label="Yaw Mode"> </param>
  660. <param index="5" label="Latitude">Latitude</param>
  661. <param index="6" label="Longitude">Longitude</param>
  662. <param index="7" label="Altitude" units="m">Altitude</param>
  663. </entry>
  664. <entry value="44031" name="VKFLY_CMD_FORMATION_FLY">
  665. <description>Formation fly assemble, disband or change formation</description>
  666. <param index="1" label="action">1 means assemble, 2 means quit, 3 means change formation</param>
  667. <param index="2" label="form_type" enum="VKFLY_FORMATION_TYPE"></param>
  668. <param index="3" label="rect_col_num"></param>
  669. <param index="4" label="lock_head"></param>
  670. <param index="5" label="x_dist" units="m"></param>
  671. <param index="6" label="y_dist" units="m"></param>
  672. <param index="7" label="z_dist" units="m"></param>
  673. </entry>
  674. <entry value="44050" name="VKFLY_CMD_ESC_CONFIG" hasLocation="false"
  675. isDestination="false">
  676. <description>can esc id configuration</description>
  677. <param index="1" label="Set ID"> Set Esc id, min=1, max=16 </param>
  678. <param index="2" label=""> </param>
  679. <param index="3" label=""> </param>
  680. <param index="4" label=""> </param>
  681. <param index="5" label=""> </param>
  682. <param index="6" label=""> </param>
  683. <param index="7" label=""> </param>
  684. </entry>
  685. <entry value="44060" name="VKFLY_CMD_DO_REPOSITION_THAN_THROW" hasLocation="true"
  686. isDestination="true">
  687. <description>Do reposition and throwing</description>
  688. <param index="1" label="Throw servo id" minValue="0" maxValue="65535"> Throw servo id bitmap </param>
  689. <param index="2" label="Throw altitude"> </param>
  690. <param index="3" label="Speed"> </param>
  691. <param index="4" label="Yaw"> </param>
  692. <param index="5" label="Latitude"> </param>
  693. <param index="6" label="Longitude"> </param>
  694. <param index="7" label="Altitude" units="m"> </param>
  695. </entry>
  696. <entry value="44061" name="VKFLY_CMD_DO_REPOSITION_THAN_LAND" hasLocation="true"
  697. isDestination="true">
  698. <description>Do reposition and throwing</description>
  699. <param index="1" label="Groud Msl" units="m"> Ground msl altitude</param>
  700. <param index="2" label=""> </param>
  701. <param index="3" label="Speed"> </param>
  702. <param index="4" label="Yaw" units="deg" minValue="0" maxValue="359.99"> </param>
  703. <param index="5" label="Latitude"> </param>
  704. <param index="6" label="Longitude"> </param>
  705. <param index="7" label="Altitude" units="m"> </param>
  706. </entry>
  707. <entry value="44062" name="VKFLY_CMD_MISSION_START" hasLocation="false"
  708. isDestination="false">
  709. <description>Start mission</description>
  710. <param index="1" label="Start Seq" minValue="0" maxValue="65535">start sequence of mission</param>
  711. <param index="2" label="Mission Exec Mode" enum="VKFLY_MISSION_EXEC_MODE"> </param>
  712. <param index="3" label="Mission Done Action" enum="VKFLY_MISSION_DONE_ACT"> </param>
  713. <param index="4" label=""> </param>
  714. <param index="5" label=""> </param>
  715. <param index="6" label=""> </param>
  716. <param index="7" label=""> </param>
  717. </entry>
  718. <entry value="44063" name="VKFLY_CMD_RETURN_TO_LAUCH" hasLocation="false"
  719. isDestination="false">
  720. <description>Return to launch position than land</description>
  721. <param index="1" label="Start Seq" minValue="0" maxValue="65535">start sequence of mission</param>
  722. <param index="2" label="Rtl Exec Mode" enum="VKFLY_RTL_EXEC_MODE"> </param>
  723. <param index="3" label=""> </param>
  724. <param index="4" label=""> </param>
  725. <param index="5" label=""> </param>
  726. <param index="6" label=""> </param>
  727. <param index="7" label=""> </param>
  728. </entry>
  729. <entry value="44064" name="VKFLY_CMD_WEIGHER_CONFIG" hasLocation="false"
  730. isDestination="false">
  731. <description>Weigher config command</description>
  732. <param index="1" label="Weight Calibrate">NAN means invalid. Other positive value means the
  733. actual weight</param>
  734. <param index="2" label="Factory Reset">NAN means invalid. 1 means do factory reset.</param>
  735. <param index="3" label=""> </param>
  736. <param index="4" label=""> </param>
  737. <param index="5" label=""> </param>
  738. <param index="6" label=""> </param>
  739. <param index="7" label=""> </param>
  740. </entry>
  741. <entry value="44065" name="VKFLY_CMD_DO_FIXEDWING_ACTUATOR_CHECK" hasLocation="false"
  742. isDestination="false">
  743. <description>Check fixedwing servos.</description>
  744. <param index="1" label="actuator check" minValue="0" maxValue="9">NAN means ignore.0 do all
  745. mid, 1 do roll mid, 2 do roll right, 3 do roll left, 4 do pitch mid, 5 do pitch up, 6 do
  746. pitch down, 7 do yaw mid, 8 do yaw right, 9 do yaw down.</param>
  747. <param index="2" label="throttle check" minValue="-1" maxValue="100"> NAN means ignore. -1
  748. throttle off, 0 throttle idle, 100 throttle full </param>
  749. <param index="3" label=""> </param>
  750. <param index="4" label=""> </param>
  751. <param index="5" label=""> </param>
  752. <param index="6" label=""> </param>
  753. <param index="7" label=""> </param>
  754. </entry>
  755. <entry value="44066" name="VKFLY_CMD_SET_RTL_CIRCLE_WP" hasLocation="true"
  756. isDestination="false">
  757. <description>Set return circle point.</description>
  758. <param index="1" label="Radius">NAN means use default circle radius. Positive value means
  759. circle
  760. in clockwise.</param>
  761. <param index="2" label="DoNow"> NAN means ignore. 1 means do goto rtl circle point right
  762. now.
  763. </param>
  764. <param index="3" label=""> </param>
  765. <param index="4" label=""> </param>
  766. <param index="5" label="Latitude"> </param>
  767. <param index="6" label="Longitude"> </param>
  768. <param index="7" label="Alt"> </param>
  769. </entry>
  770. <entry value="44067" name="VKFLY_CMD_MISSION_START_EDU_TRAINING" hasLocation="false"
  771. isDestination="false">
  772. <description>Start mission</description>
  773. <param index="1" label="Start Seq" minValue="0" maxValue="65535">start sequence of mission</param>
  774. <param index="2" label="Loop Count"> </param>
  775. <param index="3" label="Mission Done Action" enum="VKFLY_MISSION_DONE_ACT"> </param>
  776. <param index="4" label=""> </param>
  777. <param index="5" label=""> </param>
  778. <param index="6" label=""> </param>
  779. <param index="7" label=""> </param>
  780. </entry>
  781. <entry value="44068" name="VKFLY_CMD_RESUME_WP_ALT" hasLocation="false"
  782. isDestination="false">
  783. <description>Start mission</description>
  784. <param index="1" label="disable" minValue="0" maxValue="1">resume wp altitude and disable rc
  785. aux</param>
  786. <param index="2" label=""></param>
  787. <param index="3" label=""></param>
  788. <param index="4" label=""></param>
  789. <param index="5" label=""></param>
  790. <param index="6" label=""></param>
  791. <param index="7" label=""></param>
  792. </entry>
  793. <entry value="44069" name="VKFLY_CMD_EXT_NAV_CFG" hasLocation="false"
  794. isDestination="false">
  795. <description>Start mission</description>
  796. <param index="1" label="conf" minValue="0" maxValue="2"></param>
  797. <param index="2" label="type"></param>
  798. <param index="3" label=""></param>
  799. <param index="4" label=""></param>
  800. <param index="5" label=""></param>
  801. <param index="6" label=""></param>
  802. <param index="7" label=""></param>
  803. </entry>
  804. </enum>
  805. </enums>
  806. <messages>
  807. <message id="53000" name="VKINS_STATUS">
  808. <description> </description>
  809. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  810. <field type="uint8_t" name="nav_status" enum="VKFLY_VKINS_NAV_STATUS" display="bitmask"
  811. print_format="0x%02x">VKINS
  812. navigation status flag.</field>
  813. <field type="uint8_t" name="s_flag1">vinks flag1</field>
  814. <field type="uint8_t" name="s_flag2">vinks flag2.</field>
  815. <field type="uint8_t" name="s_flag3">vinks flag3.</field>
  816. <field type="uint8_t" name="s_flag4">vinks flag4.</field>
  817. <field type="uint8_t" name="s_flag5">vinks flag5.</field>
  818. <field type="uint8_t" name="s_flag6">vinks flag6.</field>
  819. <field type="uint8_t" name="mag_calib_stage" enum="VKFLY_MAGCALIB_STAGE">vkins mag calib
  820. stage.</field>
  821. <field type="float" name="g0" units="m/s/s">vkins initial calibrated gravitation acceleration.</field>
  822. <field type="int32_t" name="raw_latitude" units="degE7">raw longitude for data fusion</field>
  823. <field type="int32_t" name="raw_longitude" units="degE7">raw latitidue for data fusion</field>
  824. <field type="float" name="baro_alt" units="m">raw baromoter altitude for data fusion</field>
  825. <field type="float" name="raw_gps_alt" units="m">gps amsl altitude for data fusion</field>
  826. <field type="uint8_t" name="solv_psat_num">satelites number for position</field>
  827. <field type="uint8_t" name="solv_hsat_num">satelites number for heading</field>
  828. <field type="int16_t" name="temperature" units="degC">temperature</field>
  829. <field type="uint8_t" name="vibe_coe"></field>
  830. </message>
  831. <message id="53001" name="VKFMU_STATUS">
  832. <description> </description>
  833. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  834. <field type="uint8_t" name="rtl_reason" enum="VKFLY_RTL_REASON">return to launch reason.</field>
  835. <field type="uint8_t" name="loiter_reason" enum="VKFLY_LOITER_REASON">Loiter reason </field>
  836. <field type="uint8_t" name="s_flag3">fmu sflag3</field>
  837. <field type="uint16_t" name="ups_volt">ups voltage in 0.1V</field>
  838. <field type="uint16_t" name="adc_volt">adc voltage in 0.1V</field>
  839. <field type="uint32_t" name="flight_time" units="s">flight time in seconds</field>
  840. <field type="uint32_t" name="dist_to_tar" units="cm">distance to target position in cm</field>
  841. <field type="uint16_t" name="servo_state">bitmap for servo state</field>
  842. <field type="float" name="flight_dist" units="m">flight distance since this power up</field>
  843. </message>
  844. <message id="53002" name="VK_ROI_TARGET">
  845. <description> </description>
  846. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  847. <field type="int32_t" name="lat" units="degE7">wgs48 latitude</field>
  848. <field type="int32_t" name="lon" units="degE7">wgs48 longitude</field>
  849. <field type="float" name="alt" units="m">altitude amsl, wgs48</field>
  850. <field type="uint16_t" name="state" enum="VKFLY_ROI_STATE">Bitmap to indicate ROI state </field>
  851. </message>
  852. <message id="53003" name="VK_BMS_STATUS">
  853. <description> battery bms status message </description>
  854. <field type="uint32_t" name="time_boot_ms" units="ms">Timestamp in ms from system boot.</field>
  855. <field type="uint32_t" name="voltage" units="mV">BMS voltage in mV</field>
  856. <field type="int16_t" name="current" units="cA">BMS current in cA, negative value means in
  857. charging</field>
  858. <field type="int16_t" name="temperature" units="degC">BMS temperature in degC</field>
  859. <field type="int8_t" name="cap_percent" units="%">BMS remaining power in percentage</field>
  860. <field type="uint8_t" name="bat_id" minValue="0" maxValue="1" increment="1">BMS id, start from
  861. 0</field>
  862. <field type="uint32_t" name="err_code" display="bitmask" print_format="0x%04x">BMS error code,
  863. 0 means no error</field>
  864. <field type="uint16_t" name="cell_num" minValue="0" maxValue="100">BMS cell numbers</field>
  865. <field type="uint16_t[30]" name="cell_volt" units="mV">BMS cell voltage in mV</field>
  866. <field type="uint16_t" name="cyc_cnt" minValue="0" increment="1"> charge and discharge times </field>
  867. <field type="uint8_t" name="health" minValue="0" maxValue="100">battery healthiness in
  868. percentage</field>
  869. </message>
  870. <message id="53004" name="VK_FORMATION_LEADER">
  871. <description> formation fly leader status message </description>
  872. <field type="uint32_t" name="timestamp" units="ms">Timestamp in ms from system boot.</field>
  873. <field type="uint32_t" name="state">formation leader drone state bitmap</field>
  874. <field type="int32_t" name="lat" units="degE7">formation leader latitude in 1e-7deg </field>
  875. <field type="int32_t" name="lon" units="degE7">formation leader longitude in 1e-7deg</field>
  876. <field type="float" name="msl" units="m">formation leader msl altitude in meter</field>
  877. <field type="float" name="ve" units="m/s">formation leader east speed</field>
  878. <field type="float" name="vn" units="m/s">formation leader north speed</field>
  879. <field type="float" name="vu" units="m/s">formation leader up speed</field>
  880. <field type="float" name="yaw" units="deg">formation leader yaw</field>
  881. <field type="uint8_t" name="formation_type" enum="VKFLY_FORMATION_TYPE">formation type</field>
  882. <field type="int16_t" name="x_dist" units="cm">distance between drones in x axis</field>
  883. <field type="int16_t" name="y_dist" units="cm">distance between drones in y axis</field>
  884. <field type="int16_t" name="z_dist" units="cm">distance between drones in z axis</field>
  885. <field type="uint16_t" name="rect_col_num">columns number of rectangle formation</field>
  886. <extensions />
  887. <field type="float" name="formation_heading" units="deg">if nan, use yaw as formation
  888. heading</field>
  889. </message>
  890. <message id="53005" name="VK_ENGINE_ECU_STAUS">
  891. <description> engine ecu status message </description>
  892. <field type="uint32_t" name="timestamp" units="ms">Timestamp in ms from system boot.</field>
  893. <field type="uint16_t" name="spd_rpm">rotational speed in rpm</field>
  894. <field type="uint8_t" name="thr_pos" units="%" minValue="0" maxValue="100" increment="1">throttle
  895. position </field>
  896. <field type="uint8_t" name="fuel_pos" units="%" minValue="0" maxValue="100" increment="1">fuel
  897. position</field>
  898. <field type="int16_t" name="cylinderA_temp" units="degC">CylinderA head temperature</field>
  899. <field type="int16_t" name="cylinderB_temp" units="degC">CylinderB head temperature</field>
  900. <field type="int16_t" name="coolant_temp" units="degC">coolant head temperature</field>
  901. <field type="uint16_t" name="fuel_remain">engine index</field>
  902. <field type="uint16_t" name="alarm">range extender alarm bitmap</field>
  903. <field type="uint32_t" name="total_runtime" units="min">range extender output voltage</field>
  904. <field type="uint16_t" name="runtime" units="min">range extender output voltage</field>
  905. <field type="uint16_t" name="service_time" units="min">left time for service</field>
  906. <field type="uint16_t" name="output_volt" units="dV">range extender output voltage</field>
  907. <field type="uint16_t" name="output_curr" units="dA">range extender output current</field>
  908. <field type="uint8_t" name="fault">engine fault</field>
  909. <field type="uint8_t" name="engine_state">engine state</field>
  910. <field type="uint8_t" name="index" minValue="0" maxValue="128" increment="1">engine index</field>
  911. <field type="uint8_t[4]" name="reserve">engine state</field>
  912. </message>
  913. <message id="53006" name="VK_COMP_VERSION">
  914. <description>vkfly gps version</description>
  915. <field type="uint16_t" name="comp_id" enum="VKFLY_USER_COMP_ID">component id</field>
  916. <field type="uint8_t[16]" name="hw_ver">hardware version</field>
  917. <field type="uint8_t[16]" name="fw_ver">firmware version</field>
  918. <field type="uint8_t[16]" name="SN">SN number</field>
  919. <field type="uint8_t[16]" name="manufactory">manufactory</field>
  920. <field type="uint8_t[16]" name="model">model</field>
  921. <field type="uint8_t[16]" name="priv_data">gnss configuration</field>
  922. </message>
  923. <message id="53007" name="VK_MOSAICH_GPS_RAW">
  924. <description>Mosaic_h gps raw data</description>
  925. <field type="uint64_t" name="time_usec" units="us">Timestamp (UNIX Epoch time or time since
  926. system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system
  927. boot) by checking for the magnitude of the number.</field>
  928. <field type="uint8_t" name="fix_type" enum="GPS_FIX_TYPE">GPS fix type.</field>
  929. <field type="uint8_t" name="psv_num">Number of satellites for positioning ANT</field>
  930. <field type="uint8_t" name="pvt_err">refer to mosaic_h reference page 308</field>
  931. <field type="uint8_t" name="pvt_mode">refer to mosaic_h reference page 308</field>
  932. <field type="int32_t" name="lat" units="degE7">Latitude (WGS84, EGM96 ellipsoid)</field>
  933. <field type="int32_t" name="lon" units="degE7">Longitude (WGS84, EGM96 ellipsoid)</field>
  934. <field type="float" name="ellipsoid_alt" units="m">Altitude (Ellipsoild). Positive for up.</field>
  935. <field type="float" name="ve" units="m/s">Ease speed in m/s.</field>
  936. <field type="float" name="vn" units="m/s">North speed in m/s.</field>
  937. <field type="float" name="vu" units="m/s">Up speed in m/s.</field>
  938. <field type="uint16_t" name="h_acc" units="cm">Position uncertainty.</field>
  939. <field type="uint16_t" name="v_acc" units="cm">Altitude uncertainty.</field>
  940. <field type="float" name="yaw" units="deg">Attitude euler yaw.</field>
  941. <field type="float" name="pitch" units="deg">Attitude euler pitch.</field>
  942. <field type="uint8_t" name="hsv_num">Number of satellites for heading ANT</field>
  943. <field type="uint8_t" name="att_err">refer to mosaic_h reference page 336.</field>
  944. <field type="uint8_t" name="att_mode">refer to mosaic_h reference page 336.</field>
  945. <field type="uint8_t" name="reserved">reserved</field>
  946. </message>
  947. <message id="53008" name="VK_DIGI_ESC_STATUS">
  948. <description>Mosaic_h gps raw data</description>
  949. <field type="uint8_t" name="index" instance="true">Index of the first ESC in this message.
  950. minValue = 0, maxValue = 60, increment = 4.</field>
  951. <field type="uint32_t" name="timestamp" units="ms">Timestamp from system boot.</field>
  952. <field type="int32_t[4]" name="rpm" units="rpm">Reported motor RPM from each ESC (negative for
  953. reverse rotation).</field>
  954. <field type="float[4]" name="voltage" units="V">Voltage measured from each ESC.</field>
  955. <field type="float[4]" name="current" units="A">Current measured from each ESC.</field>
  956. <field type="int16_t[4]" name="temperature" units="degC">Temperature measured from each ESC.</field>
  957. <field type="uint32_t[4]" name="status">Status data from each ESC.</field>
  958. </message>
  959. <message id="53009" name="VK_FIXEDWING_CONTROL_VALUE">
  960. <description>Mosaic_h gps raw data</description>
  961. <field type="uint32_t" name="timestamp" units="ms">Timestamp from system boot.</field>
  962. <field type="float" name="roll_value" minValue="-1.0" maxValue="1.0">Roll control value,
  963. negative value means roll left.</field>
  964. <field type="float" name="pitch_value" minValue="-1.0" maxValue="1.0">Pitch control value,
  965. negative value means pitch down.</field>
  966. <field type="float" name="throttle_value" minValue="-1.0" maxValue="1.0">Throttle control
  967. value, negative value means throttle off</field>
  968. <field type="float" name="yaw_value" minValue="-1.0" maxValue="1.0">Throttle control
  969. value, negative value means turn left</field>
  970. </message>
  971. <message id="53010" name="VK_FIXEDWING_SERVO_SIGNAL">
  972. <description>Mosaic_h gps raw data</description>
  973. <field type="uint32_t" name="timestamp" units="ms">Timestamp from system boot.</field>
  974. <field type="uint16_t[16]" name="servo_signal">Servo signal</field>
  975. </message>
  976. <message id="53011" name="VK_FIXEDWING_RTL_CIRCLE_WP">
  977. <description></description>
  978. <field type="int32_t" name="latitude" units="degE7">Latitude in wgs84</field>
  979. <field type="int32_t" name="longitude" units="degE7">Longitude in wgs84</field>
  980. <field type="float" name="altitude" units="m">Relativ altitude</field>
  981. <field type="float" name="radius" units="m">Radius in m, NAN means use default radius.</field>
  982. </message>
  983. <message id="53020" name="VK_PARACHUTE_STATUS">
  984. <description>parachute status</description>
  985. <field type="uint32_t" name="timestamp" units="ms">timestamp from system boot</field>
  986. <field type="uint8_t" name="state" minValue="0" maxValue="3" increment="1">parachute state</field>
  987. <field type="uint8_t" name="auto_launch"> is auto launch enabled</field>
  988. <field type="uint8_t" name="uav_cmd"> uav command from parachute</field>
  989. <field type="uint16_t" name="err_code">parachute error code </field>
  990. <field type="float" name="backvolt">parachute backup voltage</field>
  991. </message>
  992. <message id="53021" name="VK_WEIGHER_STATE">
  993. <description>Weigher state</description>
  994. <field type="uint32_t" name="timestamp" units="ms">timestamp from system boot</field>
  995. <field type="uint32_t" name="weight" units="g">weight in gram</field>
  996. <field type="uint16_t" name="weight_d">weight variant rate</field>
  997. <field type="uint8_t" name="work_state"></field>
  998. <field type="uint8_t" name="err_code"></field>
  999. </message>
  1000. <message id="53022" name="VK_PAYLOAD_DATA_RELAY">
  1001. <description>VK payload message relay</description>
  1002. <field type="uint16_t" name="payload_addr">payload address code</field>
  1003. <field type="uint8_t" name="reserve">reserve</field>
  1004. <field type="uint8_t" name="data_len">data field length in bytes</field>
  1005. <field type="uint8_t[128]" name="data">data to relay</field>
  1006. </message>
  1007. <message id="53023" name="VK_EXTERNAL_INS_NAV">
  1008. <description>VK external INS navigation</description>
  1009. <field type="uint32_t" name="timestamp" units="ms">timestamp from system boot</field>
  1010. <field type="int32_t" name="lon" units="degE7">solved longitude</field>
  1011. <field type="int32_t" name="lat" units="degE7">solved latitude</field>
  1012. <field type="float" name="msl" units="m">solved latitude</field>
  1013. <field type="float" name="ve" units="m/s">solved east speed</field>
  1014. <field type="float" name="vn" units="m/s">solved north speed</field>
  1015. <field type="float" name="vu" units="m/s">solved up speed</field>
  1016. <field type="float" name="yaw" units="deg">yaw angle</field>
  1017. <field type="float" name="pitch" units="deg">pitch angle</field>
  1018. <field type="float" name="roll" units="deg">roll angle</field>
  1019. <field type="float" name="gx" units="deg/s">roll angle</field>
  1020. <field type="float" name="gy" units="deg/s">roll angle</field>
  1021. <field type="float" name="gz" units="deg/s">roll angle</field>
  1022. <field type="float" name="ax" units="m/s/s">roll angle</field>
  1023. <field type="float" name="ay" units="m/s/s">roll angle</field>
  1024. <field type="float" name="az" units="m/s/s">roll angle</field>
  1025. <field type="int32_t" name="sat_lon" units="degE7">gps longitude</field>
  1026. <field type="int32_t" name="sat_lat" units="degE7">gps latitude</field>
  1027. <field type="float" name="sat_msl" units="m">gps altitude</field>
  1028. <field type="float" name="sat_ve" units="m/s">gps east speed</field>
  1029. <field type="float" name="sat_vn" units="m/s">gps north speed</field>
  1030. <field type="float" name="sat_vu" units="m/s">gps up speed</field>
  1031. <field type="uint8_t" name="sat_pfix">gps position fix</field>
  1032. <field type="uint8_t" name="sat_hfix">gps heading fix</field>
  1033. <field type="uint8_t" name="wk_state">work state</field>
  1034. <field type="uint8_t" name="err_code">error code</field>
  1035. </message>
  1036. <message id="53100" name="VK_FW_UPDATE_BEGIN">
  1037. <description>VKFLY autopilot update firmware begin. This message send from GCS to autopilot. </description>
  1038. <field type="uint8_t" name="target_system">Target system id.</field>
  1039. <field type="uint8_t" name="target_comp">Target compid id.</field>
  1040. <field type="uint32_t" name="file_size" units="bytes">Size of the firmware file in bytes.</field>
  1041. </message>
  1042. <message id="53101" name="VK_FW_UPDATE_ACK">
  1043. <description>VKFLY udpate acknowledge.</description>
  1044. <field type="uint8_t" name="result" enum="MAV_RESULT">Update begin ack.</field>
  1045. </message>
  1046. <message id="53102" name="VK_FW_UPDATE_DATA_REQUEST">
  1047. <description>VKFLY autopilot request update file data from GCS. </description>
  1048. <field type="uint32_t" name="offset">Offset into the update file.</field>
  1049. <field type="uint32_t" name="count">Number of bytes.</field>
  1050. </message>
  1051. <message id="53103" name="VK_FW_UPDATE_DATA">
  1052. <description>VKFLY transfer update file data.</description>
  1053. <field type="uint32_t" name="offset">Offset into the update file.</field>
  1054. <field type="uint8_t" name="count" minValue="0" maxValue="128" increment="1">Number of bytes.
  1055. Zero for end of file.</field>
  1056. <field type="uint8_t[128]" name="data">File data.</field>
  1057. </message>
  1058. <message id="53104" name="VK_UPDATE_TERMINATE">
  1059. <description>VKFLY transfer update terminate. Send this message to terminate a update file
  1060. transfer.</description>
  1061. <field type="uint8_t" name="target_system">Target system id.</field>
  1062. <field type="uint8_t" name="target_comp">Target compid id.</field>
  1063. </message>
  1064. <message id="53300" name="QINGXIE_BMS">
  1065. <description>VKFLY transfer update terminate. Send this message to terminate a update file
  1066. transfer.</description>
  1067. <field type="uint16_t" name="bat_voltage" units="cV">Battery voltage.</field>
  1068. <field type="uint16_t" name="servo_current" units="cA">Servo current.</field>
  1069. <field type="uint16_t" name="stack_voltage" units="cV">Stack voltage.</field>
  1070. <field type="uint16_t" name="servo_voltage" units="cV">Servo voltage.</field>
  1071. <field type="uint16_t" name="bat_refuel_current" units="cA">Battery refuel current.</field>
  1072. <field type="uint16_t" name="gas_tank_pressure">Gas tank pressure.</field>
  1073. <field type="uint16_t" name="pipe_pressure">Pipe pressure.</field>
  1074. <field type="uint16_t" name="pcb_temp">PCB temperature.</field>
  1075. <field type="uint16_t" name="stack_temp">Stack temperature.</field>
  1076. <field type="uint16_t" name="work_status"></field>
  1077. <field type="uint16_t" name="falt_status"></field>
  1078. <field type="uint8_t" name="self_check"></field>
  1079. <field type="uint8_t" name="Id"></field>
  1080. <extensions />
  1081. <field type="uint16_t" name="gass_mass" units="dg"></field>
  1082. <field type="uint16_t" name="gass_percent" units="%"></field>
  1083. <field type="uint16_t" name="runtime_remain"></field>
  1084. <field type="uint8_t" name="fan_percent"></field>
  1085. <field type="uint8_t" name="fan_rpm"></field>
  1086. <field type="uint8_t" name="sys_run_state"> </field>
  1087. <field type="uint8_t" name="sys_fault_state"> </field>
  1088. <field type="uint16_t" name="sys_fault_code"> </field>
  1089. <field type="uint16_t" name="lipo_current" units="dA"> </field>
  1090. <field type="uint16_t" name="total_runtime" units="dh"></field>
  1091. </message>
  1092. </messages>
  1093. </mavlink>