Pārlūkot izejas kodu

增加klkl抓捕相关消息

Liu Yang 3 mēneši atpakaļ
vecāks
revīzija
e3137b8158

+ 4 - 1
msg_definitions/VKFly.xml

@@ -334,6 +334,9 @@
       <entry value="28" name="VKFLY_CUSTOM_MODE_FORMATION">
         <description>Formation fly mode</description>
       </entry>
+      <entry value="40" name="VKFLY_CUSTOM_MODE_TARGET_CATCH">
+        <description>Target catch</description>
+      </entry>
       <entry value="51" name="VKFLY_CUSTOM_MODE_FW_MANUL">
         <description>Fixedwing manul mode</description>
       </entry>
@@ -1210,7 +1213,7 @@
     </message>
 
     <!-- mavlink ID range: 53900 - 54000 for other custom message -->
-    <message id="53900" name="VKFLY_LIDAR_TARGET_GLOBLA_POSITION">
+    <message id="53900" name="VKFLY_LIDAR_TARGET_GLOBAL_POSITION">
       <description> </description>
       <field type="int32_t" name="longitude" units="degE7">radar target longitude</field>
       <field type="int32_t" name="latitude" units="degE7">radar target latitdue</field>

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 1 - 1
v2.0/VKFly/VKFly.h


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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 9039285350645960627
+#define MAVLINK_PRIMARY_XML_HASH 7091986438744163831
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 0 - 792
v2.0/VKFly/mavlink_msg_vkfly_edu_status_msg.h

@@ -1,792 +0,0 @@
-#pragma once
-// MESSAGE VKFLY_EDU_STATUS_MSG PACKING
-
-#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG 53025
-
-
-typedef struct __mavlink_vkfly_edu_status_msg_t {
- uint64_t unix_timestamp; /*< [ms] Unix timestamp in ms, from 1 Jan 1970.*/
- uint32_t boot_timestamp; /*< [ms] Timestamp in ms from system boot.*/
- uint32_t seq; /*<  Sequence number for this package.*/
- uint32_t dev_sn; /*<  Device SN number.*/
- int32_t longitude; /*< [degE7] wgs84 longitude*/
- int32_t latitude; /*< [degE7] wgs84 latitude*/
- float amsl; /*< [m] altitude amsl*/
- float alt_relative; /*< [m] altitude above takeoff*/
- int16_t ve; /*< [cm/s] */
- int16_t vn; /*< [cm/s] */
- int16_t vu; /*< [cm/s] */
- int16_t yaw; /*< [cdeg] */
- int16_t pitch; /*< [cdeg] */
- int16_t roll; /*< [cdeg] */
- int16_t yaw_rate; /*< [cdeg/s] */
- uint8_t dev_type; /*<  0 for flight controller. 1 for elec-stake*/
- uint8_t retry_cnt; /*<  Retry send this message count.*/
- uint8_t fix_type; /*<  0 no fix, 1 single, 2 RTK*/
- uint8_t reserve; /*<  */
- uint8_t flight_mode; /*<  */
-} mavlink_vkfly_edu_status_msg_t;
-
-#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN 55
-#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN 55
-#define MAVLINK_MSG_ID_53025_LEN 55
-#define MAVLINK_MSG_ID_53025_MIN_LEN 55
-
-#define MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC 175
-#define MAVLINK_MSG_ID_53025_CRC 175
-
-
-
-#if MAVLINK_COMMAND_24BIT
-#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_MSG { \
-    53025, \
-    "VKFLY_EDU_STATUS_MSG", \
-    20, \
-    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_msg_t, unix_timestamp) }, \
-         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_msg_t, boot_timestamp) }, \
-         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_msg_t, seq) }, \
-         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_msg_t, dev_sn) }, \
-         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_msg_t, dev_type) }, \
-         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_msg_t, retry_cnt) }, \
-         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_msg_t, fix_type) }, \
-         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_msg_t, reserve) }, \
-         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_msg_t, longitude) }, \
-         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_msg_t, latitude) }, \
-         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_msg_t, amsl) }, \
-         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_msg_t, alt_relative) }, \
-         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_msg_t, ve) }, \
-         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_msg_t, vn) }, \
-         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_msg_t, vu) }, \
-         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_msg_t, yaw) }, \
-         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_msg_t, pitch) }, \
-         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_msg_t, roll) }, \
-         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_msg_t, yaw_rate) }, \
-         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_msg_t, flight_mode) }, \
-         } \
-}
-#else
-#define MAVLINK_MESSAGE_INFO_VKFLY_EDU_STATUS_MSG { \
-    "VKFLY_EDU_STATUS_MSG", \
-    20, \
-    {  { "unix_timestamp", NULL, MAVLINK_TYPE_UINT64_T, 0, 0, offsetof(mavlink_vkfly_edu_status_msg_t, unix_timestamp) }, \
-         { "boot_timestamp", NULL, MAVLINK_TYPE_UINT32_T, 0, 8, offsetof(mavlink_vkfly_edu_status_msg_t, boot_timestamp) }, \
-         { "seq", NULL, MAVLINK_TYPE_UINT32_T, 0, 12, offsetof(mavlink_vkfly_edu_status_msg_t, seq) }, \
-         { "dev_sn", NULL, MAVLINK_TYPE_UINT32_T, 0, 16, offsetof(mavlink_vkfly_edu_status_msg_t, dev_sn) }, \
-         { "dev_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 50, offsetof(mavlink_vkfly_edu_status_msg_t, dev_type) }, \
-         { "retry_cnt", NULL, MAVLINK_TYPE_UINT8_T, 0, 51, offsetof(mavlink_vkfly_edu_status_msg_t, retry_cnt) }, \
-         { "fix_type", NULL, MAVLINK_TYPE_UINT8_T, 0, 52, offsetof(mavlink_vkfly_edu_status_msg_t, fix_type) }, \
-         { "reserve", NULL, MAVLINK_TYPE_UINT8_T, 0, 53, offsetof(mavlink_vkfly_edu_status_msg_t, reserve) }, \
-         { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 20, offsetof(mavlink_vkfly_edu_status_msg_t, longitude) }, \
-         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 24, offsetof(mavlink_vkfly_edu_status_msg_t, latitude) }, \
-         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 28, offsetof(mavlink_vkfly_edu_status_msg_t, amsl) }, \
-         { "alt_relative", NULL, MAVLINK_TYPE_FLOAT, 0, 32, offsetof(mavlink_vkfly_edu_status_msg_t, alt_relative) }, \
-         { "ve", NULL, MAVLINK_TYPE_INT16_T, 0, 36, offsetof(mavlink_vkfly_edu_status_msg_t, ve) }, \
-         { "vn", NULL, MAVLINK_TYPE_INT16_T, 0, 38, offsetof(mavlink_vkfly_edu_status_msg_t, vn) }, \
-         { "vu", NULL, MAVLINK_TYPE_INT16_T, 0, 40, offsetof(mavlink_vkfly_edu_status_msg_t, vu) }, \
-         { "yaw", NULL, MAVLINK_TYPE_INT16_T, 0, 42, offsetof(mavlink_vkfly_edu_status_msg_t, yaw) }, \
-         { "pitch", NULL, MAVLINK_TYPE_INT16_T, 0, 44, offsetof(mavlink_vkfly_edu_status_msg_t, pitch) }, \
-         { "roll", NULL, MAVLINK_TYPE_INT16_T, 0, 46, offsetof(mavlink_vkfly_edu_status_msg_t, roll) }, \
-         { "yaw_rate", NULL, MAVLINK_TYPE_INT16_T, 0, 48, offsetof(mavlink_vkfly_edu_status_msg_t, yaw_rate) }, \
-         { "flight_mode", NULL, MAVLINK_TYPE_UINT8_T, 0, 54, offsetof(mavlink_vkfly_edu_status_msg_t, flight_mode) }, \
-         } \
-}
-#endif
-
-/**
- * @brief Pack a vkfly_edu_status_msg message
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param msg The MAVLink message to compress the data into
- *
- * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
- * @param boot_timestamp [ms] Timestamp in ms from system boot.
- * @param seq  Sequence number for this package.
- * @param dev_sn  Device SN number.
- * @param dev_type  0 for flight controller. 1 for elec-stake
- * @param retry_cnt  Retry send this message count.
- * @param fix_type  0 no fix, 1 single, 2 RTK
- * @param reserve  
- * @param longitude [degE7] wgs84 longitude
- * @param latitude [degE7] wgs84 latitude
- * @param amsl [m] altitude amsl
- * @param alt_relative [m] altitude above takeoff
- * @param ve [cm/s] 
- * @param vn [cm/s] 
- * @param vu [cm/s] 
- * @param yaw [cdeg] 
- * @param pitch [cdeg] 
- * @param roll [cdeg] 
- * @param yaw_rate [cdeg/s] 
- * @param flight_mode  
- * @return length of the message in bytes (excluding serial stream start sign)
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
-                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
-    _mav_put_uint64_t(buf, 0, unix_timestamp);
-    _mav_put_uint32_t(buf, 8, boot_timestamp);
-    _mav_put_uint32_t(buf, 12, seq);
-    _mav_put_uint32_t(buf, 16, dev_sn);
-    _mav_put_int32_t(buf, 20, longitude);
-    _mav_put_int32_t(buf, 24, latitude);
-    _mav_put_float(buf, 28, amsl);
-    _mav_put_float(buf, 32, alt_relative);
-    _mav_put_int16_t(buf, 36, ve);
-    _mav_put_int16_t(buf, 38, vn);
-    _mav_put_int16_t(buf, 40, vu);
-    _mav_put_int16_t(buf, 42, yaw);
-    _mav_put_int16_t(buf, 44, pitch);
-    _mav_put_int16_t(buf, 46, roll);
-    _mav_put_int16_t(buf, 48, yaw_rate);
-    _mav_put_uint8_t(buf, 50, dev_type);
-    _mav_put_uint8_t(buf, 51, retry_cnt);
-    _mav_put_uint8_t(buf, 52, fix_type);
-    _mav_put_uint8_t(buf, 53, reserve);
-    _mav_put_uint8_t(buf, 54, flight_mode);
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#else
-    mavlink_vkfly_edu_status_msg_t packet;
-    packet.unix_timestamp = unix_timestamp;
-    packet.boot_timestamp = boot_timestamp;
-    packet.seq = seq;
-    packet.dev_sn = dev_sn;
-    packet.longitude = longitude;
-    packet.latitude = latitude;
-    packet.amsl = amsl;
-    packet.alt_relative = alt_relative;
-    packet.ve = ve;
-    packet.vn = vn;
-    packet.vu = vu;
-    packet.yaw = yaw;
-    packet.pitch = pitch;
-    packet.roll = roll;
-    packet.yaw_rate = yaw_rate;
-    packet.dev_type = dev_type;
-    packet.retry_cnt = retry_cnt;
-    packet.fix_type = fix_type;
-    packet.reserve = reserve;
-    packet.flight_mode = flight_mode;
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#endif
-
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
-    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-}
-
-/**
- * @brief Pack a vkfly_edu_status_msg message
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param status MAVLink status structure
- * @param msg The MAVLink message to compress the data into
- *
- * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
- * @param boot_timestamp [ms] Timestamp in ms from system boot.
- * @param seq  Sequence number for this package.
- * @param dev_sn  Device SN number.
- * @param dev_type  0 for flight controller. 1 for elec-stake
- * @param retry_cnt  Retry send this message count.
- * @param fix_type  0 no fix, 1 single, 2 RTK
- * @param reserve  
- * @param longitude [degE7] wgs84 longitude
- * @param latitude [degE7] wgs84 latitude
- * @param amsl [m] altitude amsl
- * @param alt_relative [m] altitude above takeoff
- * @param ve [cm/s] 
- * @param vn [cm/s] 
- * @param vu [cm/s] 
- * @param yaw [cdeg] 
- * @param pitch [cdeg] 
- * @param roll [cdeg] 
- * @param yaw_rate [cdeg/s] 
- * @param flight_mode  
- * @return length of the message in bytes (excluding serial stream start sign)
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
-                               uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
-    _mav_put_uint64_t(buf, 0, unix_timestamp);
-    _mav_put_uint32_t(buf, 8, boot_timestamp);
-    _mav_put_uint32_t(buf, 12, seq);
-    _mav_put_uint32_t(buf, 16, dev_sn);
-    _mav_put_int32_t(buf, 20, longitude);
-    _mav_put_int32_t(buf, 24, latitude);
-    _mav_put_float(buf, 28, amsl);
-    _mav_put_float(buf, 32, alt_relative);
-    _mav_put_int16_t(buf, 36, ve);
-    _mav_put_int16_t(buf, 38, vn);
-    _mav_put_int16_t(buf, 40, vu);
-    _mav_put_int16_t(buf, 42, yaw);
-    _mav_put_int16_t(buf, 44, pitch);
-    _mav_put_int16_t(buf, 46, roll);
-    _mav_put_int16_t(buf, 48, yaw_rate);
-    _mav_put_uint8_t(buf, 50, dev_type);
-    _mav_put_uint8_t(buf, 51, retry_cnt);
-    _mav_put_uint8_t(buf, 52, fix_type);
-    _mav_put_uint8_t(buf, 53, reserve);
-    _mav_put_uint8_t(buf, 54, flight_mode);
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#else
-    mavlink_vkfly_edu_status_msg_t packet;
-    packet.unix_timestamp = unix_timestamp;
-    packet.boot_timestamp = boot_timestamp;
-    packet.seq = seq;
-    packet.dev_sn = dev_sn;
-    packet.longitude = longitude;
-    packet.latitude = latitude;
-    packet.amsl = amsl;
-    packet.alt_relative = alt_relative;
-    packet.ve = ve;
-    packet.vn = vn;
-    packet.vu = vu;
-    packet.yaw = yaw;
-    packet.pitch = pitch;
-    packet.roll = roll;
-    packet.yaw_rate = yaw_rate;
-    packet.dev_type = dev_type;
-    packet.retry_cnt = retry_cnt;
-    packet.fix_type = fix_type;
-    packet.reserve = reserve;
-    packet.flight_mode = flight_mode;
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#endif
-
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
-#if MAVLINK_CRC_EXTRA
-    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#else
-    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#endif
-}
-
-/**
- * @brief Pack a vkfly_edu_status_msg message on a channel
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param chan The MAVLink channel this message will be sent over
- * @param msg The MAVLink message to compress the data into
- * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
- * @param boot_timestamp [ms] Timestamp in ms from system boot.
- * @param seq  Sequence number for this package.
- * @param dev_sn  Device SN number.
- * @param dev_type  0 for flight controller. 1 for elec-stake
- * @param retry_cnt  Retry send this message count.
- * @param fix_type  0 no fix, 1 single, 2 RTK
- * @param reserve  
- * @param longitude [degE7] wgs84 longitude
- * @param latitude [degE7] wgs84 latitude
- * @param amsl [m] altitude amsl
- * @param alt_relative [m] altitude above takeoff
- * @param ve [cm/s] 
- * @param vn [cm/s] 
- * @param vu [cm/s] 
- * @param yaw [cdeg] 
- * @param pitch [cdeg] 
- * @param roll [cdeg] 
- * @param yaw_rate [cdeg/s] 
- * @param flight_mode  
- * @return length of the message in bytes (excluding serial stream start sign)
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
-                               mavlink_message_t* msg,
-                                   uint64_t unix_timestamp,uint32_t boot_timestamp,uint32_t seq,uint32_t dev_sn,uint8_t dev_type,uint8_t retry_cnt,uint8_t fix_type,uint8_t reserve,int32_t longitude,int32_t latitude,float amsl,float alt_relative,int16_t ve,int16_t vn,int16_t vu,int16_t yaw,int16_t pitch,int16_t roll,int16_t yaw_rate,uint8_t flight_mode)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
-    _mav_put_uint64_t(buf, 0, unix_timestamp);
-    _mav_put_uint32_t(buf, 8, boot_timestamp);
-    _mav_put_uint32_t(buf, 12, seq);
-    _mav_put_uint32_t(buf, 16, dev_sn);
-    _mav_put_int32_t(buf, 20, longitude);
-    _mav_put_int32_t(buf, 24, latitude);
-    _mav_put_float(buf, 28, amsl);
-    _mav_put_float(buf, 32, alt_relative);
-    _mav_put_int16_t(buf, 36, ve);
-    _mav_put_int16_t(buf, 38, vn);
-    _mav_put_int16_t(buf, 40, vu);
-    _mav_put_int16_t(buf, 42, yaw);
-    _mav_put_int16_t(buf, 44, pitch);
-    _mav_put_int16_t(buf, 46, roll);
-    _mav_put_int16_t(buf, 48, yaw_rate);
-    _mav_put_uint8_t(buf, 50, dev_type);
-    _mav_put_uint8_t(buf, 51, retry_cnt);
-    _mav_put_uint8_t(buf, 52, fix_type);
-    _mav_put_uint8_t(buf, 53, reserve);
-    _mav_put_uint8_t(buf, 54, flight_mode);
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#else
-    mavlink_vkfly_edu_status_msg_t packet;
-    packet.unix_timestamp = unix_timestamp;
-    packet.boot_timestamp = boot_timestamp;
-    packet.seq = seq;
-    packet.dev_sn = dev_sn;
-    packet.longitude = longitude;
-    packet.latitude = latitude;
-    packet.amsl = amsl;
-    packet.alt_relative = alt_relative;
-    packet.ve = ve;
-    packet.vn = vn;
-    packet.vu = vu;
-    packet.yaw = yaw;
-    packet.pitch = pitch;
-    packet.roll = roll;
-    packet.yaw_rate = yaw_rate;
-    packet.dev_type = dev_type;
-    packet.retry_cnt = retry_cnt;
-    packet.fix_type = fix_type;
-    packet.reserve = reserve;
-    packet.flight_mode = flight_mode;
-
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-#endif
-
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG;
-    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-}
-
-/**
- * @brief Encode a vkfly_edu_status_msg struct
- *
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param msg The MAVLink message to compress the data into
- * @param vkfly_edu_status_msg C-struct to read the message contents from
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
-{
-    return mavlink_msg_vkfly_edu_status_msg_pack(system_id, component_id, msg, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
-}
-
-/**
- * @brief Encode a vkfly_edu_status_msg struct on a channel
- *
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param chan The MAVLink channel this message will be sent over
- * @param msg The MAVLink message to compress the data into
- * @param vkfly_edu_status_msg C-struct to read the message contents from
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
-{
-    return mavlink_msg_vkfly_edu_status_msg_pack_chan(system_id, component_id, chan, msg, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
-}
-
-/**
- * @brief Encode a vkfly_edu_status_msg struct with provided status structure
- *
- * @param system_id ID of this system
- * @param component_id ID of this component (e.g. 200 for IMU)
- * @param status MAVLink status structure
- * @param msg The MAVLink message to compress the data into
- * @param vkfly_edu_status_msg C-struct to read the message contents from
- */
-static inline uint16_t mavlink_msg_vkfly_edu_status_msg_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
-{
-    return mavlink_msg_vkfly_edu_status_msg_pack_status(system_id, component_id, _status, msg,  vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
-}
-
-/**
- * @brief Send a vkfly_edu_status_msg message
- * @param chan MAVLink channel to send the message
- *
- * @param unix_timestamp [ms] Unix timestamp in ms, from 1 Jan 1970.
- * @param boot_timestamp [ms] Timestamp in ms from system boot.
- * @param seq  Sequence number for this package.
- * @param dev_sn  Device SN number.
- * @param dev_type  0 for flight controller. 1 for elec-stake
- * @param retry_cnt  Retry send this message count.
- * @param fix_type  0 no fix, 1 single, 2 RTK
- * @param reserve  
- * @param longitude [degE7] wgs84 longitude
- * @param latitude [degE7] wgs84 latitude
- * @param amsl [m] altitude amsl
- * @param alt_relative [m] altitude above takeoff
- * @param ve [cm/s] 
- * @param vn [cm/s] 
- * @param vu [cm/s] 
- * @param yaw [cdeg] 
- * @param pitch [cdeg] 
- * @param roll [cdeg] 
- * @param yaw_rate [cdeg/s] 
- * @param flight_mode  
- */
-#ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
-
-static inline void mavlink_msg_vkfly_edu_status_msg_send(mavlink_channel_t chan, uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN];
-    _mav_put_uint64_t(buf, 0, unix_timestamp);
-    _mav_put_uint32_t(buf, 8, boot_timestamp);
-    _mav_put_uint32_t(buf, 12, seq);
-    _mav_put_uint32_t(buf, 16, dev_sn);
-    _mav_put_int32_t(buf, 20, longitude);
-    _mav_put_int32_t(buf, 24, latitude);
-    _mav_put_float(buf, 28, amsl);
-    _mav_put_float(buf, 32, alt_relative);
-    _mav_put_int16_t(buf, 36, ve);
-    _mav_put_int16_t(buf, 38, vn);
-    _mav_put_int16_t(buf, 40, vu);
-    _mav_put_int16_t(buf, 42, yaw);
-    _mav_put_int16_t(buf, 44, pitch);
-    _mav_put_int16_t(buf, 46, roll);
-    _mav_put_int16_t(buf, 48, yaw_rate);
-    _mav_put_uint8_t(buf, 50, dev_type);
-    _mav_put_uint8_t(buf, 51, retry_cnt);
-    _mav_put_uint8_t(buf, 52, fix_type);
-    _mav_put_uint8_t(buf, 53, reserve);
-    _mav_put_uint8_t(buf, 54, flight_mode);
-
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#else
-    mavlink_vkfly_edu_status_msg_t packet;
-    packet.unix_timestamp = unix_timestamp;
-    packet.boot_timestamp = boot_timestamp;
-    packet.seq = seq;
-    packet.dev_sn = dev_sn;
-    packet.longitude = longitude;
-    packet.latitude = latitude;
-    packet.amsl = amsl;
-    packet.alt_relative = alt_relative;
-    packet.ve = ve;
-    packet.vn = vn;
-    packet.vu = vu;
-    packet.yaw = yaw;
-    packet.pitch = pitch;
-    packet.roll = roll;
-    packet.yaw_rate = yaw_rate;
-    packet.dev_type = dev_type;
-    packet.retry_cnt = retry_cnt;
-    packet.fix_type = fix_type;
-    packet.reserve = reserve;
-    packet.flight_mode = flight_mode;
-
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#endif
-}
-
-/**
- * @brief Send a vkfly_edu_status_msg message
- * @param chan MAVLink channel to send the message
- * @param struct The MAVLink struct to serialize
- */
-static inline void mavlink_msg_vkfly_edu_status_msg_send_struct(mavlink_channel_t chan, const mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    mavlink_msg_vkfly_edu_status_msg_send(chan, vkfly_edu_status_msg->unix_timestamp, vkfly_edu_status_msg->boot_timestamp, vkfly_edu_status_msg->seq, vkfly_edu_status_msg->dev_sn, vkfly_edu_status_msg->dev_type, vkfly_edu_status_msg->retry_cnt, vkfly_edu_status_msg->fix_type, vkfly_edu_status_msg->reserve, vkfly_edu_status_msg->longitude, vkfly_edu_status_msg->latitude, vkfly_edu_status_msg->amsl, vkfly_edu_status_msg->alt_relative, vkfly_edu_status_msg->ve, vkfly_edu_status_msg->vn, vkfly_edu_status_msg->vu, vkfly_edu_status_msg->yaw, vkfly_edu_status_msg->pitch, vkfly_edu_status_msg->roll, vkfly_edu_status_msg->yaw_rate, vkfly_edu_status_msg->flight_mode);
-#else
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)vkfly_edu_status_msg, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#endif
-}
-
-#if MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN <= MAVLINK_MAX_PAYLOAD_LEN
-/*
-  This variant of _send() can be used to save stack space by re-using
-  memory from the receive buffer.  The caller provides a
-  mavlink_message_t which is the size of a full mavlink message. This
-  is usually the receive buffer for the channel, and allows a reply to an
-  incoming message with minimum stack space usage.
- */
-static inline void mavlink_msg_vkfly_edu_status_msg_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  uint64_t unix_timestamp, uint32_t boot_timestamp, uint32_t seq, uint32_t dev_sn, uint8_t dev_type, uint8_t retry_cnt, uint8_t fix_type, uint8_t reserve, int32_t longitude, int32_t latitude, float amsl, float alt_relative, int16_t ve, int16_t vn, int16_t vu, int16_t yaw, int16_t pitch, int16_t roll, int16_t yaw_rate, uint8_t flight_mode)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char *buf = (char *)msgbuf;
-    _mav_put_uint64_t(buf, 0, unix_timestamp);
-    _mav_put_uint32_t(buf, 8, boot_timestamp);
-    _mav_put_uint32_t(buf, 12, seq);
-    _mav_put_uint32_t(buf, 16, dev_sn);
-    _mav_put_int32_t(buf, 20, longitude);
-    _mav_put_int32_t(buf, 24, latitude);
-    _mav_put_float(buf, 28, amsl);
-    _mav_put_float(buf, 32, alt_relative);
-    _mav_put_int16_t(buf, 36, ve);
-    _mav_put_int16_t(buf, 38, vn);
-    _mav_put_int16_t(buf, 40, vu);
-    _mav_put_int16_t(buf, 42, yaw);
-    _mav_put_int16_t(buf, 44, pitch);
-    _mav_put_int16_t(buf, 46, roll);
-    _mav_put_int16_t(buf, 48, yaw_rate);
-    _mav_put_uint8_t(buf, 50, dev_type);
-    _mav_put_uint8_t(buf, 51, retry_cnt);
-    _mav_put_uint8_t(buf, 52, fix_type);
-    _mav_put_uint8_t(buf, 53, reserve);
-    _mav_put_uint8_t(buf, 54, flight_mode);
-
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, buf, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#else
-    mavlink_vkfly_edu_status_msg_t *packet = (mavlink_vkfly_edu_status_msg_t *)msgbuf;
-    packet->unix_timestamp = unix_timestamp;
-    packet->boot_timestamp = boot_timestamp;
-    packet->seq = seq;
-    packet->dev_sn = dev_sn;
-    packet->longitude = longitude;
-    packet->latitude = latitude;
-    packet->amsl = amsl;
-    packet->alt_relative = alt_relative;
-    packet->ve = ve;
-    packet->vn = vn;
-    packet->vu = vu;
-    packet->yaw = yaw;
-    packet->pitch = pitch;
-    packet->roll = roll;
-    packet->yaw_rate = yaw_rate;
-    packet->dev_type = dev_type;
-    packet->retry_cnt = retry_cnt;
-    packet->fix_type = fix_type;
-    packet->reserve = reserve;
-    packet->flight_mode = flight_mode;
-
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG, (const char *)packet, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_MIN_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_CRC);
-#endif
-}
-#endif
-
-#endif
-
-// MESSAGE VKFLY_EDU_STATUS_MSG UNPACKING
-
-
-/**
- * @brief Get field unix_timestamp from vkfly_edu_status_msg message
- *
- * @return [ms] Unix timestamp in ms, from 1 Jan 1970.
- */
-static inline uint64_t mavlink_msg_vkfly_edu_status_msg_get_unix_timestamp(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint64_t(msg,  0);
-}
-
-/**
- * @brief Get field boot_timestamp from vkfly_edu_status_msg message
- *
- * @return [ms] Timestamp in ms from system boot.
- */
-static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_boot_timestamp(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint32_t(msg,  8);
-}
-
-/**
- * @brief Get field seq from vkfly_edu_status_msg message
- *
- * @return  Sequence number for this package.
- */
-static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_seq(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint32_t(msg,  12);
-}
-
-/**
- * @brief Get field dev_sn from vkfly_edu_status_msg message
- *
- * @return  Device SN number.
- */
-static inline uint32_t mavlink_msg_vkfly_edu_status_msg_get_dev_sn(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint32_t(msg,  16);
-}
-
-/**
- * @brief Get field dev_type from vkfly_edu_status_msg message
- *
- * @return  0 for flight controller. 1 for elec-stake
- */
-static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_dev_type(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint8_t(msg,  50);
-}
-
-/**
- * @brief Get field retry_cnt from vkfly_edu_status_msg message
- *
- * @return  Retry send this message count.
- */
-static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_retry_cnt(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint8_t(msg,  51);
-}
-
-/**
- * @brief Get field fix_type from vkfly_edu_status_msg message
- *
- * @return  0 no fix, 1 single, 2 RTK
- */
-static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_fix_type(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint8_t(msg,  52);
-}
-
-/**
- * @brief Get field reserve from vkfly_edu_status_msg message
- *
- * @return  
- */
-static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_reserve(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint8_t(msg,  53);
-}
-
-/**
- * @brief Get field longitude from vkfly_edu_status_msg message
- *
- * @return [degE7] wgs84 longitude
- */
-static inline int32_t mavlink_msg_vkfly_edu_status_msg_get_longitude(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int32_t(msg,  20);
-}
-
-/**
- * @brief Get field latitude from vkfly_edu_status_msg message
- *
- * @return [degE7] wgs84 latitude
- */
-static inline int32_t mavlink_msg_vkfly_edu_status_msg_get_latitude(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int32_t(msg,  24);
-}
-
-/**
- * @brief Get field amsl from vkfly_edu_status_msg message
- *
- * @return [m] altitude amsl
- */
-static inline float mavlink_msg_vkfly_edu_status_msg_get_amsl(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_float(msg,  28);
-}
-
-/**
- * @brief Get field alt_relative from vkfly_edu_status_msg message
- *
- * @return [m] altitude above takeoff
- */
-static inline float mavlink_msg_vkfly_edu_status_msg_get_alt_relative(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_float(msg,  32);
-}
-
-/**
- * @brief Get field ve from vkfly_edu_status_msg message
- *
- * @return [cm/s] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_ve(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  36);
-}
-
-/**
- * @brief Get field vn from vkfly_edu_status_msg message
- *
- * @return [cm/s] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_vn(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  38);
-}
-
-/**
- * @brief Get field vu from vkfly_edu_status_msg message
- *
- * @return [cm/s] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_vu(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  40);
-}
-
-/**
- * @brief Get field yaw from vkfly_edu_status_msg message
- *
- * @return [cdeg] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_yaw(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  42);
-}
-
-/**
- * @brief Get field pitch from vkfly_edu_status_msg message
- *
- * @return [cdeg] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_pitch(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  44);
-}
-
-/**
- * @brief Get field roll from vkfly_edu_status_msg message
- *
- * @return [cdeg] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_roll(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  46);
-}
-
-/**
- * @brief Get field yaw_rate from vkfly_edu_status_msg message
- *
- * @return [cdeg/s] 
- */
-static inline int16_t mavlink_msg_vkfly_edu_status_msg_get_yaw_rate(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_int16_t(msg,  48);
-}
-
-/**
- * @brief Get field flight_mode from vkfly_edu_status_msg message
- *
- * @return  
- */
-static inline uint8_t mavlink_msg_vkfly_edu_status_msg_get_flight_mode(const mavlink_message_t* msg)
-{
-    return _MAV_RETURN_uint8_t(msg,  54);
-}
-
-/**
- * @brief Decode a vkfly_edu_status_msg message into a struct
- *
- * @param msg The message to decode
- * @param vkfly_edu_status_msg C-struct to decode the message contents into
- */
-static inline void mavlink_msg_vkfly_edu_status_msg_decode(const mavlink_message_t* msg, mavlink_vkfly_edu_status_msg_t* vkfly_edu_status_msg)
-{
-#if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    vkfly_edu_status_msg->unix_timestamp = mavlink_msg_vkfly_edu_status_msg_get_unix_timestamp(msg);
-    vkfly_edu_status_msg->boot_timestamp = mavlink_msg_vkfly_edu_status_msg_get_boot_timestamp(msg);
-    vkfly_edu_status_msg->seq = mavlink_msg_vkfly_edu_status_msg_get_seq(msg);
-    vkfly_edu_status_msg->dev_sn = mavlink_msg_vkfly_edu_status_msg_get_dev_sn(msg);
-    vkfly_edu_status_msg->longitude = mavlink_msg_vkfly_edu_status_msg_get_longitude(msg);
-    vkfly_edu_status_msg->latitude = mavlink_msg_vkfly_edu_status_msg_get_latitude(msg);
-    vkfly_edu_status_msg->amsl = mavlink_msg_vkfly_edu_status_msg_get_amsl(msg);
-    vkfly_edu_status_msg->alt_relative = mavlink_msg_vkfly_edu_status_msg_get_alt_relative(msg);
-    vkfly_edu_status_msg->ve = mavlink_msg_vkfly_edu_status_msg_get_ve(msg);
-    vkfly_edu_status_msg->vn = mavlink_msg_vkfly_edu_status_msg_get_vn(msg);
-    vkfly_edu_status_msg->vu = mavlink_msg_vkfly_edu_status_msg_get_vu(msg);
-    vkfly_edu_status_msg->yaw = mavlink_msg_vkfly_edu_status_msg_get_yaw(msg);
-    vkfly_edu_status_msg->pitch = mavlink_msg_vkfly_edu_status_msg_get_pitch(msg);
-    vkfly_edu_status_msg->roll = mavlink_msg_vkfly_edu_status_msg_get_roll(msg);
-    vkfly_edu_status_msg->yaw_rate = mavlink_msg_vkfly_edu_status_msg_get_yaw_rate(msg);
-    vkfly_edu_status_msg->dev_type = mavlink_msg_vkfly_edu_status_msg_get_dev_type(msg);
-    vkfly_edu_status_msg->retry_cnt = mavlink_msg_vkfly_edu_status_msg_get_retry_cnt(msg);
-    vkfly_edu_status_msg->fix_type = mavlink_msg_vkfly_edu_status_msg_get_fix_type(msg);
-    vkfly_edu_status_msg->reserve = mavlink_msg_vkfly_edu_status_msg_get_reserve(msg);
-    vkfly_edu_status_msg->flight_mode = mavlink_msg_vkfly_edu_status_msg_get_flight_mode(msg);
-#else
-        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN;
-        memset(vkfly_edu_status_msg, 0, MAVLINK_MSG_ID_VKFLY_EDU_STATUS_MSG_LEN);
-    memcpy(vkfly_edu_status_msg, _MAV_PAYLOAD(msg), len);
-#endif
-}

+ 106 - 106
v2.0/VKFly/mavlink_msg_vkfly_lidar_target_globla_position.h → v2.0/VKFly/mavlink_msg_vkfly_lidar_target_global_position.h

@@ -1,10 +1,10 @@
 #pragma once
-// MESSAGE VKFLY_LIDAR_TARGET_GLOBLA_POSITION PACKING
+// MESSAGE VKFLY_LIDAR_TARGET_GLOBAL_POSITION PACKING
 
-#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION 53900
+#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION 53900
 
 
-typedef struct __mavlink_vkfly_lidar_target_globla_position_t {
+typedef struct __mavlink_vkfly_lidar_target_global_position_t {
  int32_t longitude; /*< [degE7] radar target longitude*/
  int32_t latitude; /*< [degE7] radar target latitdue*/
  float amsl; /*< [m] radar target amsl altitude*/
@@ -12,49 +12,49 @@ typedef struct __mavlink_vkfly_lidar_target_globla_position_t {
  float vn; /*< [m/s] radar target amsl altitude*/
  float vu; /*< [m/s] radar target amsl altitude*/
  uint8_t flag; /*<  radar target location status*/
-} mavlink_vkfly_lidar_target_globla_position_t;
+} mavlink_vkfly_lidar_target_global_position_t;
 
-#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN 25
-#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN 25
+#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN 25
+#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN 25
 #define MAVLINK_MSG_ID_53900_LEN 25
 #define MAVLINK_MSG_ID_53900_MIN_LEN 25
 
-#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC 189
-#define MAVLINK_MSG_ID_53900_CRC 189
+#define MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC 29
+#define MAVLINK_MSG_ID_53900_CRC 29
 
 
 
 #if MAVLINK_COMMAND_24BIT
-#define MAVLINK_MESSAGE_INFO_VKFLY_LIDAR_TARGET_GLOBLA_POSITION { \
+#define MAVLINK_MESSAGE_INFO_VKFLY_LIDAR_TARGET_GLOBAL_POSITION { \
     53900, \
-    "VKFLY_LIDAR_TARGET_GLOBLA_POSITION", \
+    "VKFLY_LIDAR_TARGET_GLOBAL_POSITION", \
     7, \
-    {  { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_vkfly_lidar_target_globla_position_t, longitude) }, \
-         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_vkfly_lidar_target_globla_position_t, latitude) }, \
-         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_vkfly_lidar_target_globla_position_t, amsl) }, \
-         { "ve", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_vkfly_lidar_target_globla_position_t, ve) }, \
-         { "vn", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_vkfly_lidar_target_globla_position_t, vn) }, \
-         { "vu", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_vkfly_lidar_target_globla_position_t, vu) }, \
-         { "flag", NULL, MAVLINK_TYPE_UINT8_T, 0, 24, offsetof(mavlink_vkfly_lidar_target_globla_position_t, flag) }, \
+    {  { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_vkfly_lidar_target_global_position_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_vkfly_lidar_target_global_position_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_vkfly_lidar_target_global_position_t, amsl) }, \
+         { "ve", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_vkfly_lidar_target_global_position_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_vkfly_lidar_target_global_position_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_vkfly_lidar_target_global_position_t, vu) }, \
+         { "flag", NULL, MAVLINK_TYPE_UINT8_T, 0, 24, offsetof(mavlink_vkfly_lidar_target_global_position_t, flag) }, \
          } \
 }
 #else
-#define MAVLINK_MESSAGE_INFO_VKFLY_LIDAR_TARGET_GLOBLA_POSITION { \
-    "VKFLY_LIDAR_TARGET_GLOBLA_POSITION", \
+#define MAVLINK_MESSAGE_INFO_VKFLY_LIDAR_TARGET_GLOBAL_POSITION { \
+    "VKFLY_LIDAR_TARGET_GLOBAL_POSITION", \
     7, \
-    {  { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_vkfly_lidar_target_globla_position_t, longitude) }, \
-         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_vkfly_lidar_target_globla_position_t, latitude) }, \
-         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_vkfly_lidar_target_globla_position_t, amsl) }, \
-         { "ve", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_vkfly_lidar_target_globla_position_t, ve) }, \
-         { "vn", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_vkfly_lidar_target_globla_position_t, vn) }, \
-         { "vu", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_vkfly_lidar_target_globla_position_t, vu) }, \
-         { "flag", NULL, MAVLINK_TYPE_UINT8_T, 0, 24, offsetof(mavlink_vkfly_lidar_target_globla_position_t, flag) }, \
+    {  { "longitude", NULL, MAVLINK_TYPE_INT32_T, 0, 0, offsetof(mavlink_vkfly_lidar_target_global_position_t, longitude) }, \
+         { "latitude", NULL, MAVLINK_TYPE_INT32_T, 0, 4, offsetof(mavlink_vkfly_lidar_target_global_position_t, latitude) }, \
+         { "amsl", NULL, MAVLINK_TYPE_FLOAT, 0, 8, offsetof(mavlink_vkfly_lidar_target_global_position_t, amsl) }, \
+         { "ve", NULL, MAVLINK_TYPE_FLOAT, 0, 12, offsetof(mavlink_vkfly_lidar_target_global_position_t, ve) }, \
+         { "vn", NULL, MAVLINK_TYPE_FLOAT, 0, 16, offsetof(mavlink_vkfly_lidar_target_global_position_t, vn) }, \
+         { "vu", NULL, MAVLINK_TYPE_FLOAT, 0, 20, offsetof(mavlink_vkfly_lidar_target_global_position_t, vu) }, \
+         { "flag", NULL, MAVLINK_TYPE_UINT8_T, 0, 24, offsetof(mavlink_vkfly_lidar_target_global_position_t, flag) }, \
          } \
 }
 #endif
 
 /**
- * @brief Pack a vkfly_lidar_target_globla_position message
+ * @brief Pack a vkfly_lidar_target_global_position message
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param msg The MAVLink message to compress the data into
@@ -68,11 +68,11 @@ typedef struct __mavlink_vkfly_lidar_target_globla_position_t {
  * @param flag  radar target location status
  * @return length of the message in bytes (excluding serial stream start sign)
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_pack(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg,
                                int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN];
+    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN];
     _mav_put_int32_t(buf, 0, longitude);
     _mav_put_int32_t(buf, 4, latitude);
     _mav_put_float(buf, 8, amsl);
@@ -81,9 +81,9 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack(uint8
     _mav_put_float(buf, 20, vu);
     _mav_put_uint8_t(buf, 24, flag);
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #else
-    mavlink_vkfly_lidar_target_globla_position_t packet;
+    mavlink_vkfly_lidar_target_global_position_t packet;
     packet.longitude = longitude;
     packet.latitude = latitude;
     packet.amsl = amsl;
@@ -92,15 +92,15 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack(uint8
     packet.vu = vu;
     packet.flag = flag;
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #endif
 
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION;
-    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION;
+    return mavlink_finalize_message(msg, system_id, component_id, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 }
 
 /**
- * @brief Pack a vkfly_lidar_target_globla_position message
+ * @brief Pack a vkfly_lidar_target_global_position message
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param status MAVLink status structure
@@ -115,11 +115,11 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack(uint8
  * @param flag  radar target location status
  * @return length of the message in bytes (excluding serial stream start sign)
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_pack_status(uint8_t system_id, uint8_t component_id, mavlink_status_t *_status, mavlink_message_t* msg,
                                int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN];
+    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN];
     _mav_put_int32_t(buf, 0, longitude);
     _mav_put_int32_t(buf, 4, latitude);
     _mav_put_float(buf, 8, amsl);
@@ -128,9 +128,9 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_statu
     _mav_put_float(buf, 20, vu);
     _mav_put_uint8_t(buf, 24, flag);
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #else
-    mavlink_vkfly_lidar_target_globla_position_t packet;
+    mavlink_vkfly_lidar_target_global_position_t packet;
     packet.longitude = longitude;
     packet.latitude = latitude;
     packet.amsl = amsl;
@@ -139,19 +139,19 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_statu
     packet.vu = vu;
     packet.flag = flag;
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #endif
 
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION;
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION;
 #if MAVLINK_CRC_EXTRA
-    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #else
-    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+    return mavlink_finalize_message_buffer(msg, system_id, component_id, _status, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #endif
 }
 
 /**
- * @brief Pack a vkfly_lidar_target_globla_position message on a channel
+ * @brief Pack a vkfly_lidar_target_global_position message on a channel
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param chan The MAVLink channel this message will be sent over
@@ -165,12 +165,12 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_statu
  * @param flag  radar target location status
  * @return length of the message in bytes (excluding serial stream start sign)
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_pack_chan(uint8_t system_id, uint8_t component_id, uint8_t chan,
                                mavlink_message_t* msg,
                                    int32_t longitude,int32_t latitude,float amsl,float ve,float vn,float vu,uint8_t flag)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN];
+    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN];
     _mav_put_int32_t(buf, 0, longitude);
     _mav_put_int32_t(buf, 4, latitude);
     _mav_put_float(buf, 8, amsl);
@@ -179,9 +179,9 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_chan(
     _mav_put_float(buf, 20, vu);
     _mav_put_uint8_t(buf, 24, flag);
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #else
-    mavlink_vkfly_lidar_target_globla_position_t packet;
+    mavlink_vkfly_lidar_target_global_position_t packet;
     packet.longitude = longitude;
     packet.latitude = latitude;
     packet.amsl = amsl;
@@ -190,56 +190,56 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_pack_chan(
     packet.vu = vu;
     packet.flag = flag;
 
-        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
+        memcpy(_MAV_PAYLOAD_NON_CONST(msg), &packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
 #endif
 
-    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION;
-    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    msg->msgid = MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION;
+    return mavlink_finalize_message_chan(msg, system_id, component_id, chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 }
 
 /**
- * @brief Encode a vkfly_lidar_target_globla_position struct
+ * @brief Encode a vkfly_lidar_target_global_position struct
  *
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param msg The MAVLink message to compress the data into
- * @param vkfly_lidar_target_globla_position C-struct to read the message contents from
+ * @param vkfly_lidar_target_global_position C-struct to read the message contents from
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_globla_position_t* vkfly_lidar_target_globla_position)
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_encode(uint8_t system_id, uint8_t component_id, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_global_position_t* vkfly_lidar_target_global_position)
 {
-    return mavlink_msg_vkfly_lidar_target_globla_position_pack(system_id, component_id, msg, vkfly_lidar_target_globla_position->longitude, vkfly_lidar_target_globla_position->latitude, vkfly_lidar_target_globla_position->amsl, vkfly_lidar_target_globla_position->ve, vkfly_lidar_target_globla_position->vn, vkfly_lidar_target_globla_position->vu, vkfly_lidar_target_globla_position->flag);
+    return mavlink_msg_vkfly_lidar_target_global_position_pack(system_id, component_id, msg, vkfly_lidar_target_global_position->longitude, vkfly_lidar_target_global_position->latitude, vkfly_lidar_target_global_position->amsl, vkfly_lidar_target_global_position->ve, vkfly_lidar_target_global_position->vn, vkfly_lidar_target_global_position->vu, vkfly_lidar_target_global_position->flag);
 }
 
 /**
- * @brief Encode a vkfly_lidar_target_globla_position struct on a channel
+ * @brief Encode a vkfly_lidar_target_global_position struct on a channel
  *
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param chan The MAVLink channel this message will be sent over
  * @param msg The MAVLink message to compress the data into
- * @param vkfly_lidar_target_globla_position C-struct to read the message contents from
+ * @param vkfly_lidar_target_global_position C-struct to read the message contents from
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_globla_position_t* vkfly_lidar_target_globla_position)
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_encode_chan(uint8_t system_id, uint8_t component_id, uint8_t chan, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_global_position_t* vkfly_lidar_target_global_position)
 {
-    return mavlink_msg_vkfly_lidar_target_globla_position_pack_chan(system_id, component_id, chan, msg, vkfly_lidar_target_globla_position->longitude, vkfly_lidar_target_globla_position->latitude, vkfly_lidar_target_globla_position->amsl, vkfly_lidar_target_globla_position->ve, vkfly_lidar_target_globla_position->vn, vkfly_lidar_target_globla_position->vu, vkfly_lidar_target_globla_position->flag);
+    return mavlink_msg_vkfly_lidar_target_global_position_pack_chan(system_id, component_id, chan, msg, vkfly_lidar_target_global_position->longitude, vkfly_lidar_target_global_position->latitude, vkfly_lidar_target_global_position->amsl, vkfly_lidar_target_global_position->ve, vkfly_lidar_target_global_position->vn, vkfly_lidar_target_global_position->vu, vkfly_lidar_target_global_position->flag);
 }
 
 /**
- * @brief Encode a vkfly_lidar_target_globla_position struct with provided status structure
+ * @brief Encode a vkfly_lidar_target_global_position struct with provided status structure
  *
  * @param system_id ID of this system
  * @param component_id ID of this component (e.g. 200 for IMU)
  * @param status MAVLink status structure
  * @param msg The MAVLink message to compress the data into
- * @param vkfly_lidar_target_globla_position C-struct to read the message contents from
+ * @param vkfly_lidar_target_global_position C-struct to read the message contents from
  */
-static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_globla_position_t* vkfly_lidar_target_globla_position)
+static inline uint16_t mavlink_msg_vkfly_lidar_target_global_position_encode_status(uint8_t system_id, uint8_t component_id, mavlink_status_t* _status, mavlink_message_t* msg, const mavlink_vkfly_lidar_target_global_position_t* vkfly_lidar_target_global_position)
 {
-    return mavlink_msg_vkfly_lidar_target_globla_position_pack_status(system_id, component_id, _status, msg,  vkfly_lidar_target_globla_position->longitude, vkfly_lidar_target_globla_position->latitude, vkfly_lidar_target_globla_position->amsl, vkfly_lidar_target_globla_position->ve, vkfly_lidar_target_globla_position->vn, vkfly_lidar_target_globla_position->vu, vkfly_lidar_target_globla_position->flag);
+    return mavlink_msg_vkfly_lidar_target_global_position_pack_status(system_id, component_id, _status, msg,  vkfly_lidar_target_global_position->longitude, vkfly_lidar_target_global_position->latitude, vkfly_lidar_target_global_position->amsl, vkfly_lidar_target_global_position->ve, vkfly_lidar_target_global_position->vn, vkfly_lidar_target_global_position->vu, vkfly_lidar_target_global_position->flag);
 }
 
 /**
- * @brief Send a vkfly_lidar_target_globla_position message
+ * @brief Send a vkfly_lidar_target_global_position message
  * @param chan MAVLink channel to send the message
  *
  * @param longitude [degE7] radar target longitude
@@ -252,10 +252,10 @@ static inline uint16_t mavlink_msg_vkfly_lidar_target_globla_position_encode_sta
  */
 #ifdef MAVLINK_USE_CONVENIENCE_FUNCTIONS
 
-static inline void mavlink_msg_vkfly_lidar_target_globla_position_send(mavlink_channel_t chan, int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
+static inline void mavlink_msg_vkfly_lidar_target_global_position_send(mavlink_channel_t chan, int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN];
+    char buf[MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN];
     _mav_put_int32_t(buf, 0, longitude);
     _mav_put_int32_t(buf, 4, latitude);
     _mav_put_float(buf, 8, amsl);
@@ -264,9 +264,9 @@ static inline void mavlink_msg_vkfly_lidar_target_globla_position_send(mavlink_c
     _mav_put_float(buf, 20, vu);
     _mav_put_uint8_t(buf, 24, flag);
 
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION, buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION, buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #else
-    mavlink_vkfly_lidar_target_globla_position_t packet;
+    mavlink_vkfly_lidar_target_global_position_t packet;
     packet.longitude = longitude;
     packet.latitude = latitude;
     packet.amsl = amsl;
@@ -275,25 +275,25 @@ static inline void mavlink_msg_vkfly_lidar_target_globla_position_send(mavlink_c
     packet.vu = vu;
     packet.flag = flag;
 
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION, (const char *)&packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #endif
 }
 
 /**
- * @brief Send a vkfly_lidar_target_globla_position message
+ * @brief Send a vkfly_lidar_target_global_position message
  * @param chan MAVLink channel to send the message
  * @param struct The MAVLink struct to serialize
  */
-static inline void mavlink_msg_vkfly_lidar_target_globla_position_send_struct(mavlink_channel_t chan, const mavlink_vkfly_lidar_target_globla_position_t* vkfly_lidar_target_globla_position)
+static inline void mavlink_msg_vkfly_lidar_target_global_position_send_struct(mavlink_channel_t chan, const mavlink_vkfly_lidar_target_global_position_t* vkfly_lidar_target_global_position)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    mavlink_msg_vkfly_lidar_target_globla_position_send(chan, vkfly_lidar_target_globla_position->longitude, vkfly_lidar_target_globla_position->latitude, vkfly_lidar_target_globla_position->amsl, vkfly_lidar_target_globla_position->ve, vkfly_lidar_target_globla_position->vn, vkfly_lidar_target_globla_position->vu, vkfly_lidar_target_globla_position->flag);
+    mavlink_msg_vkfly_lidar_target_global_position_send(chan, vkfly_lidar_target_global_position->longitude, vkfly_lidar_target_global_position->latitude, vkfly_lidar_target_global_position->amsl, vkfly_lidar_target_global_position->ve, vkfly_lidar_target_global_position->vn, vkfly_lidar_target_global_position->vu, vkfly_lidar_target_global_position->flag);
 #else
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION, (const char *)vkfly_lidar_target_globla_position, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION, (const char *)vkfly_lidar_target_global_position, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #endif
 }
 
-#if MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN <= MAVLINK_MAX_PAYLOAD_LEN
+#if MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN <= MAVLINK_MAX_PAYLOAD_LEN
 /*
   This variant of _send() can be used to save stack space by re-using
   memory from the receive buffer.  The caller provides a
@@ -301,7 +301,7 @@ static inline void mavlink_msg_vkfly_lidar_target_globla_position_send_struct(ma
   is usually the receive buffer for the channel, and allows a reply to an
   incoming message with minimum stack space usage.
  */
-static inline void mavlink_msg_vkfly_lidar_target_globla_position_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
+static inline void mavlink_msg_vkfly_lidar_target_global_position_send_buf(mavlink_message_t *msgbuf, mavlink_channel_t chan,  int32_t longitude, int32_t latitude, float amsl, float ve, float vn, float vu, uint8_t flag)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
     char *buf = (char *)msgbuf;
@@ -313,9 +313,9 @@ static inline void mavlink_msg_vkfly_lidar_target_globla_position_send_buf(mavli
     _mav_put_float(buf, 20, vu);
     _mav_put_uint8_t(buf, 24, flag);
 
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION, buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION, buf, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #else
-    mavlink_vkfly_lidar_target_globla_position_t *packet = (mavlink_vkfly_lidar_target_globla_position_t *)msgbuf;
+    mavlink_vkfly_lidar_target_global_position_t *packet = (mavlink_vkfly_lidar_target_global_position_t *)msgbuf;
     packet->longitude = longitude;
     packet->latitude = latitude;
     packet->amsl = amsl;
@@ -324,105 +324,105 @@ static inline void mavlink_msg_vkfly_lidar_target_globla_position_send_buf(mavli
     packet->vu = vu;
     packet->flag = flag;
 
-    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION, (const char *)packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_CRC);
+    _mav_finalize_message_chan_send(chan, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION, (const char *)packet, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_CRC);
 #endif
 }
 #endif
 
 #endif
 
-// MESSAGE VKFLY_LIDAR_TARGET_GLOBLA_POSITION UNPACKING
+// MESSAGE VKFLY_LIDAR_TARGET_GLOBAL_POSITION UNPACKING
 
 
 /**
- * @brief Get field longitude from vkfly_lidar_target_globla_position message
+ * @brief Get field longitude from vkfly_lidar_target_global_position message
  *
  * @return [degE7] radar target longitude
  */
-static inline int32_t mavlink_msg_vkfly_lidar_target_globla_position_get_longitude(const mavlink_message_t* msg)
+static inline int32_t mavlink_msg_vkfly_lidar_target_global_position_get_longitude(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_int32_t(msg,  0);
 }
 
 /**
- * @brief Get field latitude from vkfly_lidar_target_globla_position message
+ * @brief Get field latitude from vkfly_lidar_target_global_position message
  *
  * @return [degE7] radar target latitdue
  */
-static inline int32_t mavlink_msg_vkfly_lidar_target_globla_position_get_latitude(const mavlink_message_t* msg)
+static inline int32_t mavlink_msg_vkfly_lidar_target_global_position_get_latitude(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_int32_t(msg,  4);
 }
 
 /**
- * @brief Get field amsl from vkfly_lidar_target_globla_position message
+ * @brief Get field amsl from vkfly_lidar_target_global_position message
  *
  * @return [m] radar target amsl altitude
  */
-static inline float mavlink_msg_vkfly_lidar_target_globla_position_get_amsl(const mavlink_message_t* msg)
+static inline float mavlink_msg_vkfly_lidar_target_global_position_get_amsl(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_float(msg,  8);
 }
 
 /**
- * @brief Get field ve from vkfly_lidar_target_globla_position message
+ * @brief Get field ve from vkfly_lidar_target_global_position message
  *
  * @return [m/s] radar target amsl altitude
  */
-static inline float mavlink_msg_vkfly_lidar_target_globla_position_get_ve(const mavlink_message_t* msg)
+static inline float mavlink_msg_vkfly_lidar_target_global_position_get_ve(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_float(msg,  12);
 }
 
 /**
- * @brief Get field vn from vkfly_lidar_target_globla_position message
+ * @brief Get field vn from vkfly_lidar_target_global_position message
  *
  * @return [m/s] radar target amsl altitude
  */
-static inline float mavlink_msg_vkfly_lidar_target_globla_position_get_vn(const mavlink_message_t* msg)
+static inline float mavlink_msg_vkfly_lidar_target_global_position_get_vn(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_float(msg,  16);
 }
 
 /**
- * @brief Get field vu from vkfly_lidar_target_globla_position message
+ * @brief Get field vu from vkfly_lidar_target_global_position message
  *
  * @return [m/s] radar target amsl altitude
  */
-static inline float mavlink_msg_vkfly_lidar_target_globla_position_get_vu(const mavlink_message_t* msg)
+static inline float mavlink_msg_vkfly_lidar_target_global_position_get_vu(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_float(msg,  20);
 }
 
 /**
- * @brief Get field flag from vkfly_lidar_target_globla_position message
+ * @brief Get field flag from vkfly_lidar_target_global_position message
  *
  * @return  radar target location status
  */
-static inline uint8_t mavlink_msg_vkfly_lidar_target_globla_position_get_flag(const mavlink_message_t* msg)
+static inline uint8_t mavlink_msg_vkfly_lidar_target_global_position_get_flag(const mavlink_message_t* msg)
 {
     return _MAV_RETURN_uint8_t(msg,  24);
 }
 
 /**
- * @brief Decode a vkfly_lidar_target_globla_position message into a struct
+ * @brief Decode a vkfly_lidar_target_global_position message into a struct
  *
  * @param msg The message to decode
- * @param vkfly_lidar_target_globla_position C-struct to decode the message contents into
+ * @param vkfly_lidar_target_global_position C-struct to decode the message contents into
  */
-static inline void mavlink_msg_vkfly_lidar_target_globla_position_decode(const mavlink_message_t* msg, mavlink_vkfly_lidar_target_globla_position_t* vkfly_lidar_target_globla_position)
+static inline void mavlink_msg_vkfly_lidar_target_global_position_decode(const mavlink_message_t* msg, mavlink_vkfly_lidar_target_global_position_t* vkfly_lidar_target_global_position)
 {
 #if MAVLINK_NEED_BYTE_SWAP || !MAVLINK_ALIGNED_FIELDS
-    vkfly_lidar_target_globla_position->longitude = mavlink_msg_vkfly_lidar_target_globla_position_get_longitude(msg);
-    vkfly_lidar_target_globla_position->latitude = mavlink_msg_vkfly_lidar_target_globla_position_get_latitude(msg);
-    vkfly_lidar_target_globla_position->amsl = mavlink_msg_vkfly_lidar_target_globla_position_get_amsl(msg);
-    vkfly_lidar_target_globla_position->ve = mavlink_msg_vkfly_lidar_target_globla_position_get_ve(msg);
-    vkfly_lidar_target_globla_position->vn = mavlink_msg_vkfly_lidar_target_globla_position_get_vn(msg);
-    vkfly_lidar_target_globla_position->vu = mavlink_msg_vkfly_lidar_target_globla_position_get_vu(msg);
-    vkfly_lidar_target_globla_position->flag = mavlink_msg_vkfly_lidar_target_globla_position_get_flag(msg);
+    vkfly_lidar_target_global_position->longitude = mavlink_msg_vkfly_lidar_target_global_position_get_longitude(msg);
+    vkfly_lidar_target_global_position->latitude = mavlink_msg_vkfly_lidar_target_global_position_get_latitude(msg);
+    vkfly_lidar_target_global_position->amsl = mavlink_msg_vkfly_lidar_target_global_position_get_amsl(msg);
+    vkfly_lidar_target_global_position->ve = mavlink_msg_vkfly_lidar_target_global_position_get_ve(msg);
+    vkfly_lidar_target_global_position->vn = mavlink_msg_vkfly_lidar_target_global_position_get_vn(msg);
+    vkfly_lidar_target_global_position->vu = mavlink_msg_vkfly_lidar_target_global_position_get_vu(msg);
+    vkfly_lidar_target_global_position->flag = mavlink_msg_vkfly_lidar_target_global_position_get_flag(msg);
 #else
-        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN;
-        memset(vkfly_lidar_target_globla_position, 0, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_LEN);
-    memcpy(vkfly_lidar_target_globla_position, _MAV_PAYLOAD(msg), len);
+        uint8_t len = msg->len < MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN? msg->len : MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN;
+        memset(vkfly_lidar_target_global_position, 0, MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_LEN);
+    memcpy(vkfly_lidar_target_global_position, _MAV_PAYLOAD(msg), len);
 #endif
 }

+ 17 - 17
v2.0/VKFly/testsuite.h

@@ -1707,21 +1707,21 @@ static void mavlink_test_qingxie_bms(uint8_t system_id, uint8_t component_id, ma
 #endif
 }
 
-static void mavlink_test_vkfly_lidar_target_globla_position(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
+static void mavlink_test_vkfly_lidar_target_global_position(uint8_t system_id, uint8_t component_id, mavlink_message_t *last_msg)
 {
 #ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
     mavlink_status_t *status = mavlink_get_channel_status(MAVLINK_COMM_0);
-        if ((status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) && MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION >= 256) {
+        if ((status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) && MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION >= 256) {
             return;
         }
 #endif
     mavlink_message_t msg;
         uint8_t buffer[MAVLINK_MAX_PACKET_LEN];
         uint16_t i;
-    mavlink_vkfly_lidar_target_globla_position_t packet_in = {
+    mavlink_vkfly_lidar_target_global_position_t packet_in = {
         963497464,963497672,73.0,101.0,129.0,157.0,77
     };
-    mavlink_vkfly_lidar_target_globla_position_t packet1, packet2;
+    mavlink_vkfly_lidar_target_global_position_t packet1, packet2;
         memset(&packet1, 0, sizeof(packet1));
         packet1.longitude = packet_in.longitude;
         packet1.latitude = packet_in.latitude;
@@ -1735,22 +1735,22 @@ static void mavlink_test_vkfly_lidar_target_globla_position(uint8_t system_id, u
 #ifdef MAVLINK_STATUS_FLAG_OUT_MAVLINK1
         if (status->flags & MAVLINK_STATUS_FLAG_OUT_MAVLINK1) {
            // cope with extensions
-           memset(MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN + (char *)&packet1, 0, sizeof(packet1)-MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION_MIN_LEN);
+           memset(MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN + (char *)&packet1, 0, sizeof(packet1)-MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION_MIN_LEN);
         }
 #endif
         memset(&packet2, 0, sizeof(packet2));
-    mavlink_msg_vkfly_lidar_target_globla_position_encode(system_id, component_id, &msg, &packet1);
-    mavlink_msg_vkfly_lidar_target_globla_position_decode(&msg, &packet2);
+    mavlink_msg_vkfly_lidar_target_global_position_encode(system_id, component_id, &msg, &packet1);
+    mavlink_msg_vkfly_lidar_target_global_position_decode(&msg, &packet2);
         MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
 
         memset(&packet2, 0, sizeof(packet2));
-    mavlink_msg_vkfly_lidar_target_globla_position_pack(system_id, component_id, &msg , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
-    mavlink_msg_vkfly_lidar_target_globla_position_decode(&msg, &packet2);
+    mavlink_msg_vkfly_lidar_target_global_position_pack(system_id, component_id, &msg , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
+    mavlink_msg_vkfly_lidar_target_global_position_decode(&msg, &packet2);
         MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
 
         memset(&packet2, 0, sizeof(packet2));
-    mavlink_msg_vkfly_lidar_target_globla_position_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
-    mavlink_msg_vkfly_lidar_target_globla_position_decode(&msg, &packet2);
+    mavlink_msg_vkfly_lidar_target_global_position_pack_chan(system_id, component_id, MAVLINK_COMM_0, &msg , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
+    mavlink_msg_vkfly_lidar_target_global_position_decode(&msg, &packet2);
         MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
 
         memset(&packet2, 0, sizeof(packet2));
@@ -1758,17 +1758,17 @@ static void mavlink_test_vkfly_lidar_target_globla_position(uint8_t system_id, u
         for (i=0; i<mavlink_msg_get_send_buffer_length(&msg); i++) {
             comm_send_ch(MAVLINK_COMM_0, buffer[i]);
         }
-    mavlink_msg_vkfly_lidar_target_globla_position_decode(last_msg, &packet2);
+    mavlink_msg_vkfly_lidar_target_global_position_decode(last_msg, &packet2);
         MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
         
         memset(&packet2, 0, sizeof(packet2));
-    mavlink_msg_vkfly_lidar_target_globla_position_send(MAVLINK_COMM_1 , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
-    mavlink_msg_vkfly_lidar_target_globla_position_decode(last_msg, &packet2);
+    mavlink_msg_vkfly_lidar_target_global_position_send(MAVLINK_COMM_1 , packet1.longitude , packet1.latitude , packet1.amsl , packet1.ve , packet1.vn , packet1.vu , packet1.flag );
+    mavlink_msg_vkfly_lidar_target_global_position_decode(last_msg, &packet2);
         MAVLINK_ASSERT(memcmp(&packet1, &packet2, sizeof(packet1)) == 0);
 
 #ifdef MAVLINK_HAVE_GET_MESSAGE_INFO
-    MAVLINK_ASSERT(mavlink_get_message_info_by_name("VKFLY_LIDAR_TARGET_GLOBLA_POSITION") != NULL);
-    MAVLINK_ASSERT(mavlink_get_message_info_by_id(MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBLA_POSITION) != NULL);
+    MAVLINK_ASSERT(mavlink_get_message_info_by_name("VKFLY_LIDAR_TARGET_GLOBAL_POSITION") != NULL);
+    MAVLINK_ASSERT(mavlink_get_message_info_by_id(MAVLINK_MSG_ID_VKFLY_LIDAR_TARGET_GLOBAL_POSITION) != NULL);
 #endif
 }
 
@@ -1861,7 +1861,7 @@ static void mavlink_test_VKFly(uint8_t system_id, uint8_t component_id, mavlink_
     mavlink_test_vk_fw_update_data(system_id, component_id, last_msg);
     mavlink_test_vk_update_terminate(system_id, component_id, last_msg);
     mavlink_test_qingxie_bms(system_id, component_id, last_msg);
-    mavlink_test_vkfly_lidar_target_globla_position(system_id, component_id, last_msg);
+    mavlink_test_vkfly_lidar_target_global_position(system_id, component_id, last_msg);
     mavlink_test_vkfly_mission_catch_status(system_id, component_id, last_msg);
 }
 

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

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Mon Sep 01 2025"
+#define MAVLINK_BUILD_DATE "Mon Sep 22 2025"
 #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 8120712393632938730
+#define MAVLINK_COMMON_XML_HASH -64966136547883676
 
 #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 8120712393632938730
+#define MAVLINK_PRIMARY_XML_HASH -64966136547883676
 
 #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 "Mon Sep 01 2025"
+#define MAVLINK_BUILD_DATE "Mon Sep 22 2025"
 #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 5368700477240074319
+#define MAVLINK_PRIMARY_XML_HASH -5678235562360729387
 
 #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 5368700477240074319
+#define MAVLINK_MINIMAL_XML_HASH -5678235562360729387
 
 #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 "Mon Sep 01 2025"
+#define MAVLINK_BUILD_DATE "Mon Sep 22 2025"
 #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 4386788595752682160
+#define MAVLINK_PRIMARY_XML_HASH 568829736528719313
 
 #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 4386788595752682160
+#define MAVLINK_STANDARD_XML_HASH 568829736528719313
 
 #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 "Mon Sep 01 2025"
+#define MAVLINK_BUILD_DATE "Mon Sep 22 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22
  

Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels