فهرست منبع

增加 error1 避障锁定报警

Liu Yang 4 روز پیش
والد
کامیت
554d4dc5fa
2فایلهای تغییر یافته به همراه9 افزوده شده و 5 حذف شده
  1. 8 5
      msg_definitions/VKFly.xml
  2. 1 0
      readme.md

+ 8 - 5
msg_definitions/VKFly.xml

@@ -247,16 +247,19 @@
         <description>Battery bms link lost.</description>
       </entry>
       <entry value="512" name="VKFLY_SYS_ERROR1_ECU_FUEL_LOW">
-        <description>Battery bms link lost.</description>
+        <description>ECU fuel percentage low.</description>
       </entry>
       <entry value="1024" name="VKFLY_SYS_ERROR1_ECU_LINK_LOST">
-        <description>Battery bms link lost.</description>
+        <description>ECU linklost.</description>
       </entry>
       <entry value="2048" name="VKFLY_SYS_ERROR1_H2P_LOW">
-        <description>Battery bms link lost.</description>
+        <description>H2 pressure low.</description>
       </entry>
       <entry value="4096" name="VKFLY_SYS_ERROR1_OVER_WEIGHT">
-        <description>Battery bms link lost.</description>
+        <description>Over weight.</description>
+      </entry>
+      <entry value="8192" name="VKFLY_SYS_ERROR1_OBSTACLE_AVOID">
+        <description>Obstacle avoid.</description>
       </entry>
     </enum>
 
@@ -1344,4 +1347,4 @@
 
   </messages>
 
-</mavlink>
+</mavlink>

+ 1 - 0
readme.md

@@ -173,6 +173,7 @@ typedef enum VKFLY_SYS_ERROR1
     VKFLY_SYS_ERROR1_ECU_LINK_LOST=1024, /* 发动机数据断开 |*/
     VKFLY_SYS_ERROR1_H2P_LOW=2048, /* 氢气压低 | */
     VKFLY_SYS_ERROR1_OVER_WEIGHT=4096, /* 负载超重 |*/
+    VKFLY_SYS_ERROR1_OBSTACLE_AVOID=8192, /* 避障锁定 | */
 } VKFLY_SYS_ERROR1;
 ```