|
|
@@ -686,6 +686,29 @@
|
|
|
<entry value="12" name="VKFLY_VINS_CONFIG_SET_PRIME_VINS"></entry>
|
|
|
</enum>
|
|
|
|
|
|
+ <enum name="VKFLY_GUIDE_PATH_TYPE">
|
|
|
+ <description>Approach path for VKFLY_CMD_DO_GUIDE_POINT. Applies to this command only.</description>
|
|
|
+ <entry value="0" name="VKFLY_GUIDE_PATH_ALT_THEN_XY">
|
|
|
+ <description>Reach the target altitude at the starting horizontal position, then fly horizontally to the target.</description>
|
|
|
+ </entry>
|
|
|
+ <entry value="1" name="VKFLY_GUIDE_PATH_XY_THEN_ALT">
|
|
|
+ <description>Fly horizontally at the starting altitude, then change altitude at the target horizontal position.</description>
|
|
|
+ </entry>
|
|
|
+ <entry value="2" name="VKFLY_GUIDE_PATH_LINEAR">
|
|
|
+ <description>Move along a straight three-dimensional path with coordinated horizontal and vertical progress.</description>
|
|
|
+ </entry>
|
|
|
+ </enum>
|
|
|
+
|
|
|
+ <enum name="VKFLY_GUIDE_YAW_MODE">
|
|
|
+ <description>Heading during the approach. Does not change the arrival yaw specified in param4.</description>
|
|
|
+ <entry value="0" name="VKFLY_GUIDE_YAW_FACE_TARGET">
|
|
|
+ <description>Face the target. For targets within 5 m, keep the current heading.</description>
|
|
|
+ </entry>
|
|
|
+ <entry value="1" name="VKFLY_GUIDE_YAW_HOLD">
|
|
|
+ <description>Keep the vehicle heading captured when this command is accepted throughout the approach.</description>
|
|
|
+ </entry>
|
|
|
+ </enum>
|
|
|
+
|
|
|
<enum name="MAV_CMD">
|
|
|
<description> VKFLY custom CMD </description>
|
|
|
<entry value="44010" name="VKFLY_CMD_NAV_WP" hasLocation="true" isDestination="true">
|
|
|
@@ -988,6 +1011,18 @@
|
|
|
1 means vel_ctl</param>
|
|
|
<param index="5" label="act_param"> NAN means invalid.</param>
|
|
|
</entry>
|
|
|
+
|
|
|
+ <entry value="44075" name="VKFLY_CMD_DO_GUIDE_POINT" hasLocation="true"
|
|
|
+ isDestination="true">
|
|
|
+ <description>Guide a multicopter to a WGS84 global position, then hold position. Use COMMAND_INT. Parameters follow MAV_CMD_DO_REPOSITION except param2 selects the approach path and param3 selects the approach heading mode. Path and heading options apply only to this command and are not persistent parameters.</description>
|
|
|
+ <param index="1" label="Speed" units="m/s" minValue="-1" maxValue="655.35">Ground speed. A negative value or NaN selects the current implementation default of 5 m/s.</param>
|
|
|
+ <param index="2" label="Guide Path" enum="VKFLY_GUIDE_PATH_TYPE" minValue="0" maxValue="2" increment="1">Required approach path: 0 altitude then horizontal, 1 horizontal then altitude, 2 linear. Other values, including NaN, are rejected.</param>
|
|
|
+ <param index="3" label="Yaw Mode" enum="VKFLY_GUIDE_YAW_MODE" minValue="0" maxValue="1" increment="1">Required heading mode during the approach: 0 face target, 1 keep the heading at command acceptance. Other values, including NaN, are rejected.</param>
|
|
|
+ <param index="4" label="Yaw" units="deg">Target yaw after arrival. NaN leaves the approach heading unchanged.</param>
|
|
|
+ <param index="5" label="Latitude">Target latitude. In COMMAND_INT, use x in degrees multiplied by 1e7.</param>
|
|
|
+ <param index="6" label="Longitude">Target longitude. In COMMAND_INT, use y in degrees multiplied by 1e7.</param>
|
|
|
+ <param index="7" label="Altitude" units="m">Target altitude in the command frame. NaN keeps the current altitude. GLOBAL frames use AMSL altitude; GLOBAL_RELATIVE_ALT frames use altitude above takeoff.</param>
|
|
|
+ </entry>
|
|
|
</enum>
|
|
|
</enums>
|
|
|
|