Explorar o código

增加雷达配置命令

Liu Yang hai 3 meses
pai
achega
f3395a54c8

+ 12 - 0
msg_definitions/VKFly.xml

@@ -736,6 +736,18 @@
         <param index="7" label=""> </param>
       </entry>
 
+      <entry value="44051" name="VKFLY_CMD_RFD_CONFIG" hasLocation="false"
+        isDestination="false">
+        <description>can esc id configuration</description>
+        <param index="1" label="Target component"> target component id </param>
+        <param index="2" label="Set blind zone" units="m"> set blind zone, NAN means ignore </param>
+        <param index="3" label="Set max range" units="m"> set max range, NAN means ignore </param>
+        <param index="4" label=""> </param>
+        <param index="5" label=""> </param>
+        <param index="6" label=""> </param>
+        <param index="7" label=""> </param>
+      </entry>
+
       <entry value="44060" name="VKFLY_CMD_DO_REPOSITION_THAN_THROW" hasLocation="true"
         isDestination="true">
         <description>Do reposition and throwing</description>

+ 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 -4122772539408693196
+#define MAVLINK_VKFLY_XML_HASH 2989708805911485893
 
 #ifdef __cplusplus
 extern "C" {
@@ -740,6 +740,7 @@ typedef enum MAV_CMD
    VKFLY_CMD_MOUNT_CTRL=44030, /* VLFLY Custom orbit waypoint  | |  |  |  | Latitude| Longitude| Altitude|  */
    VKFLY_CMD_FORMATION_FLY=44031, /* Formation fly assemble, disband or change formation |1 means assemble, 2 means quit, 3 means change formation| | | | | | |  */
    VKFLY_CMD_ESC_CONFIG=44050, /* can esc id configuration | Set Esc id, min=1, max=16 |  |  |  |  |  |  |  */
+   VKFLY_CMD_RFD_CONFIG=44051, /* can esc id configuration | target component id |  set blind zone, NAN means ignore |  set max range, NAN means ignore |  |  |  |  |  */
    VKFLY_CMD_DO_REPOSITION_THAN_THROW=44060, /* Do reposition and throwing | Throw servo id bitmap |  |  |  |  |  |  |  */
    VKFLY_CMD_DO_REPOSITION_THAN_LAND=44061, /* Do reposition and throwing | Ground msl altitude|  |  |  |  |  |  |  */
    VKFLY_CMD_MISSION_START=44062, /* Start mission |start sequence of mission|  |  |  |  |  |  |  */

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

@@ -6,7 +6,7 @@
 #ifndef MAVLINK_H
 #define MAVLINK_H
 
-#define MAVLINK_PRIMARY_XML_HASH -4122772539408693196
+#define MAVLINK_PRIMARY_XML_HASH 2989708805911485893
 
 #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 Dec 19 2025"
+#define MAVLINK_BUILD_DATE "Tue Dec 30 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 9085094507884850053
+#define MAVLINK_COMMON_XML_HASH -753897379657521811
 
 #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 9085094507884850053
+#define MAVLINK_PRIMARY_XML_HASH -753897379657521811
 
 #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 Dec 19 2025"
+#define MAVLINK_BUILD_DATE "Tue Dec 30 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 -5494458806753370852
+#define MAVLINK_PRIMARY_XML_HASH 6588211659819560145
 
 #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 -5494458806753370852
+#define MAVLINK_MINIMAL_XML_HASH 6588211659819560145
 
 #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 Dec 19 2025"
+#define MAVLINK_BUILD_DATE "Tue Dec 30 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 -1492400602002876033
+#define MAVLINK_PRIMARY_XML_HASH -3174030842127723093
 
 #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 -1492400602002876033
+#define MAVLINK_STANDARD_XML_HASH -3174030842127723093
 
 #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 Dec 19 2025"
+#define MAVLINK_BUILD_DATE "Tue Dec 30 2025"
 #define MAVLINK_WIRE_PROTOCOL_VERSION "2.0"
 #define MAVLINK_MAX_DIALECT_PAYLOAD_SIZE 22