GCS_MAVLink: add MAV_CMD_DO_GRIPPER

This commit is contained in:
Randy Mackay 2014-09-17 16:08:27 +09:00
parent cffc904671
commit b3bce13bdf
1 changed files with 21 additions and 0 deletions

View File

@ -23,6 +23,16 @@
<param index="6">Empty</param> <param index="6">Empty</param>
<param index="7">Empty</param> <param index="7">Empty</param>
</entry> </entry>
<entry name="MAV_CMD_DO_GRIPPER" value="211">
<description>Mission command to operate EPM gripper</description>
<param index="1">gripper number (a number from 1 to max number of grippers on the vehicle)</param>
<param index="2">gripper action (0=release, 1=grab. See GRIPPER_ACTIONS enum)</param>
<param index="3">Empty</param>
<param index="4">Empty</param>
<param index="5">Empty</param>
<param index="6">Empty</param>
<param index="7">Empty</param>
</entry>
</enum> </enum>
<!-- AP_Limits Enums --> <!-- AP_Limits Enums -->
@ -75,6 +85,17 @@
</entry> </entry>
</enum> </enum>
<!-- gripper action enum -->
<enum name="GRIPPER_ACTIONS">
<description>Gripper actions.</description>
<entry name="GRIPPER_ACTION_RELEASE" value="0">
<description>gripper release of cargo</description>
</entry>
<entry name="GRIPPER_ACTION_GRAB" value="1">
<description>gripper grabs onto cargo</description>
</entry>
</enum>
<!-- Camera event types --> <!-- Camera event types -->
<enum name="CAMERA_STATUS_TYPES"> <enum name="CAMERA_STATUS_TYPES">
<entry name="CAMERA_STATUS_TYPE_HEARTBEAT" value="0"><description>Camera heartbeat, announce camera component ID at 1hz</description></entry> <entry name="CAMERA_STATUS_TYPE_HEARTBEAT" value="0"><description>Camera heartbeat, announce camera component ID at 1hz</description></entry>