VKFly.h 118 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814
  1. /** @file
  2. * @brief MAVLink comm protocol generated from VKFly.xml
  3. * @see http://mavlink.org
  4. */
  5. #pragma once
  6. #ifndef MAVLINK_VKFLY_H
  7. #define MAVLINK_VKFLY_H
  8. #ifndef MAVLINK_H
  9. #error Wrong include order: MAVLINK_VKFLY.H MUST NOT BE DIRECTLY USED. Include mavlink.h from the same directory instead or set ALL AND EVERY defines from MAVLINK.H manually accordingly, including the #define MAVLINK_H call.
  10. #endif
  11. #define MAVLINK_VKFLY_XML_HASH 6608795056306455779
  12. #ifdef __cplusplus
  13. extern "C" {
  14. #endif
  15. // MESSAGE LENGTHS AND CRCS
  16. #ifndef MAVLINK_MESSAGE_LENGTHS
  17. #define MAVLINK_MESSAGE_LENGTHS {}
  18. #endif
  19. #ifndef MAVLINK_MESSAGE_CRCS
  20. #define MAVLINK_MESSAGE_CRCS {{0, 50, 9, 9, 0, 0, 0}, {1, 124, 31, 43, 0, 0, 0}, {2, 137, 12, 12, 0, 0, 0}, {4, 237, 14, 14, 3, 12, 13}, {5, 217, 28, 28, 1, 0, 0}, {6, 104, 3, 3, 0, 0, 0}, {7, 119, 32, 32, 0, 0, 0}, {8, 117, 36, 36, 0, 0, 0}, {11, 89, 6, 6, 1, 4, 0}, {20, 214, 20, 20, 3, 2, 3}, {21, 159, 2, 2, 3, 0, 1}, {22, 220, 25, 25, 0, 0, 0}, {23, 168, 23, 23, 3, 4, 5}, {24, 24, 30, 52, 0, 0, 0}, {25, 23, 101, 101, 0, 0, 0}, {26, 170, 22, 24, 0, 0, 0}, {27, 144, 26, 29, 0, 0, 0}, {28, 67, 16, 16, 0, 0, 0}, {29, 115, 14, 16, 0, 0, 0}, {30, 39, 28, 28, 0, 0, 0}, {31, 246, 32, 48, 0, 0, 0}, {32, 185, 28, 28, 0, 0, 0}, {33, 104, 28, 28, 0, 0, 0}, {34, 237, 22, 22, 0, 0, 0}, {35, 244, 22, 22, 0, 0, 0}, {36, 222, 21, 37, 0, 0, 0}, {37, 212, 6, 7, 3, 4, 5}, {38, 9, 6, 7, 3, 4, 5}, {39, 254, 37, 38, 3, 32, 33}, {40, 230, 4, 5, 3, 2, 3}, {41, 28, 4, 4, 3, 2, 3}, {42, 28, 2, 18, 0, 0, 0}, {43, 132, 2, 3, 3, 0, 1}, {44, 221, 4, 9, 3, 2, 3}, {45, 232, 2, 3, 3, 0, 1}, {46, 11, 2, 2, 0, 0, 0}, {47, 153, 3, 8, 3, 0, 1}, {48, 41, 13, 21, 1, 12, 0}, {49, 39, 12, 20, 0, 0, 0}, {50, 78, 37, 37, 3, 18, 19}, {51, 196, 4, 5, 3, 2, 3}, {54, 15, 27, 27, 3, 24, 25}, {55, 3, 25, 25, 0, 0, 0}, {61, 167, 72, 72, 0, 0, 0}, {62, 183, 26, 26, 0, 0, 0}, {63, 119, 181, 181, 0, 0, 0}, {64, 191, 225, 225, 0, 0, 0}, {65, 118, 42, 42, 0, 0, 0}, {66, 148, 6, 6, 3, 2, 3}, {67, 21, 4, 4, 0, 0, 0}, {69, 243, 11, 30, 1, 10, 0}, {70, 124, 18, 38, 3, 16, 17}, {73, 38, 37, 38, 3, 32, 33}, {74, 20, 20, 20, 0, 0, 0}, {75, 158, 35, 35, 3, 30, 31}, {76, 152, 33, 33, 3, 30, 31}, {77, 143, 3, 10, 3, 8, 9}, {80, 14, 4, 4, 3, 2, 3}, {81, 106, 22, 22, 0, 0, 0}, {82, 49, 39, 51, 3, 36, 37}, {83, 22, 37, 37, 0, 0, 0}, {84, 143, 53, 53, 3, 50, 51}, {85, 140, 51, 51, 0, 0, 0}, {86, 5, 53, 53, 3, 50, 51}, {87, 150, 51, 51, 0, 0, 0}, {89, 231, 28, 28, 0, 0, 0}, {90, 183, 56, 56, 0, 0, 0}, {91, 63, 42, 42, 0, 0, 0}, {92, 54, 33, 33, 0, 0, 0}, {93, 47, 81, 81, 0, 0, 0}, {100, 175, 26, 34, 0, 0, 0}, {101, 102, 32, 117, 0, 0, 0}, {102, 158, 32, 117, 0, 0, 0}, {103, 208, 20, 57, 0, 0, 0}, {104, 56, 32, 116, 0, 0, 0}, {105, 93, 62, 63, 0, 0, 0}, {106, 138, 44, 44, 0, 0, 0}, {107, 108, 64, 65, 0, 0, 0}, {108, 32, 84, 92, 0, 0, 0}, {109, 185, 9, 9, 0, 0, 0}, {110, 84, 254, 254, 3, 1, 2}, {111, 34, 16, 18, 3, 16, 17}, {112, 174, 12, 12, 0, 0, 0}, {113, 124, 36, 39, 0, 0, 0}, {114, 237, 44, 44, 0, 0, 0}, {115, 4, 64, 64, 0, 0, 0}, {116, 76, 22, 24, 0, 0, 0}, {117, 128, 6, 6, 3, 4, 5}, {118, 56, 14, 14, 0, 0, 0}, {119, 116, 12, 12, 3, 10, 11}, {120, 134, 97, 97, 0, 0, 0}, {121, 237, 2, 2, 3, 0, 1}, {122, 203, 2, 2, 3, 0, 1}, {123, 250, 113, 113, 3, 0, 1}, {124, 87, 35, 57, 0, 0, 0}, {125, 203, 6, 6, 0, 0, 0}, {126, 220, 79, 81, 3, 79, 80}, {127, 25, 35, 35, 0, 0, 0}, {128, 226, 35, 35, 0, 0, 0}, {129, 46, 22, 24, 0, 0, 0}, {130, 29, 13, 13, 0, 0, 0}, {131, 223, 255, 255, 0, 0, 0}, {132, 85, 14, 39, 0, 0, 0}, {133, 6, 18, 18, 0, 0, 0}, {134, 229, 43, 43, 0, 0, 0}, {135, 203, 8, 8, 0, 0, 0}, {136, 1, 22, 22, 0, 0, 0}, {137, 195, 14, 16, 0, 0, 0}, {138, 109, 36, 120, 0, 0, 0}, {139, 168, 43, 43, 3, 41, 42}, {140, 181, 41, 41, 0, 0, 0}, {141, 47, 32, 32, 0, 0, 0}, {142, 72, 243, 243, 0, 0, 0}, {143, 131, 14, 16, 0, 0, 0}, {144, 127, 93, 93, 0, 0, 0}, {146, 103, 100, 100, 0, 0, 0}, {147, 154, 36, 54, 0, 0, 0}, {148, 178, 60, 78, 0, 0, 0}, {149, 200, 30, 60, 0, 0, 0}, {162, 189, 8, 9, 0, 0, 0}, {192, 36, 44, 54, 0, 0, 0}, {225, 208, 65, 73, 0, 0, 0}, {230, 163, 42, 42, 0, 0, 0}, {231, 105, 40, 40, 0, 0, 0}, {232, 151, 63, 65, 0, 0, 0}, {233, 35, 182, 182, 0, 0, 0}, {234, 150, 40, 40, 0, 0, 0}, {235, 179, 42, 42, 0, 0, 0}, {241, 90, 32, 32, 0, 0, 0}, {242, 104, 52, 60, 0, 0, 0}, {243, 85, 53, 61, 1, 52, 0}, {244, 95, 6, 6, 0, 0, 0}, {245, 130, 2, 2, 0, 0, 0}, {246, 184, 38, 38, 0, 0, 0}, {247, 81, 19, 19, 0, 0, 0}, {248, 8, 254, 254, 3, 3, 4}, {249, 204, 36, 36, 0, 0, 0}, {250, 49, 30, 30, 0, 0, 0}, {251, 170, 18, 18, 0, 0, 0}, {252, 44, 18, 18, 0, 0, 0}, {253, 83, 51, 54, 0, 0, 0}, {254, 46, 9, 9, 0, 0, 0}, {256, 71, 42, 42, 3, 8, 9}, {257, 131, 9, 9, 0, 0, 0}, {258, 187, 32, 232, 3, 0, 1}, {259, 92, 235, 236, 0, 0, 0}, {260, 146, 5, 13, 0, 0, 0}, {261, 179, 27, 61, 0, 0, 0}, {262, 12, 18, 22, 0, 0, 0}, {263, 133, 255, 255, 0, 0, 0}, {264, 49, 28, 32, 0, 0, 0}, {265, 26, 16, 20, 0, 0, 0}, {266, 193, 255, 255, 3, 2, 3}, {267, 35, 255, 255, 3, 2, 3}, {268, 14, 4, 4, 3, 2, 3}, {269, 109, 213, 213, 0, 0, 0}, {270, 59, 19, 19, 0, 0, 0}, {271, 22, 52, 52, 0, 0, 0}, {275, 126, 31, 31, 0, 0, 0}, {276, 18, 49, 49, 0, 0, 0}, {280, 70, 33, 33, 0, 0, 0}, {281, 48, 13, 13, 0, 0, 0}, {282, 123, 35, 35, 3, 32, 33}, {283, 74, 144, 145, 0, 0, 0}, {284, 99, 32, 32, 3, 30, 31}, {285, 137, 40, 49, 3, 38, 39}, {286, 210, 53, 57, 3, 50, 51}, {287, 1, 23, 23, 3, 20, 21}, {288, 20, 23, 23, 3, 20, 21}, {290, 251, 46, 46, 0, 0, 0}, {291, 10, 57, 57, 0, 0, 0}, {299, 19, 96, 98, 0, 0, 0}, {300, 217, 22, 22, 0, 0, 0}, {301, 243, 58, 58, 0, 0, 0}, {310, 28, 17, 17, 0, 0, 0}, {311, 95, 116, 116, 0, 0, 0}, {320, 243, 20, 20, 3, 2, 3}, {321, 88, 2, 2, 3, 0, 1}, {322, 243, 149, 149, 0, 0, 0}, {323, 78, 147, 147, 3, 0, 1}, {324, 132, 146, 146, 0, 0, 0}, {330, 23, 158, 167, 0, 0, 0}, {331, 91, 230, 233, 0, 0, 0}, {332, 236, 239, 239, 0, 0, 0}, {333, 231, 109, 109, 0, 0, 0}, {334, 72, 10, 10, 0, 0, 0}, {335, 225, 24, 24, 0, 0, 0}, {336, 245, 84, 84, 0, 0, 0}, {339, 199, 5, 5, 0, 0, 0}, {340, 99, 70, 70, 0, 0, 0}, {350, 232, 20, 252, 0, 0, 0}, {360, 11, 25, 25, 0, 0, 0}, {370, 26, 140, 140, 0, 0, 0}, {373, 117, 42, 42, 0, 0, 0}, {375, 251, 140, 140, 0, 0, 0}, {380, 232, 20, 20, 0, 0, 0}, {385, 147, 133, 133, 3, 2, 3}, {386, 132, 16, 16, 3, 4, 5}, {387, 4, 72, 72, 3, 4, 5}, {388, 8, 37, 37, 3, 32, 33}, {390, 156, 238, 238, 0, 0, 0}, {395, 0, 212, 212, 0, 0, 0}, {397, 182, 108, 108, 0, 0, 0}, {400, 110, 254, 254, 3, 4, 5}, {401, 183, 6, 6, 3, 4, 5}, {410, 160, 53, 53, 0, 0, 0}, {411, 106, 3, 3, 0, 0, 0}, {412, 33, 6, 6, 3, 4, 5}, {413, 77, 7, 7, 3, 4, 5}, {9000, 113, 137, 137, 0, 0, 0}, {9005, 117, 34, 34, 0, 0, 0}, {12900, 114, 44, 44, 3, 0, 1}, {12901, 254, 59, 59, 3, 30, 31}, {12902, 140, 53, 53, 3, 4, 5}, {12903, 249, 46, 46, 3, 0, 1}, {12904, 77, 54, 54, 3, 28, 29}, {12905, 49, 43, 43, 3, 0, 1}, {12915, 94, 249, 249, 3, 0, 1}, {12918, 139, 51, 51, 0, 0, 0}, {12919, 7, 18, 18, 3, 16, 17}, {12920, 20, 5, 5, 0, 0, 0}, {53000, 22, 37, 37, 0, 0, 0}, {53001, 136, 25, 25, 0, 0, 0}, {53002, 75, 18, 18, 0, 0, 0}, {53003, 200, 83, 83, 0, 0, 0}, {53004, 219, 45, 53, 0, 0, 0}, {53005, 145, 37, 37, 0, 0, 0}, {53006, 227, 98, 98, 0, 0, 0}, {53007, 113, 52, 52, 0, 0, 0}, {53008, 110, 77, 77, 0, 0, 0}, {53009, 226, 20, 20, 0, 0, 0}, {53010, 33, 36, 36, 0, 0, 0}, {53011, 128, 16, 16, 0, 0, 0}, {53020, 45, 13, 13, 0, 0, 0}, {53021, 89, 12, 12, 0, 0, 0}, {53022, 37, 132, 132, 0, 0, 0}, {53023, 115, 92, 92, 0, 0, 0}, {53024, 87, 40, 40, 0, 0, 0}, {53025, 24, 55, 55, 0, 0, 0}, {53026, 148, 12, 12, 0, 0, 0}, {53100, 39, 6, 6, 1, 4, 0}, {53101, 98, 1, 1, 0, 0, 0}, {53102, 78, 8, 8, 0, 0, 0}, {53103, 166, 133, 133, 0, 0, 0}, {53104, 158, 2, 2, 1, 0, 0}, {53200, 45, 76, 76, 0, 0, 0}, {53300, 114, 24, 40, 0, 0, 0}}
  21. #endif
  22. #include "../protocol.h"
  23. #define MAVLINK_ENABLED_VKFLY
  24. // ENUM DEFINITIONS
  25. /** @brief Drone airframe */
  26. #ifndef HAVE_ENUM_VKFLY_AP_TYPE
  27. #define HAVE_ENUM_VKFLY_AP_TYPE
  28. typedef enum VKFLY_AP_TYPE
  29. {
  30. VKFLY_AP_TYPE_I4=41, /* Quadrotor I4 | */
  31. VKFLY_AP_TYPE_X4=42, /* Quadrotor X4 | */
  32. VKFLY_AP_TYPE_X4R=43, /* Quadrotor X4 reverse | */
  33. VKFLY_AP_TYPE_I6=61, /* Hexarotor I6 | */
  34. VKFLY_AP_TYPE_X6=62, /* Hexarotor X6 | */
  35. VKFLY_AP_TYPE_YI6D=63, /* Three axis hexarotor YI6D | */
  36. VKFLY_AP_TYPE_Y6D=64, /* Three axis hexarotor Y6D | */
  37. VKFLY_AP_TYPE_H6=65, /* Hexarotor H6 | */
  38. VKFLY_AP_TYPE_I8=81, /* Octorotor I8 | */
  39. VKFLY_AP_TYPE_X8=82, /* Octorotor X8 | */
  40. VKFLY_AP_TYPE_4X8M=83, /* Four axis octorotor, upper level X4, lower level reversed X4. | */
  41. VKFLY_AP_TYPE_4X8D=84, /* Four axis octorotor, upper level clockwise, lower level anticlockwise | */
  42. VKFLY_AP_TYPE_4X8MR=85, /* Four axis octorotor, all rotors are opposite of 4X8M. | */
  43. VKFLY_AP_TYPE_4X8DR=86, /* Four axis octorotor, all rotors are opposite of 4X8M. | */
  44. VKFLY_AP_TYPE_6I12=121, /* Six axis twelve rotor, upper level I6, lower lever opposite with I6. | */
  45. VKFLY_AP_TYPE_6X12=122, /* Six axis twelve rotor, upper level X6, lower lever opposite with X6. | */
  46. VKFLY_AP_TYPE_6H12=123, /* Six axis twelve rotor, upper level H6, lower lever opposite with H6. | */
  47. VKFLY_AP_TYPE_8I16=161, /* 8 axis 16 rotor, upper level I8, lower lever opposite with I8 | */
  48. VKFLY_AP_TYPE_8X16=162, /* 8 axis 16 rotor, upper level X8, lower lever opposite with X8 | */
  49. VKFLY_AP_TYPE_ENUM_END=163, /* | */
  50. } VKFLY_AP_TYPE;
  51. #endif
  52. /** @brief Fixedwing airframe */
  53. #ifndef HAVE_ENUM_VKFLY_FIXEDWING_AP_TYPE
  54. #define HAVE_ENUM_VKFLY_FIXEDWING_AP_TYPE
  55. typedef enum VKFLY_FIXEDWING_AP_TYPE
  56. {
  57. VKFLY_FIXEDWING_AP_TYPE_T_TAIL=0, /* | */
  58. VKFLY_FIXEDWING_AP_TYPE_V_TAIL=1, /* | */
  59. VKFLY_FIXEDWING_AP_TYPE_TRIANGLE=2, /* | */
  60. VKFLY_FIXEDWING_AP_TYPE_TANDEM=3, /* | */
  61. VKFLY_FIXEDWING_AP_TYPE_V_TAIL_REV=4, /* | */
  62. VKFLY_FIXEDWING_AP_TYPE_CUSTOM1=5, /* | */
  63. VKFLY_FIXEDWING_AP_TYPE_CUSTOM2=6, /* | */
  64. VKFLY_FIXEDWING_AP_TYPE_CUSTOM3=7, /* | */
  65. VKFLY_FIXEDWING_AP_TYPE_ENUM_END=8, /* | */
  66. } VKFLY_FIXEDWING_AP_TYPE;
  67. #endif
  68. /** @brief user define compnent id, 0-all 1-autopilot */
  69. #ifndef HAVE_ENUM_VKFLY_USER_COMP_ID
  70. #define HAVE_ENUM_VKFLY_USER_COMP_ID
  71. typedef enum VKFLY_USER_COMP_ID
  72. {
  73. VKFLY_COMP_ID_VKGPSA=3, /* | */
  74. VKFLY_COMP_ID_VKGPSB=4, /* | */
  75. VKFLY_COMP_ID_RFD_F=5, /* | */
  76. VKFLY_COMP_ID_RFD_R=6, /* | */
  77. VKFLY_COMP_ID_RFD_D=7, /* | */
  78. VKFLY_COMP_ID_RFD_360=8, /* | */
  79. VKFLY_COMP_ID_RTK=9, /* | */
  80. VKFLY_COMP_ID_BAT0=10, /* | */
  81. VKFLY_COMP_ID_BAT1=11, /* | */
  82. VKFLY_COMP_ID_BAT2=12, /* | */
  83. VKFLY_COMP_ID_BAT3=13, /* | */
  84. VKFLY_COMP_ID_BAT4=14, /* | */
  85. VKFLY_COMP_ID_BAT5=15, /* | */
  86. VKFLY_COMP_ID_ECU0=16, /* | */
  87. VKFLY_COMP_ID_ECU1=17, /* | */
  88. VKFLY_COMP_ID_ECU2=18, /* | */
  89. VKFLY_COMP_ID_ECU3=19, /* | */
  90. VKFLY_COMP_ID_WEIGHER=20, /* | */
  91. VKFLY_COMP_ID_PARACHUTE=21, /* | */
  92. VKFLY_COMP_ID_BAT6=22, /* | */
  93. VKFLY_COMP_ID_BAT7=23, /* | */
  94. VKFLY_COMP_ID_BAT8=24, /* | */
  95. VKFLY_COMP_ID_BAT9=25, /* | */
  96. VKFLY_COMP_ID_ASPD0=30, /* | */
  97. VKFLY_COMP_ID_ASPD1=31, /* | */
  98. VKFLY_COMP_ID_EV2FMUB=32, /* | */
  99. VKFLY_USER_COMP_ID_ENUM_END=33, /* | */
  100. } VKFLY_USER_COMP_ID;
  101. #endif
  102. /** @brief Failsafe action */
  103. #ifndef HAVE_ENUM_VKFLY_FS_ACTION
  104. #define HAVE_ENUM_VKFLY_FS_ACTION
  105. typedef enum VKFLY_FS_ACTION
  106. {
  107. FAIL_SAFE_ACT_NONE=0, /* Do nothing | */
  108. FAIL_SAFE_ACT_LOITER=1, /* Hold position for rotor wing. Loiter for fixedwing. | */
  109. FAIL_SAFE_ACT_RTL=2, /* Return to lauch. | */
  110. FAIL_SAFE_ACT_RTR=3, /* Go to the nearest rally point. | */
  111. FAIL_SAFE_ACT_LAND=4, /* Landing in place. | */
  112. FAIL_SAFE_ACT_LOCK=5, /* Terminate servo output and disarm the drone. | */
  113. VKFLY_FS_ACTION_ENUM_END=6, /* | */
  114. } VKFLY_FS_ACTION;
  115. #endif
  116. /** @brief Bitmap for ROI state */
  117. #ifndef HAVE_ENUM_VKFLY_ROI_STATE
  118. #define HAVE_ENUM_VKFLY_ROI_STATE
  119. typedef enum VKFLY_ROI_STATE
  120. {
  121. VKFLY_ROI_GIMBAL=1, /* Do nothing | */
  122. VKFLY_ROI_DRONE_HEAD=2, /* Do nothing | */
  123. VKFLY_ROI_STATE_ENUM_END=3, /* | */
  124. } VKFLY_ROI_STATE;
  125. #endif
  126. /** @brief Arm denied reason for VKFLY */
  127. #ifndef HAVE_ENUM_VKFLY_ARM_DENIED_REASON
  128. #define HAVE_ENUM_VKFLY_ARM_DENIED_REASON
  129. typedef enum VKFLY_ARM_DENIED_REASON
  130. {
  131. VKFLY_ARM_DENIED_REASON_NONE=0, /* | */
  132. VKFLY_ARM_DENIED_NO_INS=1, /* | */
  133. VKFLY_ARM_DENIED_SPD_OVER_LIM=2, /* | */
  134. VKFLY_ARM_DENIED_ACC_OVER_LIM=3, /* | */
  135. VKFLY_ARM_DENIED_GYR_OVER_LIM=4, /* | */
  136. VKFLY_ARM_DENIED_GPS_ERR=5, /* | */
  137. VKFLY_ARM_DENIED_IMU_ERR=6, /* | */
  138. VKFLY_ARM_DENIED_POS_NOT_FIXED=7, /* | */
  139. VKFLY_ARM_DENIED_RTK_NOT_FIXED=8, /* | */
  140. VKFLY_ARM_DENIED_MAG_ERR=9, /* | */
  141. VKFLY_ARM_DENIED_RESERVE=10, /* | */
  142. VKFLY_ARM_DENIED_TEMP_OVER_LIM=11, /* | */
  143. VKFLY_ARM_DENIED_OUT_FENCE=13, /* | */
  144. VKFLY_ARM_DENIED_LOW_BAT_VOLT=14, /* | */
  145. VKFLY_ARM_DENIED_LOW_BAT_CAP=15, /* | */
  146. VKFLY_ARM_DENIED_BAT_BMS_FAULT=16, /* | */
  147. VKFLY_ARM_DENIED_SERVO_FAULT=17, /* | */
  148. VKFLY_ARM_DENIED_LEAN_ANG=18, /* | */
  149. VKFLY_ARM_DENIED_IN_CALIBRATION=19, /* | */
  150. VKFLY_ARM_DENIED_HYDRO_BMS_CHECK_ERR=20, /* | */
  151. VKFLY_ARM_DENIED_FUEL_LOW=21, /* | */
  152. VKFLY_ARM_DENIED_H2P_LOW=22, /* | */
  153. VKFLY_ARM_DENIED_EXT_NAV_ERR=23, /* | */
  154. VKFLY_ARM_DENIED_REASON_ENUM_END=24, /* | */
  155. } VKFLY_ARM_DENIED_REASON;
  156. #endif
  157. /** @brief VKins magcalib stage */
  158. #ifndef HAVE_ENUM_VKFLY_MAGCALIB_STAGE
  159. #define HAVE_ENUM_VKFLY_MAGCALIB_STAGE
  160. typedef enum VKFLY_MAGCALIB_STAGE
  161. {
  162. VK_MAGCALIB_NONE=0, /* Not in calibration. | */
  163. VK_MAGCALIB_XY=1, /* Calibrating X-Y level. | */
  164. VK_MAGCALIB_XZ=2, /* Calibrating X-Z level. | */
  165. VK_MAGCALIB_DONE=3, /* Calibrating successfully done. | */
  166. VK_MAGCALIB_FAIL=4, /* Calibrating failed. | */
  167. VKFLY_MAGCALIB_STAGE_ENUM_END=5, /* | */
  168. } VKFLY_MAGCALIB_STAGE;
  169. #endif
  170. /** @brief For SYS_STATUS sensor extend flag use. */
  171. #ifndef HAVE_ENUM_VKFLY_SYS_STATUS_SENSOR_EXTEND
  172. #define HAVE_ENUM_VKFLY_SYS_STATUS_SENSOR_EXTEND
  173. typedef enum VKFLY_SYS_STATUS_SENSOR_EXTEND
  174. {
  175. VKFLY_SYS_STATUS_SENSOR_GPS2=4, /* GPS2 | */
  176. VKFLY_SYS_STATUS_SENSOR_RTK_GPS=8, /* RTK GPS | */
  177. VKFLY_SYS_STATUS_SDCARD=16, /* Onboard SD card | */
  178. VKFLY_SYS_STATUS_SENSOR_EXTEND_ENUM_END=17, /* | */
  179. } VKFLY_SYS_STATUS_SENSOR_EXTEND;
  180. #endif
  181. /** @brief bitmap for SYS_STATUS error1 */
  182. #ifndef HAVE_ENUM_VKFLY_SYS_ERROR1
  183. #define HAVE_ENUM_VKFLY_SYS_ERROR1
  184. typedef enum VKFLY_SYS_ERROR1
  185. {
  186. VKFLY_SYS_ERROR1_GCS_LINK_LOST=1, /* Gcs link lost. | */
  187. VKFLY_SYS_ERROR1_VOLTAGE_LOW=2, /* Battery voltage low. | */
  188. VKFLY_SYS_ERROR1_MOTOR_BALANCE=4, /* Servo output balance bad. | */
  189. VKFLY_SYS_ERROR1_MOTOR_FAIL=8, /* Servo ouput fault. | */
  190. VKFLY_SYS_ERROR1_OVERHEAT=16, /* Autopilot system temperature too high. | */
  191. VKFLY_SYS_ERROR1_INS_INVALID=32, /* Autopilot system solved positioning not ready. | */
  192. VKFLY_SYS_ERROR1_OUT_FENCE=64, /* Position out of fence range. | */
  193. VKFLY_SYS_ERROR1_OBV_LINK_LOST=128, /* Obv mavlink com link lost. | */
  194. VKFLY_SYS_ERROR1_BATBMS_LINK_LOST=256, /* Battery bms link lost. | */
  195. VKFLY_SYS_ERROR1_ECU_FUEL_LOW=512, /* Battery bms link lost. | */
  196. VKFLY_SYS_ERROR1_ECU_LINK_LOST=1024, /* Battery bms link lost. | */
  197. VKFLY_SYS_ERROR1_H2P_LOW=2048, /* Battery bms link lost. | */
  198. VKFLY_SYS_ERROR1_OVER_WEIGHT=4096, /* Battery bms link lost. | */
  199. VKFLY_SYS_ERROR1_ENUM_END=4097, /* | */
  200. } VKFLY_SYS_ERROR1;
  201. #endif
  202. /** @brief bitmap for SYS_STATUS error3 */
  203. #ifndef HAVE_ENUM_VKFLY_SYS_ERROR3
  204. #define HAVE_ENUM_VKFLY_SYS_ERROR3
  205. typedef enum VKFLY_SYS_ERROR3
  206. {
  207. VKFLY_SYS_ERROR3_MAG0_DISTURB=1, /* | */
  208. VKFLY_SYS_ERROR3_MAG1_DISTURB=2, /* | */
  209. VKFLY_SYS_ERROR3_IMU0_ERROR=4, /* | */
  210. VKFLY_SYS_ERROR3_IMU1_ERROR=8, /* | */
  211. VKFLY_SYS_ERROR3_BARO0_ERROR=16, /* | */
  212. VKFLY_SYS_ERROR3_GPS0_ERROR=32, /* | */
  213. VKFLY_SYS_ERROR3_GPS1_ERROR=64, /* | */
  214. VKFLY_SYS_ERROR3_RTK_ERROR=128, /* | */
  215. VKFLY_SYS_ERROR3_YAW_DIFF=256, /* | */
  216. VKFLY_SYS_ERROR3_ASPD_LINK_LOST=512, /* | */
  217. VKFLY_SYS_ERROR3_ENUM_END=513, /* | */
  218. } VKFLY_SYS_ERROR3;
  219. #endif
  220. /** @brief custom mode in HEARTBEAT */
  221. #ifndef HAVE_ENUM_VKFLY_CUSTOM_MODE
  222. #define HAVE_ENUM_VKFLY_CUSTOM_MODE
  223. typedef enum VKFLY_CUSTOM_MODE
  224. {
  225. VKFLY_CUSTOM_MODE_STANDBY=1, /* Standby mode | */
  226. VKFLY_CUSTOM_MODE_ATTITUDE=3, /* Attitude mode | */
  227. VKFLY_CUSTOM_MODE_POSHOLD=4, /* Poshold mode | */
  228. VKFLY_CUSTOM_MODE_TAKEOFF=10, /* Auto takeoff. | */
  229. VKFLY_CUSTOM_MODE_LOITER=11, /* Auto loiter. | */
  230. VKFLY_CUSTOM_MODE_RTL=12, /* Auto return. | */
  231. VKFLY_CUSTOM_MODE_FLY_TO_WP=13, /* Auto fly to wp. | */
  232. VKFLY_CUSTOM_MODE_CRUISE=15, /* Auto cruise. | */
  233. VKFLY_CUSTOM_MODE_GUIDE=18, /* Guide to point. | */
  234. VKFLY_CUSTOM_MODE_LAND=19, /* Land. | */
  235. VKFLY_CUSTOM_MODE_FSLAND=20, /* Force land. | */
  236. VKFLY_CUSTOM_MODE_FOLLOW=21, /* Follow. | */
  237. VKFLY_CUSTOM_MODE_WP_ORBIT=23, /* Waypoint orbit | */
  238. VKFLY_CUSTOM_MODE_DYN_TAKEOFF=24, /* Dynamic takeoff | */
  239. VKFLY_CUSTOM_MODE_DYN_LAND=25, /* Dyn_Land | */
  240. VKFLY_CUSTOM_MODE_OBAVOID=26, /* Obavoid | */
  241. VKFLY_CUSTOM_MODE_OFFBOARD=27, /* Offboard command control. | */
  242. VKFLY_CUSTOM_MODE_FORMATION=28, /* Formation fly mode | */
  243. VKFLY_CUSTOM_MODE_FW_MANUL=51, /* Fixedwing manul mode | */
  244. VKFLY_CUSTOM_MODE_FW_ATTITUDE=52, /* Fixedwing attitude mode | */
  245. VKFLY_CUSTOM_MODE_FW_CRUISE=53, /* Fixedwing cruise mode | */
  246. VKFLY_CUSTOM_MODE_FW_CIRCLE=54, /* Fixedwing circle mode | */
  247. VKFLY_CUSTOM_MODE_FW_TAKEOFF=55, /* Fixedwing circle mode | */
  248. VKFLY_CUSTOM_MODE_FW_GUIDE=56, /* Fixedwing guide mode | */
  249. VKFLY_CUSTOM_MODE_FW_LAND=57, /* Fixedwing land mode | */
  250. VKFLY_CUSTOM_MODE_FW_RTL=58, /* Fixedwing return to launch mode | */
  251. VKFLY_CUSTOM_MODE_FW_GPS_FS=59, /* Fixedwing GPS fail safe mode | */
  252. VKFLY_CUSTOM_MODE_ENUM_END=60, /* | */
  253. } VKFLY_CUSTOM_MODE;
  254. #endif
  255. /** @brief bitmap for VKins navigtion status */
  256. #ifndef HAVE_ENUM_VKFLY_VKINS_NAV_STATUS
  257. #define HAVE_ENUM_VKFLY_VKINS_NAV_STATUS
  258. typedef enum VKFLY_VKINS_NAV_STATUS
  259. {
  260. VKFLY_VKINS_NAV_INSGPS=1, /* INS status. 0 means no INS. 1 means INS ok. | */
  261. VKFLY_VKINS_NAV_ALT_GPS=2, /* GPS altitude in data fusion. 0 gps altitude not used. 1 gps altitude used. | */
  262. VKFLY_VKINS_NAV_HEADING_RTK=4, /* RTK heading data. 0 use mag, 1 use rtk dual ant heading. | */
  263. VKFLY_VKINS_NAV_RTK=16, /* RTK pos data. 0 no RTK, 1 RTK. | */
  264. VKFLY_VKINS_NAV_STATUS_ENUM_END=17, /* | */
  265. } VKFLY_VKINS_NAV_STATUS;
  266. #endif
  267. /** @brief Yaw control mode */
  268. #ifndef HAVE_ENUM_VKFLY_YAW_CTRL_MODE
  269. #define HAVE_ENUM_VKFLY_YAW_CTRL_MODE
  270. typedef enum VKFLY_YAW_CTRL_MODE
  271. {
  272. VKFLY_YAW_KEEP_CURRENT=0, /* Yaw do not change. Keep current yaw. | */
  273. VKFLY_YAW_TO_NEXT_WP=1, /* Yaw towards next waypoint or circle center. | */
  274. VKFLY_YAW_TO_TRACE_COURSE=2, /* Yaw towards moving course heading. | */
  275. VKFLY_YAW_TO_SET_VALUE=3, /* Yaw towards spacific value. | */
  276. VKFLY_YAW_TO_HOME=4, /* Yaw towards home point. | */
  277. VKFLY_YAW_TO_INTEREST=5, /* Yaw towards interest point. | */
  278. VKFLY_YAW_TO_OTHER_MAV_SYS=6, /* Yaw towards interest point. | */
  279. VKFLY_YAW_TO_SET_VALUE_ONLY_ON_LANDING=7, /* Yaw towards interest point. | */
  280. VKFLY_YAW_CTRL_MODE_ENUM_END=8, /* | */
  281. } VKFLY_YAW_CTRL_MODE;
  282. #endif
  283. /** @brief Digicam auto take photo mode. */
  284. #ifndef HAVE_ENUM_VKFLY_PHOTO_CTRL_MODE
  285. #define HAVE_ENUM_VKFLY_PHOTO_CTRL_MODE
  286. typedef enum VKFLY_PHOTO_CTRL_MODE
  287. {
  288. VKFLY_AUTO_PHO_KEEP_CURRENT=0, /* Do not take photo automatically. | */
  289. VKFLY_AUTO_PHO_STOP=1, /* Do not take photo automatically. | */
  290. VKFLY_AUTO_PHO_AUTO_BY_TIME=2, /* Automatically take photo by tiem. | */
  291. VKFLY_AUTO_PHO_BY_DIST_XY=3, /* Automatically take photo by distance. | */
  292. VKFLY_AUTO_PHO_BY_DIST_Z=4, /* Automatically take photo by input trigger signal or command. | */
  293. VKFLY_AUTO_PHO_BY_DIST_XYZ=5, /* Automatically take photo by input trigger signal or command. | */
  294. VKFLY_PHOTO_CTRL_MODE_ENUM_END=6, /* | */
  295. } VKFLY_PHOTO_CTRL_MODE;
  296. #endif
  297. /** @brief Digicam auto take photo mode. */
  298. #ifndef HAVE_ENUM_VKFLY_RTL_REASON
  299. #define HAVE_ENUM_VKFLY_RTL_REASON
  300. typedef enum VKFLY_RTL_REASON
  301. {
  302. VKFLY_RTL_REASON_NONE=0, /* Rtl mode not triggered. | */
  303. VKFLY_RTL_REASON_GCSCMD=1, /* Trigger rtl mode by gcs command. | */
  304. VKFLY_RTL_REASON_RCCMD=2, /* Trigger rtl mode by remote controller command. | */
  305. VKFLY_RTL_REASON_GCSLOST=3, /* Trigger rtl mode by gcs link lost. | */
  306. VKFLY_RTL_REASON_RCFAIL=4, /* Trigger rtl mode by remote controller signal fail. | */
  307. VKFLY_RTL_REASON_RCLOST=5, /* Trigger rtl mode by remote controller signal lost. | */
  308. VKFLY_RTL_REASON_LOWVOLT=6, /* Trigger rtl mode by battery volt low. | */
  309. VKFLY_RTL_REASON_OFFBOARD=7, /* Trigger rtl mode by offboard command. | */
  310. VKFLY_RTL_REASON_ALTLIM=8, /* Trigger rtl mode by altitude limit. | */
  311. VKFLY_RTL_REASON_OUT_FENCE=9, /* Trigger rtl mode by out range of fence. | */
  312. VKFLY_RTL_REASON_BMS_LOWCAP=10, /* Trigger rtl mode by battery manager system low capacity. | */
  313. VKFLY_RTL_REASON_BMS_LINKLOST=11, /* Trigger rtl mode by battery manager link lost. | */
  314. VKFLY_RTL_REASON_SERVO_FAULT=12, /* Trigger rtl mode by servo fault. | */
  315. VKFLY_RTL_REASON_WP_FINISH=13, /* Trigger rtl mode by servo fault. | */
  316. VKFLY_RTL_REASON_H2P_LOW=14, /* Trigger rtl mode by servo fault. | */
  317. VKFLY_RTL_REASON_ECU_FUEL_LOW=15, /* Trigger rtl mode by servo fault. | */
  318. VKFLY_RTL_REASON_ATTITUDE_FS=16, /* Trigger rtl mode by attitude failsafe. | */
  319. VKFLY_RTL_REASON_TRANS_TMO=17, /* Trigger rtl mode by transform time out. | */
  320. VKFLY_RTL_REASON_ASPD_LOW=18, /* Trigger rtl mode by transform time out. | */
  321. VKFLY_RTL_REASON_FMUB_TAKEOVER=19, /* Trigger rtl mode by fmub takeover. | */
  322. VKFLY_RTL_REASON_ENUM_END=20, /* | */
  323. } VKFLY_RTL_REASON;
  324. #endif
  325. /** @brief */
  326. #ifndef HAVE_ENUM_VKFLY_LOITER_REASON
  327. #define HAVE_ENUM_VKFLY_LOITER_REASON
  328. typedef enum VKFLY_LOITER_REASON
  329. {
  330. VLFLY_LOITER_REASON_DEFAULT=1, /* | */
  331. VLFLY_LOITER_REASON_GCS_CMD=2, /* | */
  332. VLFLY_LOITER_REASON_MISSION_DONE=3, /* | */
  333. VLFLY_LOITER_REASON_GPS_REABLE=5, /* | */
  334. VLFLY_LOITER_REASON_RC_CMD=6, /* | */
  335. VLFLY_LOITER_REASON_FOLLOW_FAIL=7, /* | */
  336. VLFLY_LOITER_REASON_TAKEOFF_DONE=9, /* | */
  337. VLFLY_LOITER_REASON_BAT_VOLT_LOW=10, /* | */
  338. VLFLY_LOITER_REASON_RC_FAIL=11, /* | */
  339. VLFLY_LOITER_REASON_RC_LOST=12, /* | */
  340. VLFLY_LOITER_REASON_RC_BAD=13, /* | */
  341. VLFLY_LOITER_REASON_BAT_CAP_LOW=14, /* | */
  342. VLFLY_LOITER_REASON_OFFBOARD=15, /* | */
  343. VLFLY_LOITER_REASON_QUIT_FORMATION=16, /* | */
  344. VLFLY_LOITER_REASON_H2P_LOW=17, /* | */
  345. VLFLY_LOITER_REASON_ECU_FUEL_LOW=18, /* | */
  346. VLFLY_LOITER_REASON_FMUB_TAKEOVER=19, /* | */
  347. VLFLY_LOITER_REASON_WPDATA_ERR=21, /* | */
  348. VKFLY_LOITER_REASON_ENUM_END=22, /* | */
  349. } VKFLY_LOITER_REASON;
  350. #endif
  351. /** @brief Digicam action trigger on waypoint arrive. */
  352. #ifndef HAVE_ENUM_VKFLY_DIGICAM_WP_ACT
  353. #define HAVE_ENUM_VKFLY_DIGICAM_WP_ACT
  354. typedef enum VKFLY_DIGICAM_WP_ACT
  355. {
  356. VKFLY_DIGICAM_WP_ACT_NONE=0, /* Do nothing. | */
  357. VKFLY_DIGICAM_WP_ACT_PHO=1, /* Do take photo. | */
  358. VKFLY_DIGICAM_WP_ACT_VEDIO_ON=2, /* Do vedio recording on. | */
  359. VKFLY_DIGICAM_WP_ACT_VEDIO_OFF=3, /* Do vedio recording off. | */
  360. VKFLY_DIGICAM_WP_ACT_ENUM_END=4, /* | */
  361. } VKFLY_DIGICAM_WP_ACT;
  362. #endif
  363. /** @brief Gimbal action trigger on waypoint arrive. */
  364. #ifndef HAVE_ENUM_VKFLY_GIMBAL_WP_ACT
  365. #define HAVE_ENUM_VKFLY_GIMBAL_WP_ACT
  366. typedef enum VKFLY_GIMBAL_WP_ACT
  367. {
  368. VKFLY_GIMBAL_WP_ACT_NONE=0, /* Do nothing. | */
  369. VKFLY_GIMBAL_WP_ACT_SET_ANG=1, /* Do set gimbal pitch and yaw angle value. | */
  370. VKFLY_GIMBAL_WP_ACT_SET_PITCH_YAW_FOLLOW=2, /* Do set gimbla pitch value, yaw follow drone head. | */
  371. VKFLY_GIMBAL_WP_SET_ZOOM=3, /* Do set gimbla Zoom. | */
  372. VKFLY_GIMBAL_WP_ACT_ENUM_END=4, /* | */
  373. } VKFLY_GIMBAL_WP_ACT;
  374. #endif
  375. /** @brief bitmap of throwing channel */
  376. #ifndef HAVE_ENUM_VKFLY_THROW_CHAN_TYPE
  377. #define HAVE_ENUM_VKFLY_THROW_CHAN_TYPE
  378. typedef enum VKFLY_THROW_CHAN_TYPE
  379. {
  380. VKFLY_THROW_CHAN_1=1, /* throwing channel1 | */
  381. VKFLY_THROW_CHAN_2=2, /* throwing channel2 | */
  382. VKFLY_THROW_CHAN_3=4, /* throwing channel3 | */
  383. VKFLY_THROW_CHAN_4=8, /* throwing channel4 | */
  384. VKFLY_THROW_CHAN_5=16, /* throwing channel5 | */
  385. VKFLY_THROW_CHAN_6=32, /* throwing channel6 | */
  386. VKFLY_THROW_CHAN_7=64, /* throwing channel7 | */
  387. VKFLY_THROW_CHAN_8=128, /* throwing channel8 | */
  388. VKFLY_THROW_CHAN_9=256, /* throwing channel9 | */
  389. VKFLY_THROW_CHAN_10=512, /* throwing channel10 | */
  390. VKFLY_THROW_CHAN_11=1024, /* throwing channel11 | */
  391. VKFLY_THROW_CHAN_12=2048, /* throwing channel12 | */
  392. VKFLY_THROW_CHAN_13=4096, /* throwing channel12 | */
  393. VKFLY_THROW_CHAN_14=8192, /* throwing channel12 | */
  394. VKFLY_THROW_CHAN_15=16384, /* throwing channel12 | */
  395. VKFLY_THROW_CHAN_16=32768, /* throwing channel12 | */
  396. VKFLY_THROW_CHAN_ALL=65535, /* throwing channel12 | */
  397. VKFLY_THROW_CHAN_TYPE_ENUM_END=65536, /* | */
  398. } VKFLY_THROW_CHAN_TYPE;
  399. #endif
  400. /** @brief */
  401. #ifndef HAVE_ENUM_VKFLY_MISSION_EXEC_MODE
  402. #define HAVE_ENUM_VKFLY_MISSION_EXEC_MODE
  403. typedef enum VKFLY_MISSION_EXEC_MODE
  404. {
  405. VKFLY_MISSION_EXEC_MODE_NORMAL=0, /* | */
  406. VKFLY_MISSION_EXEC_MODE_NO_ACT=1, /* | */
  407. VKFLY_MISSION_EXEC_MODE_REVERSE=2, /* | */
  408. VKFLY_MISSION_EXEC_MODE_REVERSE_NO_ACT=3, /* | */
  409. VKFLY_MISSION_EXEC_MODE_ENUM_END=4, /* | */
  410. } VKFLY_MISSION_EXEC_MODE;
  411. #endif
  412. /** @brief */
  413. #ifndef HAVE_ENUM_VKFLY_MISSION_DONE_ACT
  414. #define HAVE_ENUM_VKFLY_MISSION_DONE_ACT
  415. typedef enum VKFLY_MISSION_DONE_ACT
  416. {
  417. VKFLY_MISSION_DONE_LOITER=0, /* | */
  418. VKFLY_MISSION_DONE_RETURN_TO_LAUNCH=1, /* | */
  419. VKFLY_MISSION_DONE_LAND=2, /* | */
  420. VKFLY_MISSION_DONE_RETURN_TO_RALLY=3, /* | */
  421. VKFLY_MISSION_DONE_RETURN_TO_LAUNCH_AB_WP=4, /* | */
  422. VKFLY_MISSION_DONE_RETURN_TO_LAUNCH_BA_WP=5, /* | */
  423. VKFLY_MISSION_DONE_THEN_REDO=6, /* | */
  424. VKFLY_MISSION_DONE_ACT_ENUM_END=7, /* | */
  425. } VKFLY_MISSION_DONE_ACT;
  426. #endif
  427. /** @brief */
  428. #ifndef HAVE_ENUM_VKFLY_RTL_EXEC_MODE
  429. #define HAVE_ENUM_VKFLY_RTL_EXEC_MODE
  430. typedef enum VKFLY_RTL_EXEC_MODE
  431. {
  432. VKFLY_RTL_EXEC_MODE_NORMAL=0, /* | */
  433. VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ=1, /* | */
  434. VKFLY_RTL_EXEC_MODE_BY_MISSION_SEQ_REVERSE=2, /* | */
  435. VKFLY_RTL_EXEC_MODE_ENUM_END=3, /* | */
  436. } VKFLY_RTL_EXEC_MODE;
  437. #endif
  438. /** @brief */
  439. #ifndef HAVE_ENUM_VKFLY_FORMATION_TYPE
  440. #define HAVE_ENUM_VKFLY_FORMATION_TYPE
  441. typedef enum VKFLY_FORMATION_TYPE
  442. {
  443. VKFLY_FORMATION_ROW=0, /* | */
  444. VKFLY_FORMATION_COLUM=1, /* | */
  445. VKFLY_FORMATION_TRIANGLE=2, /* | */
  446. VKFLY_FORMATION_RECTANGLE=3, /* | */
  447. VKFLY_FORMATION_CUSTOM=4, /* | */
  448. VKFLY_FORMATION_VERTICLE_LINE=5, /* | */
  449. VKFLY_FORMATION_TYPE_ENUM_END=6, /* | */
  450. } VKFLY_FORMATION_TYPE;
  451. #endif
  452. /** @brief VKFLY custom CMD */
  453. #ifndef HAVE_ENUM_MAV_CMD
  454. #define HAVE_ENUM_MAV_CMD
  455. typedef enum MAV_CMD
  456. {
  457. MAV_CMD_NAV_WAYPOINT=16, /* Navigate to waypoint. This is intended for use in missions (for guided commands outside of missions use MAV_CMD_DO_REPOSITION). |Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Acceptance radius (if the sphere with this radius is hit, the waypoint counts as reached)| 0 to pass through the WP, if > 0 radius to pass by WP. Positive value for clockwise orbit, negative value for counter-clockwise orbit. Allows trajectory control.| Desired yaw angle at waypoint (rotary wing). NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
  458. MAV_CMD_NAV_LOITER_UNLIM=17, /* Loiter around this waypoint an unlimited amount of time |Empty| Empty| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise| Desired yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
  459. MAV_CMD_NAV_LOITER_TURNS=18, /* Loiter around this waypoint for X turns |Number of turns.| Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
  460. MAV_CMD_NAV_LOITER_TIME=19, /* Loiter at the specified latitude, longitude and altitude for a certain amount of time. Multicopter vehicles stop at the point (within a vehicle-specific acceptance radius). Forward-only moving vehicles (e.g. fixed-wing) circle the point with the specified radius/direction. If the Heading Required parameter (2) is non-zero forward moving aircraft will only leave the loiter circle once heading towards the next waypoint. |Loiter time (only starts once Lat, Lon and Alt is reached).| Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, else counter-clockwise.| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
  461. MAV_CMD_NAV_RETURN_TO_LAUNCH=20, /* Return to launch location |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
  462. MAV_CMD_NAV_LAND=21, /* Land at location. |Minimum target altitude if landing is aborted (0 = undefined/use system default).| Precision land mode.| Empty.| Desired yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude.| Longitude.| Landing altitude (ground level in current frame).| */
  463. MAV_CMD_NAV_TAKEOFF=22, /* Takeoff from ground / hand. Vehicles that support multiple takeoff modes (e.g. VTOL quadplane) should take off using the currently configured mode. |Minimum pitch (if airspeed sensor present), desired pitch without sensor| Empty| Empty| Yaw angle (if magnetometer present), ignored without magnetometer. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
  464. MAV_CMD_NAV_LAND_LOCAL=23, /* Land at local position (local frame only) |Landing target number (if available)| Maximum accepted offset from desired landing position - computed magnitude from spherical coordinates: d = sqrt(x^2 + y^2 + z^2), which gives the maximum accepted distance between the desired landing position and the position where the vehicle is about to land| Landing descend rate| Desired yaw angle| Y-axis position| X-axis position| Z-axis / ground level position| */
  465. MAV_CMD_NAV_TAKEOFF_LOCAL=24, /* Takeoff from local position (local frame only) |Minimum pitch (if airspeed sensor present), desired pitch without sensor| Empty| Takeoff ascend rate| Yaw angle (if magnetometer or another yaw estimation source present), ignored without one of these| Y-axis position| X-axis position| Z-axis position| */
  466. MAV_CMD_NAV_FOLLOW=25, /* Vehicle following, i.e. this waypoint represents the position of a moving vehicle |Following logic to use (e.g. loitering or sinusoidal following) - depends on specific autopilot implementation| Ground speed of vehicle to be followed| Radius around waypoint. If positive loiter clockwise, else counter-clockwise| Desired yaw angle.| Latitude| Longitude| Altitude| */
  467. MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT=30, /* Continue on the current course and climb/descend to specified altitude. When the altitude is reached continue to the next command (i.e., don't proceed to the next command until the desired altitude is reached. |Climb or Descend (0 = Neutral, command completes when within 5m of this command's altitude, 1 = Climbing, command completes when at or above this command's altitude, 2 = Descending, command completes when at or below this command's altitude.| Empty| Empty| Empty| Empty| Empty| Desired altitude| */
  468. MAV_CMD_NAV_LOITER_TO_ALT=31, /* Begin loiter at the specified Latitude and Longitude. If Lat=Lon=0, then loiter at the current position. Don't consider the navigation command complete (don't leave loiter) until the altitude has been reached. Additionally, if the Heading Required parameter is non-zero the aircraft will not leave the loiter until heading toward the next waypoint. |Leave loiter circle only once heading towards the next waypoint (0 = False)| Loiter radius around waypoint for forward-only moving vehicles (not multicopters). If positive loiter clockwise, negative counter-clockwise, 0 means no change to standard loiter.| Empty| Loiter circle exit location and/or path to next waypoint ("xtrack") for forward-only moving vehicles (not multicopters). 0 for the vehicle to converge towards the center xtrack when it leaves the loiter (the line between the centers of the current and next waypoint), 1 to converge to the direct line between the location that the vehicle exits the loiter radius and the next waypoint. Otherwise the angle (in degrees) between the tangent of the loiter circle and the center xtrack at which the vehicle must leave the loiter (and converge to the center xtrack). NaN to use the current system default xtrack behaviour.| Latitude| Longitude| Altitude| */
  469. MAV_CMD_DO_FOLLOW=32, /* Begin following a target |System ID (of the FOLLOW_TARGET beacon). Send 0 to disable follow-me and return to the default position hold mode.| Reserved| Reserved| Altitude mode: 0: Keep current altitude, 1: keep altitude difference to target, 2: go to a fixed altitude above home.| Altitude above home. (used if mode=2)| Reserved| Time to land in which the MAV should go to the default position hold mode after a message RX timeout.| */
  470. MAV_CMD_DO_FOLLOW_REPOSITION=33, /* Reposition the MAV after a follow target command has been sent |Camera q1 (where 0 is on the ray from the camera to the tracking device)| Camera q2| Camera q3| Camera q4| altitude offset from target| X offset from target| Y offset from target| */
  471. MAV_CMD_DO_ORBIT=34, /* Start orbiting on the circumference of a circle defined by the parameters. Setting values to NaN/INT32_MAX (as appropriate) results in using defaults. |Radius of the circle. Positive: orbit clockwise. Negative: orbit counter-clockwise. NaN: Use vehicle default radius, or current radius if already orbiting.| Tangential Velocity. NaN: Use vehicle default velocity, or current velocity if already orbiting.| Yaw behavior of the vehicle.| Orbit around the centre point for this many radians (i.e. for a three-quarter orbit set 270*Pi/180). 0: Orbit forever. NaN: Use vehicle default, or current value if already orbiting.| Center point latitude (if no MAV_FRAME specified) / X coordinate according to MAV_FRAME. INT32_MAX (or NaN if sent in COMMAND_LONG): Use current vehicle position, or current center if already orbiting.| Center point longitude (if no MAV_FRAME specified) / Y coordinate according to MAV_FRAME. INT32_MAX (or NaN if sent in COMMAND_LONG): Use current vehicle position, or current center if already orbiting.| Center point altitude (MSL) (if no MAV_FRAME specified) / Z coordinate according to MAV_FRAME. NaN: Use current vehicle altitude.| */
  472. MAV_CMD_NAV_ROI=80, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode.| Waypoint index/ target ID. (see MAV_ROI enum)| ROI index (allows a vehicle to manage multiple ROI's)| Empty| x the location of the fixed ROI (see MAV_FRAME)| y| z| */
  473. MAV_CMD_NAV_PATHPLANNING=81, /* Control autonomous path planning on the MAV. |0: Disable local obstacle avoidance / local path planning (without resetting map), 1: Enable local path planning, 2: Enable and reset local path planning| 0: Disable full path planning (without resetting map), 1: Enable, 2: Enable and reset map/occupancy grid, 3: Enable and reset planned route, but not occupancy grid| Empty| Yaw angle at goal| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
  474. MAV_CMD_NAV_SPLINE_WAYPOINT=82, /* Navigate to waypoint using a spline path. |Hold time. (ignored by fixed wing, time to stay at waypoint for rotary wing)| Empty| Empty| Empty| Latitude/X of goal| Longitude/Y of goal| Altitude/Z of goal| */
  475. MAV_CMD_NAV_VTOL_TAKEOFF=84, /* Takeoff from ground using VTOL mode, and transition to forward flight with specified heading. The command should be ignored by vehicles that dont support both VTOL and fixed-wing flight (multicopters, boats,etc.). |Empty| Front transition heading.| Empty| Yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude| */
  476. MAV_CMD_NAV_VTOL_LAND=85, /* Land using VTOL mode |Landing behaviour.| Empty| Approach altitude (with the same reference as the Altitude field). NaN if unspecified.| Yaw angle. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.).| Latitude| Longitude| Altitude (ground level) relative to the current coordinate frame. NaN to use system default landing altitude (ignore value).| */
  477. MAV_CMD_NAV_GUIDED_ENABLE=92, /* hand control over to an external controller |On / Off (> 0.5f on)| Empty| Empty| Empty| Empty| Empty| Empty| */
  478. MAV_CMD_NAV_DELAY=93, /* Delay the next navigation command a number of seconds or until a specified time |Delay (-1 to enable time-of-day fields)| hour (24h format, UTC, -1 to ignore)| minute (24h format, UTC, -1 to ignore)| second (24h format, UTC, -1 to ignore)| Empty| Empty| Empty| */
  479. MAV_CMD_NAV_PAYLOAD_PLACE=94, /* Descend and place payload. Vehicle moves to specified location, descends until it detects a hanging payload has reached the ground, and then releases the payload. If ground is not detected before the reaching the maximum descent value (param1), the command will complete without releasing the payload. |Maximum distance to descend.| Empty| Empty| Empty| Latitude| Longitude| Altitude| */
  480. MAV_CMD_NAV_LAST=95, /* NOP - This command is only used to mark the upper limit of the NAV/ACTION commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
  481. MAV_CMD_CONDITION_DELAY=112, /* Delay mission state machine. |Delay| Empty| Empty| Empty| Empty| Empty| Empty| */
  482. MAV_CMD_CONDITION_CHANGE_ALT=113, /* Ascend/descend to target altitude at specified rate. Delay mission state machine until desired altitude reached. |Descent / Ascend rate.| Empty| Empty| Empty| Empty| Empty| Target Altitude| */
  483. MAV_CMD_CONDITION_DISTANCE=114, /* Delay mission state machine until within desired distance of next NAV point. |Distance.| Empty| Empty| Empty| Empty| Empty| Empty| */
  484. MAV_CMD_CONDITION_YAW=115, /* Reach a certain target angle. |target angle [0-360]. Absolute angles: 0 is north. Relative angle: 0 is initial yaw. Direction set by param3.| angular speed| direction: -1: counter clockwise, 0: shortest direction, 1: clockwise| 0: absolute angle, 1: relative offset| Empty| Empty| Empty| */
  485. MAV_CMD_CONDITION_LAST=159, /* NOP - This command is only used to mark the upper limit of the CONDITION commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
  486. MAV_CMD_DO_SET_MODE=176, /* Set system mode. |Mode| Custom mode - this is system specific, please refer to the individual autopilot specifications for details.| Custom sub mode - this is system specific, please refer to the individual autopilot specifications for details.| Empty| Empty| Empty| Empty| */
  487. MAV_CMD_DO_JUMP=177, /* Jump to the desired command in the mission list. Repeat this action only the specified number of times |Sequence number| Repeat count| Empty| Empty| Empty| Empty| Empty| */
  488. MAV_CMD_DO_CHANGE_SPEED=178, /* Change speed and/or throttle set points. The value persists until it is overridden or there is a mode change |Speed type of value set in param2 (such as airspeed, ground speed, and so on)| Speed (-1 indicates no change, -2 indicates return to default vehicle speed)| Throttle (-1 indicates no change, -2 indicates return to default vehicle throttle value)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  489. MAV_CMD_DO_SET_HOME=179, /*
  490. Sets the home position to either to the current position or a specified position.
  491. The home position is the default position that the system will return to and land on.
  492. The position is set automatically by the system during the takeoff (and may also be set using this command).
  493. Note: the current home position may be emitted in a HOME_POSITION message on request (using MAV_CMD_REQUEST_MESSAGE with param1=242).
  494. |Use current (1=use current location, 0=use specified location)| Roll angle (of surface). Range: -180..180 degrees. NAN or 0 means value not set. 0.01 indicates zero roll.| Pitch angle (of surface). Range: -90..90 degrees. NAN or 0 means value not set. 0.01 means zero pitch.| Yaw angle. NaN to use default heading. Range: -180..180 degrees.| Latitude| Longitude| Altitude| */
  495. MAV_CMD_DO_SET_PARAMETER=180, /* Set a system parameter. Caution! Use of this command requires knowledge of the numeric enumeration value of the parameter. |Parameter number| Parameter value| Empty| Empty| Empty| Empty| Empty| */
  496. MAV_CMD_DO_SET_RELAY=181, /* Set a relay to a condition. |Relay instance number.| Setting. (1=on, 0=off, others possible depending on system hardware)| Empty| Empty| Empty| Empty| Empty| */
  497. MAV_CMD_DO_REPEAT_RELAY=182, /* Cycle a relay on and off for a desired number of cycles with a desired period. |Relay instance number.| Cycle count.| Cycle time.| Empty| Empty| Empty| Empty| */
  498. MAV_CMD_DO_SET_SERVO=183, /* Set a servo to a desired PWM value. |Servo instance number.| Pulse Width Modulation.| Empty| Empty| Empty| Empty| Empty| */
  499. MAV_CMD_DO_REPEAT_SERVO=184, /* Cycle a between its nominal setting and a desired PWM for a desired number of cycles with a desired period. |Servo instance number.| Pulse Width Modulation.| Cycle count.| Cycle time.| Empty| Empty| Empty| */
  500. MAV_CMD_DO_FLIGHTTERMINATION=185, /* Terminate flight immediately.
  501. Flight termination immediately and irreversibly terminates the current flight, returning the vehicle to ground.
  502. The vehicle will ignore RC or other input until it has been power-cycled.
  503. Termination may trigger safety measures, including: disabling motors and deployment of parachute on multicopters, and setting flight surfaces to initiate a landing pattern on fixed-wing).
  504. On multicopters without a parachute it may trigger a crash landing.
  505. Support for this command can be tested using the protocol bit: MAV_PROTOCOL_CAPABILITY_FLIGHT_TERMINATION.
  506. Support for this command can also be tested by sending the command with param1=0 (< 0.5); the ACK should be either MAV_RESULT_FAILED or MAV_RESULT_UNSUPPORTED.
  507. |Flight termination activated if > 0.5. Otherwise not activated and ACK with MAV_RESULT_FAILED.| Empty| Empty| Empty| Empty| Empty| Empty| */
  508. MAV_CMD_DO_CHANGE_ALTITUDE=186, /* Change altitude set point. |Altitude.| Frame of new altitude.| Empty| Empty| Empty| Empty| Empty| */
  509. MAV_CMD_DO_SET_ACTUATOR=187, /* Sets actuators (e.g. servos) to a desired value. The actuator numbers are mapped to specific outputs (e.g. on any MAIN or AUX PWM or UAVCAN) using a flight-stack specific mechanism (i.e. a parameter). |Actuator 1 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 2 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 3 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 4 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 5 value, scaled from [-1 to 1]. NaN to ignore.| Actuator 6 value, scaled from [-1 to 1]. NaN to ignore.| Index of actuator set (i.e if set to 1, Actuator 1 becomes Actuator 7)| */
  510. MAV_CMD_DO_LAND_START=189, /* Mission command to perform a landing. This is used as a marker in a mission to tell the autopilot where a sequence of mission items that represents a landing starts.
  511. It may also be sent via a COMMAND_LONG to trigger a landing, in which case the nearest (geographically) landing sequence in the mission will be used.
  512. The Latitude/Longitude/Altitude is optional, and may be set to 0 if not needed. If specified then it will be used to help find the closest landing sequence.
  513. |Empty| Empty| Empty| Empty| Latitude| Longitude| Altitude| */
  514. MAV_CMD_DO_RALLY_LAND=190, /* Mission command to perform a landing from a rally point. |Break altitude| Landing speed| Empty| Empty| Empty| Empty| Empty| */
  515. MAV_CMD_DO_GO_AROUND=191, /* Mission command to safely abort an autonomous landing. |Altitude| Empty| Empty| Empty| Empty| Empty| Empty| */
  516. MAV_CMD_DO_REPOSITION=192, /* Reposition the vehicle to a specific WGS84 global position. This command is intended for guided commands (for missions use MAV_CMD_NAV_WAYPOINT instead). |Ground speed, less than 0 (-1) for default| Bitmask of option flags.| Loiter radius for planes. Positive values only, direction is controlled by Yaw value. A value of zero or NaN is ignored. | Yaw heading. NaN to use the current system yaw heading mode (e.g. yaw towards next waypoint, yaw to home, etc.). For planes indicates loiter direction (0: clockwise, 1: counter clockwise)| Latitude| Longitude| Altitude| */
  517. MAV_CMD_DO_PAUSE_CONTINUE=193, /* If in a GPS controlled position mode, hold the current position or continue. |0: Pause current mission or reposition command, hold current position. 1: Continue mission. A VTOL capable vehicle should enter hover mode (multicopter and VTOL planes). A plane should loiter with the default loiter radius.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
  518. MAV_CMD_DO_SET_REVERSE=194, /* Set moving direction to forward or reverse. |Direction (0=Forward, 1=Reverse)| Empty| Empty| Empty| Empty| Empty| Empty| */
  519. MAV_CMD_DO_SET_ROI_LOCATION=195, /* Sets the region of interest (ROI) to a location. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal is not to react to this message. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Latitude of ROI location| Longitude of ROI location| Altitude of ROI location| */
  520. MAV_CMD_DO_SET_ROI_WPNEXT_OFFSET=196, /* Sets the region of interest (ROI) to be toward next waypoint, with optional pitch/roll/yaw offset. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Pitch offset from next waypoint, positive pitching up| Roll offset from next waypoint, positive rolling to the right| Yaw offset from next waypoint, positive yawing to the right| */
  521. MAV_CMD_DO_SET_ROI_NONE=197, /* Cancels any previous ROI command returning the vehicle/sensors to default flight characteristics. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. After this command the gimbal manager should go back to manual input if available, and otherwise assume a neutral position. |Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Empty| Empty| Empty| Empty| Empty| Empty| */
  522. MAV_CMD_DO_SET_ROI_SYSID=198, /* Mount tracks system with specified system ID. Determination of target vehicle position may be done with GLOBAL_POSITION_INT or any other means. This command can be sent to a gimbal manager but not to a gimbal device. A gimbal device is not to react to this message. |System ID| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  523. MAV_CMD_DO_CONTROL_VIDEO=200, /* Control onboard camera system. |Camera ID (-1 for all)| Transmission: 0: disabled, 1: enabled compressed, 2: enabled raw| Transmission mode: 0: video stream, >0: single images every n seconds| Recording: 0: disabled, 1: enabled compressed, 2: enabled raw| Empty| Empty| Empty| */
  524. MAV_CMD_DO_SET_ROI=201, /* Sets the region of interest (ROI) for a sensor set or the vehicle itself. This can then be used by the vehicle's control system to control the vehicle attitude and the attitude of various sensors such as cameras. |Region of interest mode.| Waypoint index/ target ID (depends on param 1).| Region of interest index. (allows a vehicle to manage multiple ROI's)| Empty| MAV_ROI_WPNEXT: pitch offset from next waypoint, MAV_ROI_LOCATION: latitude| MAV_ROI_WPNEXT: roll offset from next waypoint, MAV_ROI_LOCATION: longitude| MAV_ROI_WPNEXT: yaw offset from next waypoint, MAV_ROI_LOCATION: altitude| */
  525. MAV_CMD_DO_DIGICAM_CONFIGURE=202, /* Configure digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |Modes: P, TV, AV, M, Etc.| Shutter speed: Divisor number for one second.| Aperture: F stop number.| ISO number e.g. 80, 100, 200, Etc.| Exposure type enumerator.| Command Identity.| Main engine cut-off time before camera trigger. (0 means no cut-off)| */
  526. MAV_CMD_DO_DIGICAM_CONTROL=203, /* Control digital camera. This is a fallback message for systems that have not yet implemented PARAM_EXT_XXX messages and camera definition files (see https://mavlink.io/en/services/camera_def.html ). |Session control e.g. show/hide lens| Zoom's absolute position| Zooming step value to offset zoom from the current position| Focus Locking, Unlocking or Re-locking| Shooting Command| Command Identity| Test shot identifier. If set to 1, image will only be captured, but not counted towards internal frame count.| */
  527. MAV_CMD_DO_MOUNT_CONFIGURE=204, /* Mission command to configure a camera or antenna mount |Mount operation mode| stabilize roll? (1 = yes, 0 = no)| stabilize pitch? (1 = yes, 0 = no)| stabilize yaw? (1 = yes, 0 = no)| roll input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| pitch input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| yaw input (0 = angle body frame, 1 = angular rate, 2 = angle absolute frame)| */
  528. MAV_CMD_DO_MOUNT_CONTROL=205, /* Mission command to control a camera or antenna mount |pitch depending on mount mode (degrees or degrees/second depending on pitch input).| roll depending on mount mode (degrees or degrees/second depending on roll input).| yaw depending on mount mode (degrees or degrees/second depending on yaw input).| altitude depending on mount mode.| latitude, set if appropriate mount mode.| longitude, set if appropriate mount mode.| Mount mode.| */
  529. MAV_CMD_DO_SET_CAM_TRIGG_DIST=206, /* Mission command to set camera trigger distance for this flight. The camera is triggered each time this distance is exceeded. This command can also be used to set the shutter integration time for the camera. |Camera trigger distance. 0 to stop triggering.| Camera shutter integration time. -1 or 0 to ignore| Trigger camera once immediately. (0 = no trigger, 1 = trigger)| Empty| Empty| Empty| Empty| */
  530. MAV_CMD_DO_FENCE_ENABLE=207, /* Mission command to enable the geofence |enable? (0=disable, 1=enable, 2=disable_floor_only)| Empty| Empty| Empty| Empty| Empty| Empty| */
  531. MAV_CMD_DO_PARACHUTE=208, /* Mission item/command to release a parachute or enable/disable auto release. |Action| Empty| Empty| Empty| Empty| Empty| Empty| */
  532. MAV_CMD_DO_MOTOR_TEST=209, /* Command to perform motor test. |Motor instance number (from 1 to max number of motors on the vehicle).| Throttle type (whether the Throttle Value in param3 is a percentage, PWM value, etc.)| Throttle value.| Timeout between tests that are run in sequence.| Motor count. Number of motors to test in sequence: 0/1=one motor, 2= two motors, etc. The Timeout (param4) is used between tests.| Motor test order.| Empty| */
  533. MAV_CMD_DO_INVERTED_FLIGHT=210, /* Change to/from inverted flight. |Inverted flight. (0=normal, 1=inverted)| Empty| Empty| Empty| Empty| Empty| Empty| */
  534. MAV_CMD_DO_GRIPPER=211, /* Mission command to operate a gripper. |Gripper instance number.| Gripper action to perform.| Empty| Empty| Empty| Empty| Empty| */
  535. MAV_CMD_DO_AUTOTUNE_ENABLE=212, /* Enable/disable autotune. |Enable (1: enable, 0:disable).| Specify which axis are autotuned. 0 indicates autopilot default settings.| Empty.| Empty.| Empty.| Empty.| Empty.| */
  536. MAV_CMD_NAV_SET_YAW_SPEED=213, /* Sets a desired vehicle turn angle and speed change. |Yaw angle to adjust steering by.| Speed.| Final angle. (0=absolute, 1=relative)| Empty| Empty| Empty| Empty| */
  537. MAV_CMD_DO_SET_CAM_TRIGG_INTERVAL=214, /* Mission command to set camera trigger interval for this flight. If triggering is enabled, the camera is triggered each time this interval expires. This command can also be used to set the shutter integration time for the camera. |Camera trigger cycle time. -1 or 0 to ignore.| Camera shutter integration time. Should be less than trigger cycle time. -1 or 0 to ignore.| Empty| Empty| Empty| Empty| Empty| */
  538. MAV_CMD_DO_MOUNT_CONTROL_QUAT=220, /* Mission command to control a camera or antenna mount, using a quaternion as reference. |quaternion param q1, w (1 in null-rotation)| quaternion param q2, x (0 in null-rotation)| quaternion param q3, y (0 in null-rotation)| quaternion param q4, z (0 in null-rotation)| Empty| Empty| Empty| */
  539. MAV_CMD_DO_GUIDED_MASTER=221, /* set id of master controller |System ID| Component ID| Empty| Empty| Empty| Empty| Empty| */
  540. MAV_CMD_DO_GUIDED_LIMITS=222, /* Set limits for external control |Timeout - maximum time that external controller will be allowed to control vehicle. 0 means no timeout.| Altitude (MSL) min - if vehicle moves below this alt, the command will be aborted and the mission will continue. 0 means no lower altitude limit.| Altitude (MSL) max - if vehicle moves above this alt, the command will be aborted and the mission will continue. 0 means no upper altitude limit.| Horizontal move limit - if vehicle moves more than this distance from its location at the moment the command was executed, the command will be aborted and the mission will continue. 0 means no horizontal move limit.| Empty| Empty| Empty| */
  541. MAV_CMD_DO_ENGINE_CONTROL=223, /* Control vehicle engine. This is interpreted by the vehicles engine controller to change the target engine state. It is intended for vehicles with internal combustion engines |0: Stop engine, 1:Start Engine| 0: Warm start, 1:Cold start. Controls use of choke where applicable| Height delay. This is for commanding engine start only after the vehicle has gained the specified height. Used in VTOL vehicles during takeoff to start engine after the aircraft is off the ground. Zero for no delay.| Empty| Empty| Empty| Empty| */
  542. MAV_CMD_DO_SET_MISSION_CURRENT=224, /*
  543. Set the mission item with sequence number seq as the current item and emit MISSION_CURRENT (whether or not the mission number changed).
  544. If a mission is currently being executed, the system will continue to this new mission item on the shortest path, skipping any intermediate mission items.
  545. Note that mission jump repeat counters are not reset unless param2 is set (see MAV_CMD_DO_JUMP param2).
  546. This command may trigger a mission state-machine change on some systems: for example from MISSION_STATE_NOT_STARTED or MISSION_STATE_PAUSED to MISSION_STATE_ACTIVE.
  547. If the system is in mission mode, on those systems this command might therefore start, restart or resume the mission.
  548. If the system is not in mission mode this command must not trigger a switch to mission mode.
  549. The mission may be "reset" using param2.
  550. Resetting sets jump counters to initial values (to reset counters without changing the current mission item set the param1 to `-1`).
  551. Resetting also explicitly changes a mission state of MISSION_STATE_COMPLETE to MISSION_STATE_PAUSED or MISSION_STATE_ACTIVE, potentially allowing it to resume when it is (next) in a mission mode.
  552. The command will ACK with MAV_RESULT_FAILED if the sequence number is out of range (including if there is no mission item).
  553. |Mission sequence value to set. -1 for the current mission item (use to reset mission without changing current mission item).| Resets mission. 1: true, 0: false. Resets jump counters to initial values and changes mission state "completed" to be "active" or "paused".| Empty| Empty| Empty| Empty| Empty| */
  554. MAV_CMD_DO_LAST=240, /* NOP - This command is only used to mark the upper limit of the DO commands in the enumeration |Empty| Empty| Empty| Empty| Empty| Empty| Empty| */
  555. MAV_CMD_PREFLIGHT_CALIBRATION=241, /* Trigger calibration. This command will be only accepted if in pre-flight mode. Except for Temperature Calibration, only one sensor should be set in a single message and all others should be zero. |1: gyro calibration, 3: gyro temperature calibration| 1: magnetometer calibration| 1: ground pressure calibration| 1: radio RC calibration, 2: RC trim calibration| 1: accelerometer calibration, 2: board level calibration, 3: accelerometer temperature calibration, 4: simple accelerometer calibration| 1: APM: compass/motor interference calibration (PX4: airspeed calibration, deprecated), 2: airspeed calibration| 1: ESC calibration, 3: barometer temperature calibration| */
  556. MAV_CMD_PREFLIGHT_SET_SENSOR_OFFSETS=242, /* Set sensor offsets. This command will be only accepted if in pre-flight mode. |Sensor to adjust the offsets for: 0: gyros, 1: accelerometer, 2: magnetometer, 3: barometer, 4: optical flow, 5: second magnetometer, 6: third magnetometer| X axis offset (or generic dimension 1), in the sensor's raw units| Y axis offset (or generic dimension 2), in the sensor's raw units| Z axis offset (or generic dimension 3), in the sensor's raw units| Generic dimension 4, in the sensor's raw units| Generic dimension 5, in the sensor's raw units| Generic dimension 6, in the sensor's raw units| */
  557. MAV_CMD_PREFLIGHT_UAVCAN=243, /* Trigger UAVCAN configuration (actuator ID assignment and direction mapping). Note that this maps to the legacy UAVCAN v0 function UAVCAN_ENUMERATE, which is intended to be executed just once during initial vehicle configuration (it is not a normal pre-flight command and has been poorly named). |1: Trigger actuator ID assignment and direction mapping. 0: Cancel command.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
  558. MAV_CMD_PREFLIGHT_STORAGE=245, /* Request storage of different parameter values and logs. This command will be only accepted if in pre-flight mode. |Action to perform on the persistent parameter storage| Action to perform on the persistent mission storage| Onboard logging: 0: Ignore, 1: Start default rate logging, -1: Stop logging, > 1: logging rate (e.g. set to 1000 for 1000 Hz logging)| Reserved| Empty| Empty| Empty| */
  559. MAV_CMD_PREFLIGHT_REBOOT_SHUTDOWN=246, /* Request the reboot or shutdown of system components. |0: Do nothing for autopilot, 1: Reboot autopilot, 2: Shutdown autopilot, 3: Reboot autopilot and keep it in the bootloader until upgraded.| 0: Do nothing for onboard computer, 1: Reboot onboard computer, 2: Shutdown onboard computer, 3: Reboot onboard computer and keep it in the bootloader until upgraded.| 0: Do nothing for component, 1: Reboot component, 2: Shutdown component, 3: Reboot component and keep it in the bootloader until upgraded| MAVLink Component ID targeted in param3 (0 for all components).| Reserved (set to 0)| Reserved (set to 0)| WIP: ID (e.g. camera ID -1 for all IDs)| */
  560. MAV_CMD_OVERRIDE_GOTO=252, /* Override current mission with command to pause mission, pause mission and move to position, continue/resume mission. When param 1 indicates that the mission is paused (MAV_GOTO_DO_HOLD), param 2 defines whether it holds in place or moves to another position. |MAV_GOTO_DO_HOLD: pause mission and either hold or move to specified position (depending on param2), MAV_GOTO_DO_CONTINUE: resume mission.| MAV_GOTO_HOLD_AT_CURRENT_POSITION: hold at current position, MAV_GOTO_HOLD_AT_SPECIFIED_POSITION: hold at specified position.| Coordinate frame of hold point.| Desired yaw angle.| Latitude/X position.| Longitude/Y position.| Altitude/Z position.| */
  561. MAV_CMD_OBLIQUE_SURVEY=260, /* Mission command to set a Camera Auto Mount Pivoting Oblique Survey (Replaces CAM_TRIGG_DIST for this purpose). The camera is triggered each time this distance is exceeded, then the mount moves to the next position. Params 4~6 set-up the angle limits and number of positions for oblique survey, where mount-enabled vehicles automatically roll the camera between shots to emulate an oblique camera setup (providing an increased HFOV). This command can also be used to set the shutter integration time for the camera. |Camera trigger distance. 0 to stop triggering.| Camera shutter integration time. 0 to ignore| The minimum interval in which the camera is capable of taking subsequent pictures repeatedly. 0 to ignore.| Total number of roll positions at which the camera will capture photos (images captures spread evenly across the limits defined by param5).| Angle limits that the camera can be rolled to left and right of center.| Fixed pitch angle that the camera will hold in oblique mode if the mount is actuated in the pitch axis.| Empty| */
  562. MAV_CMD_MISSION_START=300, /* start running a mission |first_item: the first mission item to run| last_item: the last mission item to run (after this item is run, the mission ends)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  563. MAV_CMD_ACTUATOR_TEST=310, /* Actuator testing command. This is similar to MAV_CMD_DO_MOTOR_TEST but operates on the level of output functions, i.e. it is possible to test Motor1 independent from which output it is configured on. Autopilots typically refuse this command while armed. |Output value: 1 means maximum positive output, 0 to center servos or minimum motor thrust (expected to spin), -1 for maximum negative (if not supported by the motors, i.e. motor is not reversible, smaller than 0 maps to NaN). And NaN maps to disarmed (stop the motors).| Timeout after which the test command expires and the output is restored to the previous value. A timeout has to be set for safety reasons. A timeout of 0 means to restore the previous value immediately.| Reserved (default:0)| Reserved (default:0)| Actuator Output function| Reserved (default:0)| Reserved (default:0)| */
  564. MAV_CMD_CONFIGURE_ACTUATOR=311, /* Actuator configuration command. |Actuator configuration action| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Actuator Output function| Reserved (default:0)| Reserved (default:0)| */
  565. MAV_CMD_COMPONENT_ARM_DISARM=400, /* Arms / Disarms a component |0: disarm, 1: arm| 0: arm-disarm unless prevented by safety checks (i.e. when landed), 21196: force arming/disarming (e.g. allow arming to override preflight checks and disarming in flight)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  566. MAV_CMD_RUN_PREARM_CHECKS=401, /* Instructs a target system to run pre-arm checks.
  567. This allows preflight checks to be run on demand, which may be useful on systems that normally run them at low rate, or which do not trigger checks when the armable state might have changed.
  568. This command should return MAV_RESULT_ACCEPTED if it will run the checks.
  569. The results of the checks are usually then reported in SYS_STATUS messages (this is system-specific).
  570. The command should return MAV_RESULT_TEMPORARILY_REJECTED if the system is already armed.
  571. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  572. MAV_CMD_ILLUMINATOR_ON_OFF=405, /* Turns illuminators ON/OFF. An illuminator is a light source that is used for lighting up dark areas external to the system: e.g. a torch or searchlight (as opposed to a light source for illuminating the system itself, e.g. an indicator light). |0: Illuminators OFF, 1: Illuminators ON| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  573. MAV_CMD_GET_HOME_POSITION=410, /* Request the home position from the vehicle.
  574. The vehicle will ACK the command and then emit the HOME_POSITION message. |Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
  575. MAV_CMD_INJECT_FAILURE=420, /* Inject artificial failure for testing purposes. Note that autopilots should implement an additional protection before accepting this command such as a specific param setting. |The unit which is affected by the failure.| The type how the failure manifests itself.| Instance affected by failure (0 to signal all).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  576. MAV_CMD_START_RX_PAIR=500, /* Starts receiver pairing. |0:Spektrum.| RC type.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  577. MAV_CMD_GET_MESSAGE_INTERVAL=510, /*
  578. Request the interval between messages for a particular MAVLink message ID.
  579. The receiver should ACK the command and then emit its response in a MESSAGE_INTERVAL message.
  580. |The MAVLink message ID| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  581. MAV_CMD_SET_MESSAGE_INTERVAL=511, /* Set the interval between messages for a particular MAVLink message ID. This interface replaces REQUEST_DATA_STREAM. |The MAVLink message ID| The interval between two messages. -1: disable. 0: request default rate (which may be zero).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Target address of message stream (if message has target address fields). 0: Flight-stack default (recommended), 1: address of requestor, 2: broadcast.| */
  582. MAV_CMD_REQUEST_MESSAGE=512, /* Request the target system(s) emit a single instance of a specified message (i.e. a "one-shot" version of MAV_CMD_SET_MESSAGE_INTERVAL). |The MAVLink message ID of the requested message.| Use for index ID, if required. Otherwise, the use of this parameter (if any) must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| The use of this parameter (if any), must be defined in the requested message. By default assumed not used (0).| Target address for requested message (if message has target address fields). 0: Flight-stack default, 1: address of requestor, 2: broadcast.| */
  583. MAV_CMD_REQUEST_PROTOCOL_VERSION=519, /* Request MAVLink protocol version compatibility. All receivers should ACK the command and then emit their capabilities in an PROTOCOL_VERSION message |1: Request supported protocol versions by all nodes on the network| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  584. MAV_CMD_REQUEST_AUTOPILOT_CAPABILITIES=520, /* Request autopilot capabilities. The receiver should ACK the command and then emit its capabilities in an AUTOPILOT_VERSION message |1: Request autopilot version| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  585. MAV_CMD_REQUEST_CAMERA_INFORMATION=521, /* Request camera information (CAMERA_INFORMATION). |0: No action 1: Request camera capabilities| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  586. MAV_CMD_REQUEST_CAMERA_SETTINGS=522, /* Request camera settings (CAMERA_SETTINGS). |0: No Action 1: Request camera settings| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  587. MAV_CMD_REQUEST_STORAGE_INFORMATION=525, /* Request storage information (STORAGE_INFORMATION). Use the command's target_component to target a specific component's storage. |Storage ID (0 for all, 1 for first, 2 for second, etc.)| 0: No Action 1: Request storage information| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  588. MAV_CMD_STORAGE_FORMAT=526, /* Format a storage medium. Once format is complete, a STORAGE_INFORMATION message is sent. Use the command's target_component to target a specific component's storage. |Storage ID (1 for first, 2 for second, etc.)| Format storage (and reset image log). 0: No action 1: Format storage| Reset Image Log (without formatting storage medium). This will reset CAMERA_CAPTURE_STATUS.image_count and CAMERA_IMAGE_CAPTURED.image_index. 0: No action 1: Reset Image Log| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  589. MAV_CMD_REQUEST_CAMERA_CAPTURE_STATUS=527, /* Request camera capture status (CAMERA_CAPTURE_STATUS) |0: No Action 1: Request camera capture status| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  590. MAV_CMD_REQUEST_FLIGHT_INFORMATION=528, /* Request flight information (FLIGHT_INFORMATION) |1: Request flight information| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  591. MAV_CMD_RESET_CAMERA_SETTINGS=529, /* Reset all camera settings to Factory Default |0: No Action 1: Reset all settings| Reserved (all remaining params)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  592. MAV_CMD_SET_CAMERA_MODE=530, /* Set camera running mode. Use NaN for reserved values. GCS will send a MAV_CMD_REQUEST_VIDEO_STREAM_STATUS command after a mode change if the camera supports video streaming. |Reserved (Set to 0)| Camera mode| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  593. MAV_CMD_SET_CAMERA_ZOOM=531, /* Set camera zoom. Camera must respond with a CAMERA_SETTINGS message (on success). |Zoom type| Zoom value. The range of valid values depend on the zoom type.| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  594. MAV_CMD_SET_CAMERA_FOCUS=532, /* Set camera focus. Camera must respond with a CAMERA_SETTINGS message (on success). |Focus type| Focus value| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  595. MAV_CMD_SET_STORAGE_USAGE=533, /* Set that a particular storage is the preferred location for saving photos, videos, and/or other media (e.g. to set that an SD card is used for storing videos).
  596. There can only be one preferred save location for each particular media type: setting a media usage flag will clear/reset that same flag if set on any other storage.
  597. If no flag is set the system should use its default storage.
  598. A target system can choose to always use default storage, in which case it should ACK the command with MAV_RESULT_UNSUPPORTED.
  599. A target system can choose to not allow a particular storage to be set as preferred storage, in which case it should ACK the command with MAV_RESULT_DENIED. |Storage ID (1 for first, 2 for second, etc.)| Usage flags| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  600. MAV_CMD_JUMP_TAG=600, /* Tagged jump target. Can be jumped to with MAV_CMD_DO_JUMP_TAG. |Tag.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  601. MAV_CMD_DO_JUMP_TAG=601, /* Jump to the matching tag in the mission list. Repeat this action for the specified number of times. A mission should contain a single matching tag for each jump. If this is not the case then a jump to a missing tag should complete the mission, and a jump where there are multiple matching tags should always select the one with the lowest mission sequence number. |Target tag to jump to.| Repeat count.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  602. MAV_CMD_DO_GIMBAL_MANAGER_PITCHYAW=1000, /* Set gimbal manager pitch/yaw setpoints (low rate command). It is possible to set combinations of the values below. E.g. an angle as well as a desired angular rate can be used to get to this angle at a certain angular rate, or an angular rate only will result in continuous turning. NaN is to be used to signal unset. Note: only the gimbal manager will react to this command - it will be ignored by a gimbal device. Use GIMBAL_MANAGER_SET_PITCHYAW if you need to stream pitch/yaw setpoints at higher rate. |Pitch angle (positive to pitch up, relative to vehicle for FOLLOW mode, relative to world horizon for LOCK mode).| Yaw angle (positive to yaw to the right, relative to vehicle for FOLLOW mode, absolute to North for LOCK mode).| Pitch rate (positive to pitch up).| Yaw rate (positive to yaw to the right).| Gimbal manager flags to use.| Reserved (default:0)| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| */
  603. MAV_CMD_DO_GIMBAL_MANAGER_CONFIGURE=1001, /* Gimbal configuration to set which sysid/compid is in primary and secondary control. |Sysid for primary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Compid for primary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Sysid for secondary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Compid for secondary control (0: no one in control, -1: leave unchanged, -2: set itself in control (for missions where the own sysid is still unknown), -3: remove control if currently in control).| Reserved (default:0)| Reserved (default:0)| Component ID of gimbal device to address (or 1-6 for non-MAVLink gimbal), 0 for all gimbal device components. Send command multiple times for more than one gimbal (but not all gimbals).| */
  604. MAV_CMD_IMAGE_START_CAPTURE=2000, /* Start image capture sequence. CAMERA_IMAGE_CAPTURED must be emitted after each capture.
  605. Param1 (id) may be used to specify the target camera: 0: all cameras, 1 to 6: autopilot-connected cameras, 7-255: MAVLink camera component ID.
  606. It is needed in order to target specific cameras connected to the autopilot, or specific sensors in a multi-sensor camera (neither of which have a distinct MAVLink component ID).
  607. It is also needed to specify the target camera in missions.
  608. When used in a mission, an autopilot should execute the MAV_CMD for a specified local camera (param1 = 1-6), or resend it as a command if it is intended for a MAVLink camera (param1 = 7 - 255), setting the command's target_component as the param1 value (and setting param1 in the command to zero).
  609. If the param1 is 0 the autopilot should do both.
  610. When sent in a command the target MAVLink address is set using target_component.
  611. If addressed specifically to an autopilot: param1 should be used in the same way as it is for missions (though command should NACK with MAV_RESULT_DENIED if a specified local camera does not exist).
  612. If addressed to a MAVLink camera, param 1 can be used to address all cameras (0), or to separately address 1 to 7 individual sensors. Other values should be NACKed with MAV_RESULT_DENIED.
  613. If the command is broadcast (target_component is 0) then param 1 should be set to 0 (any other value should be NACKED with MAV_RESULT_DENIED). An autopilot would trigger any local cameras and forward the command to all channels.
  614. |Target camera ID. 7 to 255: MAVLink camera component id. 1 to 6 for cameras that don't have a distinct component id (such as autopilot-attached cameras). 0: all cameras. This is used to specifically target autopilot-connected cameras or individual sensors in a multi-sensor MAVLink camera. It is also used to target specific cameras when the MAV_CMD is used in a mission| Desired elapsed time between two consecutive pictures (in seconds). Minimum values depend on hardware (typically greater than 2 seconds).| Total number of images to capture. 0 to capture forever/until MAV_CMD_IMAGE_STOP_CAPTURE.| Capture sequence number starting from 1. This is only valid for single-capture (param3 == 1), otherwise set to 0. Increment the capture ID for each capture command to prevent double captures when a command is re-transmitted.| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  615. MAV_CMD_IMAGE_STOP_CAPTURE=2001, /* Stop image capture sequence.
  616. Param1 (id) may be used to specify the target camera: 0: all cameras, 1 to 6: autopilot-connected cameras, 7-255: MAVLink camera component ID.
  617. It is needed in order to target specific cameras connected to the autopilot, or specific sensors in a multi-sensor camera (neither of which have a distinct MAVLink component ID).
  618. It is also needed to specify the target camera in missions.
  619. When used in a mission, an autopilot should execute the MAV_CMD for a specified local camera (param1 = 1-6), or resend it as a command if it is intended for a MAVLink camera (param1 = 7 - 255), setting the command's target_component as the param1 value (and setting param1 in the command to zero).
  620. If the param1 is 0 the autopilot should do both.
  621. When sent in a command the target MAVLink address is set using target_component.
  622. If addressed specifically to an autopilot: param1 should be used in the same way as it is for missions (though command should NACK with MAV_RESULT_DENIED if a specified local camera does not exist).
  623. If addressed to a MAVLink camera, param1 can be used to address all cameras (0), or to separately address 1 to 7 individual sensors. Other values should be NACKed with MAV_RESULT_DENIED.
  624. If the command is broadcast (target_component is 0) then param 1 should be set to 0 (any other value should be NACKED with MAV_RESULT_DENIED). An autopilot would trigger any local cameras and forward the command to all channels.
  625. |Target camera ID. 7 to 255: MAVLink camera component id. 1 to 6 for cameras that don't have a distinct component id (such as autopilot-attached cameras). 0: all cameras. This is used to specifically target autopilot-connected cameras or individual sensors in a multi-sensor MAVLink camera. It is also used to target specific cameras when the MAV_CMD is used in a mission| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  626. MAV_CMD_REQUEST_CAMERA_IMAGE_CAPTURE=2002, /* Re-request a CAMERA_IMAGE_CAPTURED message. |Sequence number for missing CAMERA_IMAGE_CAPTURED message| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  627. MAV_CMD_DO_TRIGGER_CONTROL=2003, /* Enable or disable on-board camera triggering system. |Trigger enable/disable (0 for disable, 1 for start), -1 to ignore| 1 to reset the trigger sequence, -1 or 0 to ignore| 1 to pause triggering, but without switching the camera off or retracting it. -1 to ignore| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  628. MAV_CMD_CAMERA_TRACK_POINT=2004, /* If the camera supports point visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_POINT is set), this command allows to initiate the tracking. |Point to track x value (normalized 0..1, 0 is left, 1 is right).| Point to track y value (normalized 0..1, 0 is top, 1 is bottom).| Point radius (normalized 0..1, 0 is image left, 1 is image right).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  629. MAV_CMD_CAMERA_TRACK_RECTANGLE=2005, /* If the camera supports rectangle visual tracking (CAMERA_CAP_FLAGS_HAS_TRACKING_RECTANGLE is set), this command allows to initiate the tracking. |Top left corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).| Top left corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).| Bottom right corner of rectangle x value (normalized 0..1, 0 is left, 1 is right).| Bottom right corner of rectangle y value (normalized 0..1, 0 is top, 1 is bottom).| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  630. MAV_CMD_CAMERA_STOP_TRACKING=2010, /* Stops ongoing tracking. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  631. MAV_CMD_VIDEO_START_CAPTURE=2500, /* Starts video capture (recording). |Video Stream ID (0 for all streams)| Frequency CAMERA_CAPTURE_STATUS messages should be sent while recording (0 for no messages, otherwise frequency)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  632. MAV_CMD_VIDEO_STOP_CAPTURE=2501, /* Stop the current video capture (recording). |Video Stream ID (0 for all streams)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  633. MAV_CMD_VIDEO_START_STREAMING=2502, /* Start video streaming |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  634. MAV_CMD_VIDEO_STOP_STREAMING=2503, /* Stop the given video stream |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  635. MAV_CMD_REQUEST_VIDEO_STREAM_INFORMATION=2504, /* Request video stream information (VIDEO_STREAM_INFORMATION) |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  636. MAV_CMD_REQUEST_VIDEO_STREAM_STATUS=2505, /* Request video stream status (VIDEO_STREAM_STATUS) |Video Stream ID (0 for all streams, 1 for first, 2 for second, etc.)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  637. MAV_CMD_LOGGING_START=2510, /* Request to start streaming logging data over MAVLink (see also LOGGING_DATA message) |Format: 0: ULog| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
  638. MAV_CMD_LOGGING_STOP=2511, /* Request to stop streaming log data over MAVLink |Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
  639. MAV_CMD_AIRFRAME_CONFIGURATION=2520, /* |Landing gear ID (default: 0, -1 for all)| Landing gear position (Down: 0, Up: 1, NaN for no change)| Reserved (default:NaN)| Reserved (default:NaN)| Reserved (default:0)| Reserved (default:0)| Reserved (default:NaN)| */
  640. MAV_CMD_CONTROL_HIGH_LATENCY=2600, /* Request to start/stop transmitting over the high latency telemetry |Control transmission over high latency telemetry (0: stop, 1: start)| Empty| Empty| Empty| Empty| Empty| Empty| */
  641. MAV_CMD_PANORAMA_CREATE=2800, /* Create a panorama at the current position |Viewing angle horizontal of the panorama (+- 0.5 the total angle)| Viewing angle vertical of panorama.| Speed of the horizontal rotation.| Speed of the vertical rotation.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  642. MAV_CMD_DO_VTOL_TRANSITION=3000, /* Request VTOL transition |The target VTOL state. For normal transitions, only MAV_VTOL_STATE_MC and MAV_VTOL_STATE_FW can be used.| Force immediate transition to the specified MAV_VTOL_STATE. 1: Force immediate, 0: normal transition. Can be used, for example, to trigger an emergency "Quadchute". Caution: Can be dangerous/damage vehicle, depending on autopilot implementation of this command.| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  643. MAV_CMD_ARM_AUTHORIZATION_REQUEST=3001, /* Request authorization to arm the vehicle to a external entity, the arm authorizer is responsible to request all data that is needs from the vehicle before authorize or deny the request.
  644. If approved the COMMAND_ACK message progress field should be set with period of time that this authorization is valid in seconds.
  645. If the authorization is denied COMMAND_ACK.result_param2 should be set with one of the reasons in ARM_AUTH_DENIED_REASON.
  646. |Vehicle system id, this way ground station can request arm authorization on behalf of any vehicle| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  647. MAV_CMD_SET_GUIDED_SUBMODE_STANDARD=4000, /* This command sets the submode to standard guided when vehicle is in guided mode. The vehicle holds position and altitude and the user can input the desired velocities along all three axes.
  648. |Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| Reserved (default:0)| */
  649. MAV_CMD_SET_GUIDED_SUBMODE_CIRCLE=4001, /* This command sets submode circle when vehicle is in guided mode. Vehicle flies along a circle facing the center of the circle. The user can input the velocity along the circle and change the radius. If no input is given the vehicle will hold position.
  650. |Radius of desired circle in CIRCLE_MODE| User defined| User defined| User defined| Target latitude of center of circle in CIRCLE_MODE| Target longitude of center of circle in CIRCLE_MODE| Reserved (default:0)| */
  651. MAV_CMD_CONDITION_GATE=4501, /* Delay mission state machine until gate has been reached. |Geometry: 0: orthogonal to path between previous and next waypoint.| Altitude: 0: ignore altitude| Empty| Empty| Latitude| Longitude| Altitude| */
  652. MAV_CMD_NAV_FENCE_RETURN_POINT=5000, /* Fence return point (there can only be one such point in a geofence definition). If rally points are supported they should be used instead. |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
  653. MAV_CMD_NAV_FENCE_POLYGON_VERTEX_INCLUSION=5001, /* Fence vertex for an inclusion polygon (the polygon must not be self-intersecting). The vehicle must stay within this area. Minimum of 3 vertices required.
  654. |Polygon vertex count| Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group, must be the same for all points in each polygon| Reserved| Reserved| Latitude| Longitude| Reserved| */
  655. MAV_CMD_NAV_FENCE_POLYGON_VERTEX_EXCLUSION=5002, /* Fence vertex for an exclusion polygon (the polygon must not be self-intersecting). The vehicle must stay outside this area. Minimum of 3 vertices required.
  656. |Polygon vertex count| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
  657. MAV_CMD_NAV_FENCE_CIRCLE_INCLUSION=5003, /* Circular fence area. The vehicle must stay inside this area.
  658. |Radius.| Vehicle must be inside ALL inclusion zones in a single group, vehicle must be inside at least one group| Reserved| Reserved| Latitude| Longitude| Reserved| */
  659. MAV_CMD_NAV_FENCE_CIRCLE_EXCLUSION=5004, /* Circular fence area. The vehicle must stay outside this area.
  660. |Radius.| Reserved| Reserved| Reserved| Latitude| Longitude| Reserved| */
  661. MAV_CMD_NAV_RALLY_POINT=5100, /* Rally point. You can have multiple rally points defined.
  662. |Reserved| Reserved| Reserved| Reserved| Latitude| Longitude| Altitude| */
  663. MAV_CMD_UAVCAN_GET_NODE_INFO=5200, /* Commands the vehicle to respond with a sequence of messages UAVCAN_NODE_INFO, one message per every UAVCAN node that is online. Note that some of the response messages can be lost, which the receiver can detect easily by checking whether every received UAVCAN_NODE_STATUS has a matching message UAVCAN_NODE_INFO received earlier; if not, this command should be sent again in order to request re-transmission of the node information messages. |Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
  664. MAV_CMD_DO_ADSB_OUT_IDENT=10001, /* Trigger the start of an ADSB-out IDENT. This should only be used when requested to do so by an Air Traffic Controller in controlled airspace. This starts the IDENT which is then typically held for 18 seconds by the hardware per the Mode A, C, and S transponder spec. |Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| Reserved (set to 0)| */
  665. MAV_CMD_PAYLOAD_PREPARE_DEPLOY=30001, /* Deploy payload on a Lat / Lon / Alt position. This includes the navigation to reach the required release position and velocity. |Operation mode. 0: prepare single payload deploy (overwriting previous requests), but do not execute it. 1: execute payload deploy immediately (rejecting further deploy commands during execution, but allowing abort). 2: add payload deploy to existing deployment list.| Desired approach vector in compass heading. A negative value indicates the system can define the approach vector at will.| Desired ground speed at release time. This can be overridden by the airframe in case it needs to meet minimum airspeed. A negative value indicates the system can define the ground speed at will.| Minimum altitude clearance to the release position. A negative value indicates the system can define the clearance at will.| Latitude.| Longitude.| Altitude (MSL)| */
  666. MAV_CMD_PAYLOAD_CONTROL_DEPLOY=30002, /* Control the payload deployment. |Operation mode. 0: Abort deployment, continue normal mission. 1: switch to payload deployment mode. 100: delete first payload deployment request. 101: delete all payload deployment requests.| Reserved| Reserved| Reserved| Reserved| Reserved| Reserved| */
  667. MAV_CMD_WAYPOINT_USER_1=31000, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  668. MAV_CMD_WAYPOINT_USER_2=31001, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  669. MAV_CMD_WAYPOINT_USER_3=31002, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  670. MAV_CMD_WAYPOINT_USER_4=31003, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  671. MAV_CMD_WAYPOINT_USER_5=31004, /* User defined waypoint item. Ground Station will show the Vehicle as flying through this item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  672. MAV_CMD_SPATIAL_USER_1=31005, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  673. MAV_CMD_SPATIAL_USER_2=31006, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  674. MAV_CMD_SPATIAL_USER_3=31007, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  675. MAV_CMD_SPATIAL_USER_4=31008, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  676. MAV_CMD_SPATIAL_USER_5=31009, /* User defined spatial item. Ground Station will not show the Vehicle as flying through this item. Example: ROI item. |User defined| User defined| User defined| User defined| Latitude unscaled| Longitude unscaled| Altitude (MSL)| */
  677. MAV_CMD_USER_1=31010, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
  678. MAV_CMD_USER_2=31011, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
  679. MAV_CMD_USER_3=31012, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
  680. MAV_CMD_USER_4=31013, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
  681. MAV_CMD_USER_5=31014, /* User defined command. Ground Station will not show the Vehicle as flying through this item. Example: MAV_CMD_DO_SET_PARAMETER item. |User defined| User defined| User defined| User defined| User defined| User defined| User defined| */
  682. MAV_CMD_CAN_FORWARD=32000, /* Request forwarding of CAN packets from the given CAN bus to this component. CAN Frames are sent using CAN_FRAME and CANFD_FRAME messages |Bus number (0 to disable forwarding, 1 for first bus, 2 for 2nd bus, 3 for 3rd bus).| Empty.| Empty.| Empty.| Empty.| Empty.| Empty.| */
  683. MAV_CMD_FIXED_MAG_CAL_YAW=42006, /* Magnetometer calibration based on provided known yaw. This allows for fast calibration using WMM field tables in the vehicle, given only the known yaw of the vehicle. If Latitude and longitude are both zero then use the current vehicle location. |Yaw of vehicle in earth frame.| CompassMask, 0 for all.| Latitude.| Longitude.| Empty.| Empty.| Empty.| */
  684. MAV_CMD_DO_WINCH=42600, /* Command to operate winch. |Winch instance number.| Action to perform.| Length of line to release (negative to wind).| Release rate (negative to wind).| Empty.| Empty.| Empty.| */
  685. MAV_CMD_EXTERNAL_POSITION_ESTIMATE=43003, /* Provide an external position estimate for use when dead-reckoning. This is meant to be used for occasional position resets that may be provided by a external system such as a remote pilot using landmarks over a video link. |Timestamp that this message was sent as a time in the transmitters time domain. The sender should wrap this time back to zero based on required timing accuracy for the application and the limitations of a 32 bit float. For example, wrapping at 10 hours would give approximately 1ms accuracy. Recipient must handle time wrap in any timing jitter correction applied to this field. Wrap rollover time should not be at not more than 250 seconds, which would give approximately 10 microsecond accuracy.| The time spent in processing the sensor data that is the basis for this position. The recipient can use this to improve time alignment of the data. Set to zero if not known.| estimated one standard deviation accuracy of the measurement. Set to NaN if not known.| Empty| Latitude| Longitude| Altitude, not used. Should be sent as NaN. May be supported in a future version of this message.| */
  686. VKFLY_CMD_NAV_WP=44010, /* VKFLY custom takephoto waypoint commond. | | | | Yaw control mode| Latitude| Longitude| Altitude| */
  687. VKFLY_CMD_NAV_WP_THROW=44011, /* VKFLY custom throwing waypoint command. | | | Reserved.| Yaw control mode.| Latitude| Longitude| Altitude| */
  688. VKFLY_CMD_NAV_WP_ORBIT_DO_PHOTO=44012, /* VLFLY Custom orbit waypoint | | | | | Latitude| Longitude| Altitude| */
  689. VKFLY_CMD_NAV_EDU_TRAINING=44013, /* VLFLY Custom orbit waypoint | | | | | Latitude| Longitude| Altitude| */
  690. VKFLY_CMD_MOUNT_CTRL=44030, /* VLFLY Custom orbit waypoint | | | | | Latitude| Longitude| Altitude| */
  691. VKFLY_CMD_FORMATION_FLY=44031, /* Formation fly assemble, disband or change formation |1 means assemble, 2 means quit, 3 means change formation| | | | | | | */
  692. VKFLY_CMD_ESC_CONFIG=44050, /* can esc id configuration | Set Esc id, min=1, max=16 | | | | | | | */
  693. VKFLY_CMD_DO_REPOSITION_THAN_THROW=44060, /* Do reposition and throwing | Throw servo id bitmap | | | | | | | */
  694. VKFLY_CMD_DO_REPOSITION_THAN_LAND=44061, /* Do reposition and throwing | Ground msl altitude| | | | | | | */
  695. VKFLY_CMD_MISSION_START=44062, /* Start mission |start sequence of mission| | | | | | | */
  696. VKFLY_CMD_RETURN_TO_LAUCH=44063, /* Return to launch position than land |start sequence of mission| | | | | | | */
  697. VKFLY_CMD_WEIGHER_CONFIG=44064, /* Weigher config command |NAN means invalid. Other positive value means the
  698. actual weight| NAN means invalid. 1 means do factory reset.| | | | | | */
  699. VKFLY_CMD_DO_FIXEDWING_ACTUATOR_CHECK=44065, /* Check fixedwing servos. |NAN means ignore.0 do all
  700. mid, 1 do roll mid, 2 do roll right, 3 do roll left, 4 do pitch mid, 5 do pitch up, 6 do
  701. pitch down, 7 do yaw mid, 8 do yaw right, 9 do yaw down.| NAN means ignore. -1
  702. throttle off, 0 throttle idle, 100 throttle full | | | | | | */
  703. VKFLY_CMD_SET_RTL_CIRCLE_WP=44066, /* Set return circle point. |NAN means use default circle radius. Positive value means
  704. circle
  705. in clockwise.| NAN means ignore. 1 means do goto rtl circle point right
  706. now.
  707. | | | | | | */
  708. VKFLY_CMD_MISSION_START_EDU_TRAINING=44067, /* Start mission |start sequence of mission| | | | | | | */
  709. VKFLY_CMD_RESUME_WP_ALT=44068, /* Start mission |resume wp altitude and disable rc
  710. aux| | | | | | | */
  711. VKFLY_CMD_EXT_NAV_CFG=44069, /* Start mission || | | | | | | */
  712. VKFLY_CMD_DO_REPOSITION=44070, /* Do reposition || | | NAN means ignore | NAN means ignore | NAN means ignore | NAN means ignore | */
  713. MAV_CMD_ENUM_END=44071, /* | */
  714. } MAV_CMD;
  715. #endif
  716. // MAVLINK VERSION
  717. #ifndef MAVLINK_VERSION
  718. #define MAVLINK_VERSION 2
  719. #endif
  720. #if (MAVLINK_VERSION == 0)
  721. #undef MAVLINK_VERSION
  722. #define MAVLINK_VERSION 2
  723. #endif
  724. // MESSAGE DEFINITIONS
  725. #include "./mavlink_msg_vkins_status.h"
  726. #include "./mavlink_msg_vkfmu_status.h"
  727. #include "./mavlink_msg_vk_roi_target.h"
  728. #include "./mavlink_msg_vk_bms_status.h"
  729. #include "./mavlink_msg_vk_formation_leader.h"
  730. #include "./mavlink_msg_vk_engine_ecu_staus.h"
  731. #include "./mavlink_msg_vk_comp_version.h"
  732. #include "./mavlink_msg_vk_mosaich_gps_raw.h"
  733. #include "./mavlink_msg_vk_digi_esc_status.h"
  734. #include "./mavlink_msg_vk_fixedwing_control_value.h"
  735. #include "./mavlink_msg_vk_fixedwing_servo_signal.h"
  736. #include "./mavlink_msg_vk_fixedwing_rtl_circle_wp.h"
  737. #include "./mavlink_msg_vk_parachute_status.h"
  738. #include "./mavlink_msg_vk_weigher_state.h"
  739. #include "./mavlink_msg_vk_payload_data_relay.h"
  740. #include "./mavlink_msg_vk_external_ins_nav.h"
  741. #include "./mavlink_msg_vk_rtk_base_pvt.h"
  742. #include "./mavlink_msg_vkfly_edu_status.h"
  743. #include "./mavlink_msg_vkfly_edu_status_ack.h"
  744. #include "./mavlink_msg_vk_fw_update_begin.h"
  745. #include "./mavlink_msg_vk_fw_update_ack.h"
  746. #include "./mavlink_msg_vk_fw_update_data_request.h"
  747. #include "./mavlink_msg_vk_fw_update_data.h"
  748. #include "./mavlink_msg_vk_update_terminate.h"
  749. #include "./mavlink_msg_fmub_status.h"
  750. #include "./mavlink_msg_qingxie_bms.h"
  751. // base include
  752. #include "../common/common.h"
  753. #if MAVLINK_VKFLY_XML_HASH == MAVLINK_PRIMARY_XML_HASH
  754. # define MAVLINK_MESSAGE_INFO {MAVLINK_MESSAGE_INFO_HEARTBEAT, MAVLINK_MESSAGE_INFO_SYS_STATUS, MAVLINK_MESSAGE_INFO_SYSTEM_TIME, MAVLINK_MESSAGE_INFO_PING, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL, MAVLINK_MESSAGE_INFO_CHANGE_OPERATOR_CONTROL_ACK, MAVLINK_MESSAGE_INFO_AUTH_KEY, MAVLINK_MESSAGE_INFO_LINK_NODE_STATUS, MAVLINK_MESSAGE_INFO_SET_MODE, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_READ, MAVLINK_MESSAGE_INFO_PARAM_REQUEST_LIST, MAVLINK_MESSAGE_INFO_PARAM_VALUE, MAVLINK_MESSAGE_INFO_PARAM_SET, MAVLINK_MESSAGE_INFO_GPS_RAW_INT, MAVLINK_MESSAGE_INFO_GPS_STATUS, MAVLINK_MESSAGE_INFO_SCALED_IMU, MAVLINK_MESSAGE_INFO_RAW_IMU, MAVLINK_MESSAGE_INFO_RAW_PRESSURE, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE, MAVLINK_MESSAGE_INFO_ATTITUDE, MAVLINK_MESSAGE_INFO_ATTITUDE_QUATERNION, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION_INT, MAVLINK_MESSAGE_INFO_RC_CHANNELS_SCALED, MAVLINK_MESSAGE_INFO_RC_CHANNELS_RAW, MAVLINK_MESSAGE_INFO_SERVO_OUTPUT_RAW, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_PARTIAL_LIST, MAVLINK_MESSAGE_INFO_MISSION_WRITE_PARTIAL_LIST, MAVLINK_MESSAGE_INFO_MISSION_ITEM, MAVLINK_MESSAGE_INFO_MISSION_REQUEST, MAVLINK_MESSAGE_INFO_MISSION_SET_CURRENT, MAVLINK_MESSAGE_INFO_MISSION_CURRENT, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_LIST, MAVLINK_MESSAGE_INFO_MISSION_COUNT, MAVLINK_MESSAGE_INFO_MISSION_CLEAR_ALL, MAVLINK_MESSAGE_INFO_MISSION_ITEM_REACHED, MAVLINK_MESSAGE_INFO_MISSION_ACK, MAVLINK_MESSAGE_INFO_SET_GPS_GLOBAL_ORIGIN, MAVLINK_MESSAGE_INFO_GPS_GLOBAL_ORIGIN, MAVLINK_MESSAGE_INFO_PARAM_MAP_RC, MAVLINK_MESSAGE_INFO_MISSION_REQUEST_INT, MAVLINK_MESSAGE_INFO_SAFETY_SET_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_SAFETY_ALLOWED_AREA, MAVLINK_MESSAGE_INFO_ATTITUDE_QUATERNION_COV, MAVLINK_MESSAGE_INFO_NAV_CONTROLLER_OUTPUT, MAVLINK_MESSAGE_INFO_GLOBAL_POSITION_INT_COV, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED_COV, MAVLINK_MESSAGE_INFO_RC_CHANNELS, MAVLINK_MESSAGE_INFO_REQUEST_DATA_STREAM, MAVLINK_MESSAGE_INFO_DATA_STREAM, MAVLINK_MESSAGE_INFO_MANUAL_CONTROL, MAVLINK_MESSAGE_INFO_RC_CHANNELS_OVERRIDE, MAVLINK_MESSAGE_INFO_MISSION_ITEM_INT, MAVLINK_MESSAGE_INFO_VFR_HUD, MAVLINK_MESSAGE_INFO_COMMAND_INT, MAVLINK_MESSAGE_INFO_COMMAND_LONG, MAVLINK_MESSAGE_INFO_COMMAND_ACK, MAVLINK_MESSAGE_INFO_COMMAND_CANCEL, MAVLINK_MESSAGE_INFO_MANUAL_SETPOINT, MAVLINK_MESSAGE_INFO_SET_ATTITUDE_TARGET, MAVLINK_MESSAGE_INFO_ATTITUDE_TARGET, MAVLINK_MESSAGE_INFO_SET_POSITION_TARGET_LOCAL_NED, MAVLINK_MESSAGE_INFO_POSITION_TARGET_LOCAL_NED, MAVLINK_MESSAGE_INFO_SET_POSITION_TARGET_GLOBAL_INT, MAVLINK_MESSAGE_INFO_POSITION_TARGET_GLOBAL_INT, MAVLINK_MESSAGE_INFO_LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET, MAVLINK_MESSAGE_INFO_HIL_STATE, MAVLINK_MESSAGE_INFO_HIL_CONTROLS, MAVLINK_MESSAGE_INFO_HIL_RC_INPUTS_RAW, MAVLINK_MESSAGE_INFO_HIL_ACTUATOR_CONTROLS, MAVLINK_MESSAGE_INFO_OPTICAL_FLOW, MAVLINK_MESSAGE_INFO_GLOBAL_VISION_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_VISION_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_VISION_SPEED_ESTIMATE, MAVLINK_MESSAGE_INFO_VICON_POSITION_ESTIMATE, MAVLINK_MESSAGE_INFO_HIGHRES_IMU, MAVLINK_MESSAGE_INFO_OPTICAL_FLOW_RAD, MAVLINK_MESSAGE_INFO_HIL_SENSOR, MAVLINK_MESSAGE_INFO_SIM_STATE, MAVLINK_MESSAGE_INFO_RADIO_STATUS, MAVLINK_MESSAGE_INFO_FILE_TRANSFER_PROTOCOL, MAVLINK_MESSAGE_INFO_TIMESYNC, MAVLINK_MESSAGE_INFO_CAMERA_TRIGGER, MAVLINK_MESSAGE_INFO_HIL_GPS, MAVLINK_MESSAGE_INFO_HIL_OPTICAL_FLOW, MAVLINK_MESSAGE_INFO_HIL_STATE_QUATERNION, MAVLINK_MESSAGE_INFO_SCALED_IMU2, MAVLINK_MESSAGE_INFO_LOG_REQUEST_LIST, MAVLINK_MESSAGE_INFO_LOG_ENTRY, MAVLINK_MESSAGE_INFO_LOG_REQUEST_DATA, MAVLINK_MESSAGE_INFO_LOG_DATA, MAVLINK_MESSAGE_INFO_LOG_ERASE, MAVLINK_MESSAGE_INFO_LOG_REQUEST_END, MAVLINK_MESSAGE_INFO_GPS_INJECT_DATA, MAVLINK_MESSAGE_INFO_GPS2_RAW, MAVLINK_MESSAGE_INFO_POWER_STATUS, MAVLINK_MESSAGE_INFO_SERIAL_CONTROL, MAVLINK_MESSAGE_INFO_GPS_RTK, MAVLINK_MESSAGE_INFO_GPS2_RTK, MAVLINK_MESSAGE_INFO_SCALED_IMU3, MAVLINK_MESSAGE_INFO_DATA_TRANSMISSION_HANDSHAKE, MAVLINK_MESSAGE_INFO_ENCAPSULATED_DATA, MAVLINK_MESSAGE_INFO_DISTANCE_SENSOR, MAVLINK_MESSAGE_INFO_TERRAIN_REQUEST, MAVLINK_MESSAGE_INFO_TERRAIN_DATA, MAVLINK_MESSAGE_INFO_TERRAIN_CHECK, MAVLINK_MESSAGE_INFO_TERRAIN_REPORT, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE2, MAVLINK_MESSAGE_INFO_ATT_POS_MOCAP, MAVLINK_MESSAGE_INFO_SET_ACTUATOR_CONTROL_TARGET, MAVLINK_MESSAGE_INFO_ACTUATOR_CONTROL_TARGET, MAVLINK_MESSAGE_INFO_ALTITUDE, MAVLINK_MESSAGE_INFO_RESOURCE_REQUEST, MAVLINK_MESSAGE_INFO_SCALED_PRESSURE3, MAVLINK_MESSAGE_INFO_FOLLOW_TARGET, MAVLINK_MESSAGE_INFO_CONTROL_SYSTEM_STATE, MAVLINK_MESSAGE_INFO_BATTERY_STATUS, MAVLINK_MESSAGE_INFO_AUTOPILOT_VERSION, MAVLINK_MESSAGE_INFO_LANDING_TARGET, MAVLINK_MESSAGE_INFO_FENCE_STATUS, MAVLINK_MESSAGE_INFO_MAG_CAL_REPORT, MAVLINK_MESSAGE_INFO_EFI_STATUS, MAVLINK_MESSAGE_INFO_ESTIMATOR_STATUS, MAVLINK_MESSAGE_INFO_WIND_COV, MAVLINK_MESSAGE_INFO_GPS_INPUT, MAVLINK_MESSAGE_INFO_GPS_RTCM_DATA, MAVLINK_MESSAGE_INFO_HIGH_LATENCY, MAVLINK_MESSAGE_INFO_HIGH_LATENCY2, MAVLINK_MESSAGE_INFO_VIBRATION, MAVLINK_MESSAGE_INFO_HOME_POSITION, MAVLINK_MESSAGE_INFO_SET_HOME_POSITION, MAVLINK_MESSAGE_INFO_MESSAGE_INTERVAL, MAVLINK_MESSAGE_INFO_EXTENDED_SYS_STATE, MAVLINK_MESSAGE_INFO_ADSB_VEHICLE, MAVLINK_MESSAGE_INFO_COLLISION, MAVLINK_MESSAGE_INFO_V2_EXTENSION, MAVLINK_MESSAGE_INFO_MEMORY_VECT, MAVLINK_MESSAGE_INFO_DEBUG_VECT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_FLOAT, MAVLINK_MESSAGE_INFO_NAMED_VALUE_INT, MAVLINK_MESSAGE_INFO_STATUSTEXT, MAVLINK_MESSAGE_INFO_DEBUG, MAVLINK_MESSAGE_INFO_SETUP_SIGNING, MAVLINK_MESSAGE_INFO_BUTTON_CHANGE, MAVLINK_MESSAGE_INFO_PLAY_TUNE, MAVLINK_MESSAGE_INFO_CAMERA_INFORMATION, MAVLINK_MESSAGE_INFO_CAMERA_SETTINGS, MAVLINK_MESSAGE_INFO_STORAGE_INFORMATION, MAVLINK_MESSAGE_INFO_CAMERA_CAPTURE_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_IMAGE_CAPTURED, MAVLINK_MESSAGE_INFO_FLIGHT_INFORMATION, MAVLINK_MESSAGE_INFO_MOUNT_ORIENTATION, MAVLINK_MESSAGE_INFO_LOGGING_DATA, MAVLINK_MESSAGE_INFO_LOGGING_DATA_ACKED, MAVLINK_MESSAGE_INFO_LOGGING_ACK, MAVLINK_MESSAGE_INFO_VIDEO_STREAM_INFORMATION, MAVLINK_MESSAGE_INFO_VIDEO_STREAM_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_FOV_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_TRACKING_IMAGE_STATUS, MAVLINK_MESSAGE_INFO_CAMERA_TRACKING_GEO_STATUS, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_INFORMATION, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_STATUS, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_ATTITUDE, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_INFORMATION, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_SET_ATTITUDE, MAVLINK_MESSAGE_INFO_GIMBAL_DEVICE_ATTITUDE_STATUS, MAVLINK_MESSAGE_INFO_AUTOPILOT_STATE_FOR_GIMBAL_DEVICE, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_PITCHYAW, MAVLINK_MESSAGE_INFO_GIMBAL_MANAGER_SET_MANUAL_CONTROL, MAVLINK_MESSAGE_INFO_ESC_INFO, MAVLINK_MESSAGE_INFO_ESC_STATUS, MAVLINK_MESSAGE_INFO_WIFI_CONFIG_AP, MAVLINK_MESSAGE_INFO_PROTOCOL_VERSION, MAVLINK_MESSAGE_INFO_AIS_VESSEL, MAVLINK_MESSAGE_INFO_UAVCAN_NODE_STATUS, MAVLINK_MESSAGE_INFO_UAVCAN_NODE_INFO, MAVLINK_MESSAGE_INFO_PARAM_EXT_REQUEST_READ, MAVLINK_MESSAGE_INFO_PARAM_EXT_REQUEST_LIST, MAVLINK_MESSAGE_INFO_PARAM_EXT_VALUE, MAVLINK_MESSAGE_INFO_PARAM_EXT_SET, MAVLINK_MESSAGE_INFO_PARAM_EXT_ACK, MAVLINK_MESSAGE_INFO_OBSTACLE_DISTANCE, MAVLINK_MESSAGE_INFO_ODOMETRY, MAVLINK_MESSAGE_INFO_TRAJECTORY_REPRESENTATION_WAYPOINTS, MAVLINK_MESSAGE_INFO_TRAJECTORY_REPRESENTATION_BEZIER, MAVLINK_MESSAGE_INFO_CELLULAR_STATUS, MAVLINK_MESSAGE_INFO_ISBD_LINK_STATUS, MAVLINK_MESSAGE_INFO_CELLULAR_CONFIG, MAVLINK_MESSAGE_INFO_RAW_RPM, MAVLINK_MESSAGE_INFO_UTM_GLOBAL_POSITION, MAVLINK_MESSAGE_INFO_DEBUG_FLOAT_ARRAY, MAVLINK_MESSAGE_INFO_ORBIT_EXECUTION_STATUS, MAVLINK_MESSAGE_INFO_BATTERY_INFO, MAVLINK_MESSAGE_INFO_GENERATOR_STATUS, MAVLINK_MESSAGE_INFO_ACTUATOR_OUTPUT_STATUS, MAVLINK_MESSAGE_INFO_TIME_ESTIMATE_TO_TARGET, MAVLINK_MESSAGE_INFO_TUNNEL, MAVLINK_MESSAGE_INFO_CAN_FRAME, MAVLINK_MESSAGE_INFO_CANFD_FRAME, MAVLINK_MESSAGE_INFO_CAN_FILTER_MODIFY, MAVLINK_MESSAGE_INFO_ONBOARD_COMPUTER_STATUS, MAVLINK_MESSAGE_INFO_COMPONENT_INFORMATION, MAVLINK_MESSAGE_INFO_COMPONENT_METADATA, MAVLINK_MESSAGE_INFO_PLAY_TUNE_V2, MAVLINK_MESSAGE_INFO_SUPPORTED_TUNES, MAVLINK_MESSAGE_INFO_EVENT, MAVLINK_MESSAGE_INFO_CURRENT_EVENT_SEQUENCE, MAVLINK_MESSAGE_INFO_REQUEST_EVENT, MAVLINK_MESSAGE_INFO_RESPONSE_EVENT_ERROR, MAVLINK_MESSAGE_INFO_WHEEL_DISTANCE, MAVLINK_MESSAGE_INFO_WINCH_STATUS, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_BASIC_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_LOCATION, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_AUTHENTICATION, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_SELF_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_SYSTEM, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_OPERATOR_ID, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_MESSAGE_PACK, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_ARM_STATUS, MAVLINK_MESSAGE_INFO_OPEN_DRONE_ID_SYSTEM_UPDATE, MAVLINK_MESSAGE_INFO_HYGROMETER_SENSOR, MAVLINK_MESSAGE_INFO_VKINS_STATUS, MAVLINK_MESSAGE_INFO_VKFMU_STATUS, MAVLINK_MESSAGE_INFO_VK_ROI_TARGET, MAVLINK_MESSAGE_INFO_VK_BMS_STATUS, MAVLINK_MESSAGE_INFO_VK_FORMATION_LEADER, MAVLINK_MESSAGE_INFO_VK_ENGINE_ECU_STAUS, MAVLINK_MESSAGE_INFO_VK_COMP_VERSION, MAVLINK_MESSAGE_INFO_VK_MOSAICH_GPS_RAW, MAVLINK_MESSAGE_INFO_VK_DIGI_ESC_STATUS, MAVLINK_MESSAGE_INFO_VK_FIXEDWING_CONTROL_VALUE, MAVLINK_MESSAGE_INFO_VK_FIXEDWING_SERVO_SIGNAL, MAVLINK_MESSAGE_INFO_VK_FIXEDWING_RTL_CIRCLE_WP, MAVLINK_MESSAGE_INFO_VK_PARACHUTE_STATUS, MAVLINK_MESSAGE_INFO_VK_WEIGHER_STATE, MAVLINK_MESSAGE_INFO_VK_PAYLOAD_DATA_RELAY, MAVLINK_MESSAGE_INFO_VK_EXTERNAL_INS_NAV, MAVLINK_MESSAGE_INFO_VK_RTK_BASE_PVT, MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS, MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_ACK, MAVLINK_MESSAGE_INFO_VK_FW_UPDATE_BEGIN, MAVLINK_MESSAGE_INFO_VK_FW_UPDATE_ACK, MAVLINK_MESSAGE_INFO_VK_FW_UPDATE_DATA_REQUEST, MAVLINK_MESSAGE_INFO_VK_FW_UPDATE_DATA, MAVLINK_MESSAGE_INFO_VK_UPDATE_TERMINATE, MAVLINK_MESSAGE_INFO_FMUB_STATUS, MAVLINK_MESSAGE_INFO_QINGXIE_BMS}
  755. # define MAVLINK_MESSAGE_NAMES {{ "ACTUATOR_CONTROL_TARGET", 140 }, { "ACTUATOR_OUTPUT_STATUS", 375 }, { "ADSB_VEHICLE", 246 }, { "AIS_VESSEL", 301 }, { "ALTITUDE", 141 }, { "ATTITUDE", 30 }, { "ATTITUDE_QUATERNION", 31 }, { "ATTITUDE_QUATERNION_COV", 61 }, { "ATTITUDE_TARGET", 83 }, { "ATT_POS_MOCAP", 138 }, { "AUTH_KEY", 7 }, { "AUTOPILOT_STATE_FOR_GIMBAL_DEVICE", 286 }, { "AUTOPILOT_VERSION", 148 }, { "BATTERY_INFO", 370 }, { "BATTERY_STATUS", 147 }, { "BUTTON_CHANGE", 257 }, { "CAMERA_CAPTURE_STATUS", 262 }, { "CAMERA_FOV_STATUS", 271 }, { "CAMERA_IMAGE_CAPTURED", 263 }, { "CAMERA_INFORMATION", 259 }, { "CAMERA_SETTINGS", 260 }, { "CAMERA_TRACKING_GEO_STATUS", 276 }, { "CAMERA_TRACKING_IMAGE_STATUS", 275 }, { "CAMERA_TRIGGER", 112 }, { "CANFD_FRAME", 387 }, { "CAN_FILTER_MODIFY", 388 }, { "CAN_FRAME", 386 }, { "CELLULAR_CONFIG", 336 }, { "CELLULAR_STATUS", 334 }, { "CHANGE_OPERATOR_CONTROL", 5 }, { "CHANGE_OPERATOR_CONTROL_ACK", 6 }, { "COLLISION", 247 }, { "COMMAND_ACK", 77 }, { "COMMAND_CANCEL", 80 }, { "COMMAND_INT", 75 }, { "COMMAND_LONG", 76 }, { "COMPONENT_INFORMATION", 395 }, { "COMPONENT_METADATA", 397 }, { "CONTROL_SYSTEM_STATE", 146 }, { "CURRENT_EVENT_SEQUENCE", 411 }, { "DATA_STREAM", 67 }, { "DATA_TRANSMISSION_HANDSHAKE", 130 }, { "DEBUG", 254 }, { "DEBUG_FLOAT_ARRAY", 350 }, { "DEBUG_VECT", 250 }, { "DISTANCE_SENSOR", 132 }, { "EFI_STATUS", 225 }, { "ENCAPSULATED_DATA", 131 }, { "ESC_INFO", 290 }, { "ESC_STATUS", 291 }, { "ESTIMATOR_STATUS", 230 }, { "EVENT", 410 }, { "EXTENDED_SYS_STATE", 245 }, { "FENCE_STATUS", 162 }, { "FILE_TRANSFER_PROTOCOL", 110 }, { "FLIGHT_INFORMATION", 264 }, { "FMUB_STATUS", 53200 }, { "FOLLOW_TARGET", 144 }, { "GENERATOR_STATUS", 373 }, { "GIMBAL_DEVICE_ATTITUDE_STATUS", 285 }, { "GIMBAL_DEVICE_INFORMATION", 283 }, { "GIMBAL_DEVICE_SET_ATTITUDE", 284 }, { "GIMBAL_MANAGER_INFORMATION", 280 }, { "GIMBAL_MANAGER_SET_ATTITUDE", 282 }, { "GIMBAL_MANAGER_SET_MANUAL_CONTROL", 288 }, { "GIMBAL_MANAGER_SET_PITCHYAW", 287 }, { "GIMBAL_MANAGER_STATUS", 281 }, { "GLOBAL_POSITION_INT", 33 }, { "GLOBAL_POSITION_INT_COV", 63 }, { "GLOBAL_VISION_POSITION_ESTIMATE", 101 }, { "GPS2_RAW", 124 }, { "GPS2_RTK", 128 }, { "GPS_GLOBAL_ORIGIN", 49 }, { "GPS_INJECT_DATA", 123 }, { "GPS_INPUT", 232 }, { "GPS_RAW_INT", 24 }, { "GPS_RTCM_DATA", 233 }, { "GPS_RTK", 127 }, { "GPS_STATUS", 25 }, { "HEARTBEAT", 0 }, { "HIGHRES_IMU", 105 }, { "HIGH_LATENCY", 234 }, { "HIGH_LATENCY2", 235 }, { "HIL_ACTUATOR_CONTROLS", 93 }, { "HIL_CONTROLS", 91 }, { "HIL_GPS", 113 }, { "HIL_OPTICAL_FLOW", 114 }, { "HIL_RC_INPUTS_RAW", 92 }, { "HIL_SENSOR", 107 }, { "HIL_STATE", 90 }, { "HIL_STATE_QUATERNION", 115 }, { "HOME_POSITION", 242 }, { "HYGROMETER_SENSOR", 12920 }, { "ISBD_LINK_STATUS", 335 }, { "LANDING_TARGET", 149 }, { "LINK_NODE_STATUS", 8 }, { "LOCAL_POSITION_NED", 32 }, { "LOCAL_POSITION_NED_COV", 64 }, { "LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET", 89 }, { "LOGGING_ACK", 268 }, { "LOGGING_DATA", 266 }, { "LOGGING_DATA_ACKED", 267 }, { "LOG_DATA", 120 }, { "LOG_ENTRY", 118 }, { "LOG_ERASE", 121 }, { "LOG_REQUEST_DATA", 119 }, { "LOG_REQUEST_END", 122 }, { "LOG_REQUEST_LIST", 117 }, { "MAG_CAL_REPORT", 192 }, { "MANUAL_CONTROL", 69 }, { "MANUAL_SETPOINT", 81 }, { "MEMORY_VECT", 249 }, { "MESSAGE_INTERVAL", 244 }, { "MISSION_ACK", 47 }, { "MISSION_CLEAR_ALL", 45 }, { "MISSION_COUNT", 44 }, { "MISSION_CURRENT", 42 }, { "MISSION_ITEM", 39 }, { "MISSION_ITEM_INT", 73 }, { "MISSION_ITEM_REACHED", 46 }, { "MISSION_REQUEST", 40 }, { "MISSION_REQUEST_INT", 51 }, { "MISSION_REQUEST_LIST", 43 }, { "MISSION_REQUEST_PARTIAL_LIST", 37 }, { "MISSION_SET_CURRENT", 41 }, { "MISSION_WRITE_PARTIAL_LIST", 38 }, { "MOUNT_ORIENTATION", 265 }, { "NAMED_VALUE_FLOAT", 251 }, { "NAMED_VALUE_INT", 252 }, { "NAV_CONTROLLER_OUTPUT", 62 }, { "OBSTACLE_DISTANCE", 330 }, { "ODOMETRY", 331 }, { "ONBOARD_COMPUTER_STATUS", 390 }, { "OPEN_DRONE_ID_ARM_STATUS", 12918 }, { "OPEN_DRONE_ID_AUTHENTICATION", 12902 }, { "OPEN_DRONE_ID_BASIC_ID", 12900 }, { "OPEN_DRONE_ID_LOCATION", 12901 }, { "OPEN_DRONE_ID_MESSAGE_PACK", 12915 }, { "OPEN_DRONE_ID_OPERATOR_ID", 12905 }, { "OPEN_DRONE_ID_SELF_ID", 12903 }, { "OPEN_DRONE_ID_SYSTEM", 12904 }, { "OPEN_DRONE_ID_SYSTEM_UPDATE", 12919 }, { "OPTICAL_FLOW", 100 }, { "OPTICAL_FLOW_RAD", 106 }, { "ORBIT_EXECUTION_STATUS", 360 }, { "PARAM_EXT_ACK", 324 }, { "PARAM_EXT_REQUEST_LIST", 321 }, { "PARAM_EXT_REQUEST_READ", 320 }, { "PARAM_EXT_SET", 323 }, { "PARAM_EXT_VALUE", 322 }, { "PARAM_MAP_RC", 50 }, { "PARAM_REQUEST_LIST", 21 }, { "PARAM_REQUEST_READ", 20 }, { "PARAM_SET", 23 }, { "PARAM_VALUE", 22 }, { "PING", 4 }, { "PLAY_TUNE", 258 }, { "PLAY_TUNE_V2", 400 }, { "POSITION_TARGET_GLOBAL_INT", 87 }, { "POSITION_TARGET_LOCAL_NED", 85 }, { "POWER_STATUS", 125 }, { "PROTOCOL_VERSION", 300 }, { "QINGXIE_BMS", 53300 }, { "RADIO_STATUS", 109 }, { "RAW_IMU", 27 }, { "RAW_PRESSURE", 28 }, { "RAW_RPM", 339 }, { "RC_CHANNELS", 65 }, { "RC_CHANNELS_OVERRIDE", 70 }, { "RC_CHANNELS_RAW", 35 }, { "RC_CHANNELS_SCALED", 34 }, { "REQUEST_DATA_STREAM", 66 }, { "REQUEST_EVENT", 412 }, { "RESOURCE_REQUEST", 142 }, { "RESPONSE_EVENT_ERROR", 413 }, { "SAFETY_ALLOWED_AREA", 55 }, { "SAFETY_SET_ALLOWED_AREA", 54 }, { "SCALED_IMU", 26 }, { "SCALED_IMU2", 116 }, { "SCALED_IMU3", 129 }, { "SCALED_PRESSURE", 29 }, { "SCALED_PRESSURE2", 137 }, { "SCALED_PRESSURE3", 143 }, { "SERIAL_CONTROL", 126 }, { "SERVO_OUTPUT_RAW", 36 }, { "SETUP_SIGNING", 256 }, { "SET_ACTUATOR_CONTROL_TARGET", 139 }, { "SET_ATTITUDE_TARGET", 82 }, { "SET_GPS_GLOBAL_ORIGIN", 48 }, { "SET_HOME_POSITION", 243 }, { "SET_MODE", 11 }, { "SET_POSITION_TARGET_GLOBAL_INT", 86 }, { "SET_POSITION_TARGET_LOCAL_NED", 84 }, { "SIM_STATE", 108 }, { "STATUSTEXT", 253 }, { "STORAGE_INFORMATION", 261 }, { "SUPPORTED_TUNES", 401 }, { "SYSTEM_TIME", 2 }, { "SYS_STATUS", 1 }, { "TERRAIN_CHECK", 135 }, { "TERRAIN_DATA", 134 }, { "TERRAIN_REPORT", 136 }, { "TERRAIN_REQUEST", 133 }, { "TIMESYNC", 111 }, { "TIME_ESTIMATE_TO_TARGET", 380 }, { "TRAJECTORY_REPRESENTATION_BEZIER", 333 }, { "TRAJECTORY_REPRESENTATION_WAYPOINTS", 332 }, { "TUNNEL", 385 }, { "UAVCAN_NODE_INFO", 311 }, { "UAVCAN_NODE_STATUS", 310 }, { "UTM_GLOBAL_POSITION", 340 }, { "V2_EXTENSION", 248 }, { "VFR_HUD", 74 }, { "VIBRATION", 241 }, { "VICON_POSITION_ESTIMATE", 104 }, { "VIDEO_STREAM_INFORMATION", 269 }, { "VIDEO_STREAM_STATUS", 270 }, { "VISION_POSITION_ESTIMATE", 102 }, { "VISION_SPEED_ESTIMATE", 103 }, { "VKFLY_EDU_STATUS", 53025 }, { "VKFLY_EDU_STATUS_ACK", 53026 }, { "VKFMU_STATUS", 53001 }, { "VKINS_STATUS", 53000 }, { "VK_BMS_STATUS", 53003 }, { "VK_COMP_VERSION", 53006 }, { "VK_DIGI_ESC_STATUS", 53008 }, { "VK_ENGINE_ECU_STAUS", 53005 }, { "VK_EXTERNAL_INS_NAV", 53023 }, { "VK_FIXEDWING_CONTROL_VALUE", 53009 }, { "VK_FIXEDWING_RTL_CIRCLE_WP", 53011 }, { "VK_FIXEDWING_SERVO_SIGNAL", 53010 }, { "VK_FORMATION_LEADER", 53004 }, { "VK_FW_UPDATE_ACK", 53101 }, { "VK_FW_UPDATE_BEGIN", 53100 }, { "VK_FW_UPDATE_DATA", 53103 }, { "VK_FW_UPDATE_DATA_REQUEST", 53102 }, { "VK_MOSAICH_GPS_RAW", 53007 }, { "VK_PARACHUTE_STATUS", 53020 }, { "VK_PAYLOAD_DATA_RELAY", 53022 }, { "VK_ROI_TARGET", 53002 }, { "VK_RTK_BASE_PVT", 53024 }, { "VK_UPDATE_TERMINATE", 53104 }, { "VK_WEIGHER_STATE", 53021 }, { "WHEEL_DISTANCE", 9000 }, { "WIFI_CONFIG_AP", 299 }, { "WINCH_STATUS", 9005 }, { "WIND_COV", 231 }}
  756. # if MAVLINK_COMMAND_24BIT
  757. # include "../mavlink_get_info.h"
  758. # endif
  759. #endif
  760. #ifdef __cplusplus
  761. }
  762. #endif // __cplusplus
  763. #endif // MAVLINK_VKFLY_H