Browse Source

增加 sys_status err1 的备份遥控器遥测失联报警

Liu Yang 1 year ago
parent
commit
28b36d9055

+ 4 - 1
msg_definitions/VKFly.xml

@@ -150,6 +150,9 @@
       <entry value="64" name="VKFLY_SYS_ERROR1_OUT_FENCE">
         <description>Position out of fence range.</description>
       </entry>
+      <entry value="128" name="VKFLY_SYS_ERROR1_OBV_LINK_LOST">
+        <description>Obv mavlink com link lost.</description>
+      </entry>
     </enum>
 
     <enum name="VKFLY_SYS_ERROR2" bitmask="true">
@@ -617,4 +620,4 @@
 
   </messages>
 
-</mavlink>
+</mavlink>

+ 1 - 2
readme.md

@@ -777,8 +777,7 @@ mavlink common 标准消息集中主要由 MAVLINK_MSG_ID_COMMAND_INT 和 MAVLIN
     VKFLY_RTL_REASON_SERVO_FAULT=12, /* 伺服动力故障保护返航 | */
     VKFLY_RTL_REASON_ENUM_END=13, /*  | */
   } VKFLY_RTL_REASON;
-
-```
+  ```
 
 - VKFLY_VKINS_NAV_STATUS
 

+ 3 - 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 6152512023245993175
+#define MAVLINK_VKFLY_XML_HASH 1575324864285451450
 
 #ifdef __cplusplus
 extern "C" {
@@ -123,7 +123,8 @@ typedef enum VKFLY_SYS_ERROR1
    VKFLY_SYS_ERROR1_OVERHEAT=16, /* Autopilot system temperature too high. | */
    VKFLY_SYS_ERROR1_INS_INVALID=32, /* Autopilot system solved positioning not ready. | */
    VKFLY_SYS_ERROR1_OUT_FENCE=64, /* Position out of fence range. | */
-   VKFLY_SYS_ERROR1_ENUM_END=65, /*  | */
+   VKFLY_SYS_ERROR1_OBV_LINK_LOST=128, /* Obv mavlink com link lost. | */
+   VKFLY_SYS_ERROR1_ENUM_END=129, /*  | */
 } VKFLY_SYS_ERROR1;
 #endif
 

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH 6152512023245993175
+#define MAVLINK_PRIMARY_XML_HASH 1575324864285451450
 
 #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 "Wed Jun 19 2024"
+#define MAVLINK_BUILD_DATE "Tue Jul 09 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 -4853935762338562696
+#define MAVLINK_COMMON_XML_HASH -844533605793930728
 
 #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 -4853935762338562696
+#define MAVLINK_PRIMARY_XML_HASH -844533605793930728
 
 #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 "Wed Jun 19 2024"
+#define MAVLINK_BUILD_DATE "Tue Jul 09 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 7502694402685973443
+#define MAVLINK_PRIMARY_XML_HASH 7411362621488745973
 
 #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 7502694402685973443
+#define MAVLINK_MINIMAL_XML_HASH 7411362621488745973
 
 #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 "Wed Jun 19 2024"
+#define MAVLINK_BUILD_DATE "Tue Jul 09 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 -133738197775166196
+#define MAVLINK_PRIMARY_XML_HASH -6308459064296323263
 
 #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 -133738197775166196
+#define MAVLINK_STANDARD_XML_HASH -6308459064296323263
 
 #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 "Wed Jun 19 2024"
+#define MAVLINK_BUILD_DATE "Tue Jul 09 2024"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22