ソースを参照

增加 CUSTOM_MODE FLY_TO_WP 定义

Liu Yang 1 年間 前
コミット
174d9754af

+ 3 - 0
msg_definitions/VKFly.xml

@@ -213,6 +213,9 @@
       <entry value="12" name="VKFLY_CUSTOM_MODE_RTL">
         <description>Auto return.</description>
       </entry>
+      <entry value="13" name="VKFLY_CUSTOM_MODE_FLY_TO_WP">
+        <description>Auto fly to wp.</description>
+      </entry>
       <entry value="15" name="VKFLY_CUSTOM_MODE_CRUISE">
         <description>Auto cruise.</description>
       </entry>

+ 2 - 1
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 -7028473366533727269
+#define MAVLINK_VKFLY_XML_HASH 2476404480095784095
 
 #ifdef __cplusplus
 extern "C" {
@@ -167,6 +167,7 @@ typedef enum VKFLY_CUSTOM_MODE
    VKFLY_CUSTOM_MODE_TAKEOFF=10, /* Auto takeoff. | */
    VKFLY_CUSTOM_MODE_LOITER=11, /* Auto loiter. | */
    VKFLY_CUSTOM_MODE_RTL=12, /* Auto return. | */
+   VKFLY_CUSTOM_MODE_FLY_TO_WP=13, /* Auto fly to wp. | */
    VKFLY_CUSTOM_MODE_CRUISE=15, /* Auto cruise. | */
    VKFLY_CUSTOM_MODE_GUIDE=18, /* Guide to point. | */
    VKFLY_CUSTOM_MODE_LAND=19, /* Land. | */

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -7028473366533727269
+#define MAVLINK_PRIMARY_XML_HASH 2476404480095784095
 
 #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 May 24 2024"
+#define MAVLINK_BUILD_DATE "Sat Jun 01 2024"
 #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 -161184732379561483
+#define MAVLINK_COMMON_XML_HASH 4170117283486075577
 
 #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 -161184732379561483
+#define MAVLINK_PRIMARY_XML_HASH 4170117283486075577
 
 #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 May 24 2024"
+#define MAVLINK_BUILD_DATE "Sat Jun 01 2024"
 #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 -3697728488519736124
+#define MAVLINK_PRIMARY_XML_HASH 272505349383596025
 
 #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 -3697728488519736124
+#define MAVLINK_MINIMAL_XML_HASH 272505349383596025
 
 #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 May 24 2024"
+#define MAVLINK_BUILD_DATE "Sat Jun 01 2024"
 #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 5196755403834838530
+#define MAVLINK_PRIMARY_XML_HASH -2481605930984615826
 
 #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 5196755403834838530
+#define MAVLINK_STANDARD_XML_HASH -2481605930984615826
 
 #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 May 24 2024"
+#define MAVLINK_BUILD_DATE "Sat Jun 01 2024"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22