Browse Source

增加恢复航线高度指令代码

Liu Yang 5 days ago
parent
commit
d9b896a61e

+ 1 - 1
readme.md

@@ -1111,7 +1111,7 @@ param3 分为 byte[4] 进行使用.
   MAV_FRAME_GLOBAL_RELATIVE_ALT: 相对高度
   MAV_FRAME_GLOBAL_ALT: 海拔高度
 
-#### 4.1.7 恢复航线高度 VKFLY_CMD_NAV_TAKEOFF_LAND
+#### 4.1.7 恢复航线高度 VKFLY_CMD_RESUME_WP_ALT
 
 当使用摇杆高度控制时, 可以使用这条指令来恢复航线高度
 

+ 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 6537433158663298724
+#define MAVLINK_VKFLY_XML_HASH 8034384408752645066
 
 #ifdef __cplusplus
 extern "C" {
@@ -507,7 +507,9 @@ typedef enum VKFLY_CMD
           now.
         |  |  |  |  |  |  */
    VKFLY_CMD_MISSION_START_EDU_TRAINING=44067, /* Start mission |start sequence of mission|  |  |  |  |  |  |  */
-   VKFLY_CMD_ENUM_END=44068, /*  | */
+   VKFLY_CMD_RESUME_WP_ALT=44068, /* Start mission |resume wp altitude and disable rc
+          aux| | | | | | |  */
+   VKFLY_CMD_ENUM_END=44069, /*  | */
 } VKFLY_CMD;
 #endif
 

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 6537433158663298724
+#define MAVLINK_PRIMARY_XML_HASH 8034384408752645066
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

+ 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 -7955568166919538845
+#define MAVLINK_COMMON_XML_HASH -1213902260605232675
 
 #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 -7955568166919538845
+#define MAVLINK_PRIMARY_XML_HASH -1213902260605232675
 
 #ifndef MAVLINK_STX
 #define MAVLINK_STX 253

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 7441832264265538141
+#define MAVLINK_PRIMARY_XML_HASH -8000160734401705409
 
 #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 7441832264265538141
+#define MAVLINK_MINIMAL_XML_HASH -8000160734401705409
 
 #ifdef __cplusplus
 extern "C" {

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 1794531133685778314
+#define MAVLINK_PRIMARY_XML_HASH -4796999974497140114
 
 #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 1794531133685778314
+#define MAVLINK_STANDARD_XML_HASH -4796999974497140114
 
 #ifdef __cplusplus
 extern "C" {