Browse Source

生成头文件

Liu Yang 3 days ago
parent
commit
3e61f10766

+ 8 - 7
v2.0/VKFly/VKFly.h

@@ -10,7 +10,7 @@
     #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.
 #endif
 
-#define MAVLINK_VKFLY_XML_HASH -992509777465783844
+#define MAVLINK_VKFLY_XML_HASH -5628547367346913573
 
 #ifdef __cplusplus
 extern "C" {
@@ -216,11 +216,12 @@ typedef enum VKFLY_SYS_ERROR1
    VKFLY_SYS_ERROR1_OUT_FENCE=64, /* Position out of fence range. | */
    VKFLY_SYS_ERROR1_OBV_LINK_LOST=128, /* Obv mavlink com link lost. | */
    VKFLY_SYS_ERROR1_BATBMS_LINK_LOST=256, /* Battery bms link lost. | */
-   VKFLY_SYS_ERROR1_ECU_FUEL_LOW=512, /* Battery bms link lost. | */
-   VKFLY_SYS_ERROR1_ECU_LINK_LOST=1024, /* Battery bms link lost. | */
-   VKFLY_SYS_ERROR1_H2P_LOW=2048, /* Battery bms link lost. | */
-   VKFLY_SYS_ERROR1_OVER_WEIGHT=4096, /* Battery bms link lost. | */
-   VKFLY_SYS_ERROR1_ENUM_END=4097, /*  | */
+   VKFLY_SYS_ERROR1_ECU_FUEL_LOW=512, /* ECU fuel percentage low. | */
+   VKFLY_SYS_ERROR1_ECU_LINK_LOST=1024, /* ECU linklost. | */
+   VKFLY_SYS_ERROR1_H2P_LOW=2048, /* H2 pressure low. | */
+   VKFLY_SYS_ERROR1_OVER_WEIGHT=4096, /* Over weight. | */
+   VKFLY_SYS_ERROR1_OBSTACLE_AVOID=8192, /* Obstacle avoid. | */
+   VKFLY_SYS_ERROR1_ENUM_END=8193, /*  | */
 } VKFLY_SYS_ERROR1;
 #endif
 
@@ -739,7 +740,7 @@ typedef enum MAV_CMD
    VKFLY_CMD_NAV_EDU_TRAINING=44013, /* VLFLY Custom orbit waypoint  | |  |  |  | Latitude| Longitude| Altitude|  */
    VKFLY_CMD_MOUNT_CTRL=44030, /* VLFLY Custom orbit waypoint  | |  |  |  | Latitude| Longitude| Altitude|  */
    VKFLY_CMD_FORMATION_FLY=44031, /* Formation fly assemble, disband or change formation |1 means assemble, 2 means quit, 3 means change formation| | | | | | |  */
-   VKFLY_CMD_ESC_CONFIG=44050, /* can esc id configuration | Set Esc id, min=1, max=16 |  |  |  |  |  |  |  */
+   VKFLY_CMD_ESC_CONFIG=44050, /* can esc id configuration | Set Esc id, minValue=1, maxValue=16 |  |  |  |  |  |  |  */
    VKFLY_CMD_RFD_CONFIG=44051, /* can esc id configuration | target component id |  set blind zone, NAN means ignore |  set max range, NAN means ignore |  |  |  |  |  */
    VKFLY_CMD_DO_REPOSITION_THAN_THROW=44060, /* Do reposition and throwing | Throw servo id bitmap |  |  |  |  |  |  |  */
    VKFLY_CMD_DO_REPOSITION_THAN_LAND=44061, /* Do reposition and throwing | Ground msl altitude|  |  |  |  |  |  |  */

+ 1 - 1
v2.0/VKFly/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -992509777465783844
+#define MAVLINK_PRIMARY_XML_HASH -5628547367346913573
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 24 - 12
v2.0/VKFly/mavlink_msg_fmub_status.h

@@ -23,9 +23,11 @@ typedef struct __mavlink_fmub_status_t {
  float amsl; /*< [m] altitude above mean sea level.*/
  int32_t ins_status; /*<  */
  int32_t ins_flag; /*<  */
- uint16_t throttle; /*<  throttle output.*/
+ uint16_t throttle; /*<  throttle
+        output.*/
  uint8_t flight_mode; /*<  flight mode.*/
- uint8_t btake_status; /*<  backup takeover
+ uint8_t btake_status; /*<  backup
+        takeover
         status.*/
 } mavlink_fmub_status_t;
 
@@ -120,9 +122,11 @@ typedef struct __mavlink_fmub_status_t {
  * @param amsl [m] altitude above mean sea level.
  * @param ins_status  
  * @param ins_flag  
- * @param throttle  throttle output.
+ * @param throttle  throttle
+        output.
  * @param flight_mode  flight mode.
- * @param btake_status  backup takeover
+ * @param btake_status  backup
+        takeover
         status.
  * @return length of the message in bytes (excluding serial stream start sign)
  */
@@ -210,9 +214,11 @@ static inline uint16_t mavlink_msg_fmub_status_pack(uint8_t system_id, uint8_t c
  * @param amsl [m] altitude above mean sea level.
  * @param ins_status  
  * @param ins_flag  
- * @param throttle  throttle output.
+ * @param throttle  throttle
+        output.
  * @param flight_mode  flight mode.
- * @param btake_status  backup takeover
+ * @param btake_status  backup
+        takeover
         status.
  * @return length of the message in bytes (excluding serial stream start sign)
  */
@@ -303,9 +309,11 @@ static inline uint16_t mavlink_msg_fmub_status_pack_status(uint8_t system_id, ui
  * @param amsl [m] altitude above mean sea level.
  * @param ins_status  
  * @param ins_flag  
- * @param throttle  throttle output.
+ * @param throttle  throttle
+        output.
  * @param flight_mode  flight mode.
- * @param btake_status  backup takeover
+ * @param btake_status  backup
+        takeover
         status.
  * @return length of the message in bytes (excluding serial stream start sign)
  */
@@ -432,9 +440,11 @@ static inline uint16_t mavlink_msg_fmub_status_encode_status(uint8_t system_id,
  * @param amsl [m] altitude above mean sea level.
  * @param ins_status  
  * @param ins_flag  
- * @param throttle  throttle output.
+ * @param throttle  throttle
+        output.
  * @param flight_mode  flight mode.
- * @param btake_status  backup takeover
+ * @param btake_status  backup
+        takeover
         status.
  */
 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
@@ -760,7 +770,8 @@ static inline int32_t mavlink_msg_fmub_status_get_ins_flag(const mavlink_message
 /**
  * @brief Get field throttle from fmub_status message
  *
- * @return  throttle output.
+ * @return  throttle
+        output.
  */
 static inline uint16_t mavlink_msg_fmub_status_get_throttle(const mavlink_message_t* msg)
 {
@@ -780,7 +791,8 @@ static inline uint8_t mavlink_msg_fmub_status_get_flight_mode(const mavlink_mess
 /**
  * @brief Get field btake_status from fmub_status message
  *
- * @return  backup takeover
+ * @return  backup
+        takeover
         status.
  */
 static inline uint8_t mavlink_msg_fmub_status_get_btake_status(const mavlink_message_t* msg)

+ 1 - 1
v2.0/VKFly/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Thu Feb 26 2026"
+#define MAVLINK_BUILD_DATE "Tue Mar 31 2026"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
  

+ 1 - 1
v2.0/common/common.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_COMMON.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.
 #endif
 
-#define MAVLINK_COMMON_XML_HASH -6447195062229904136
+#define MAVLINK_COMMON_XML_HASH 7069897735541995260
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/common/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -6447195062229904136
+#define MAVLINK_PRIMARY_XML_HASH 7069897735541995260
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/common/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Thu Feb 26 2026"
+#define MAVLINK_BUILD_DATE "Tue Mar 31 2026"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 255
  

+ 1 - 1
v2.0/minimal/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 8869005500997421512
+#define MAVLINK_PRIMARY_XML_HASH -8425130030743674314
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/minimal/minimal.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_MINIMAL.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.
 #endif
 
-#define MAVLINK_MINIMAL_XML_HASH 8869005500997421512
+#define MAVLINK_MINIMAL_XML_HASH -8425130030743674314
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/minimal/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Thu Feb 26 2026"
+#define MAVLINK_BUILD_DATE "Tue Mar 31 2026"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
  

+ 1 - 1
v2.0/standard/mavlink.h

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -7535397402208776511
+#define MAVLINK_PRIMARY_XML_HASH -7463754958872367563
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 1 - 1
v2.0/standard/standard.h

@@ -10,7 +10,7 @@
     #error Wrong include order: MAVLINK_STANDARD.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.
 #endif
 
-#define MAVLINK_STANDARD_XML_HASH -7535397402208776511
+#define MAVLINK_STANDARD_XML_HASH -7463754958872367563
 
 #ifdef __cplusplus
 extern "C" {

+ 1 - 1
v2.0/standard/version.h

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Thu Feb 26 2026"
+#define MAVLINK_BUILD_DATE "Tue Mar 31 2026"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22