Bläddra i källkod

添加动平台动作指令

karo lee 1 vecka sedan
förälder
incheckning
7d2c52a8e0

+ 13 - 0
msg_definitions/VKFly.xml

@@ -873,6 +873,19 @@
         <param index="7" label="z" units="m"> NAN means ignore </param>
       </entry>
 
+      <entry value="44071" name="VKFLY_CMD_DYNAMIC_ACT" hasLocation="true"
+        isDestination="true">
+        <description>Vehicle act</description>
+        <param index="1" label="action" minValue="0" maxValue="2">NAN means ignore.0 do dynamic_takeoff, 
+        1 do dynamic_land, 2 do dynamic_follow</param>
+        <param index="2" label=""></param>
+        <param index="3" label=""></param>
+        <param index="4" label=""></param>
+        <param index="5" label=""></param>
+        <param index="6" label=""></param>
+        <param index="7" label=""></param>
+      </entry>
+
     </enum>
   </enums>
 

+ 4 - 2
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 7237389657314420362
+#define MAVLINK_VKFLY_XML_HASH 8342406483840289831
 
 #ifdef __cplusplus
 extern "C" {
@@ -758,7 +758,9 @@ typedef enum MAV_CMD
           aux| | | | | | |  */
    VKFLY_CMD_EXT_NAV_CFG=44069, /* Start mission || | | | | | |  */
    VKFLY_CMD_DO_REPOSITION=44070, /* Do reposition || | |  NAN means ignore |  NAN means ignore |  NAN means ignore |  NAN means ignore |  */
-   MAV_CMD_ENUM_END=44071, /*  | */
+   VKFLY_CMD_DYNAMIC_ACT=44071, /* Vehicle act |NAN means ignore.0 do dynamic_takeoff, 
+        1 do dynamic_land, 2 do dynamic_follow| | | | | | |  */
+   MAV_CMD_ENUM_END=44072, /*  | */
 } MAV_CMD;
 #endif
 

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 7237389657314420362
+#define MAVLINK_PRIMARY_XML_HASH 8342406483840289831
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

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

@@ -7,7 +7,7 @@
 #ifndef MAVLINK_VERSION_H
 #define MAVLINK_VERSION_H
 
-#define MAVLINK_BUILD_DATE "Fri Nov 21 2025"
+#define MAVLINK_BUILD_DATE "Thu Dec 04 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 8705501249757191712
+#define MAVLINK_COMMON_XML_HASH 7198561333657606461
 
 #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 8705501249757191712
+#define MAVLINK_PRIMARY_XML_HASH 7198561333657606461
 
 #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 "Fri Nov 21 2025"
+#define MAVLINK_BUILD_DATE "Thu Dec 04 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 -216195905898049978
+#define MAVLINK_PRIMARY_XML_HASH -7572281260354235699
 
 #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 -216195905898049978
+#define MAVLINK_MINIMAL_XML_HASH -7572281260354235699
 
 #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 "Fri Nov 21 2025"
+#define MAVLINK_BUILD_DATE "Thu Dec 04 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 6225198580930198331
+#define MAVLINK_PRIMARY_XML_HASH 4095867283065269195
 
 #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 6225198580930198331
+#define MAVLINK_STANDARD_XML_HASH 4095867283065269195
 
 #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 "Fri Nov 21 2025"
+#define MAVLINK_BUILD_DATE "Thu Dec 04 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22