Skip to content

Conversation

@ES-Alexander
Copy link

Cherry-picked combination of mavlink#2342 and mavlink#2393.

Grippers are not always moving, and it can be beneficial to be able to maintain the current position/state to avoid damaging the cargo and/or the device being controlled. This PR adds a HOLD option to the possible gripper actions, to support additional gripper types (like the primary gripper used with ArduSub vehicles).

This change, as part of ArduPilot/ardupilot#31107, will help to enable ArduSub users to make use of dedicated gripper outputs and commands, rather than only supporting gripper control via MAVLink MANUAL_CONTROL joystick button functions.


Replaces #433.

Cherry-picked combination of mavlink/mavlink commits c748e54 and aa20540.

* common.xml: add gripper hold action

Grippers are not always moving, and it can be beneficial to be able to maintain the current position/state to avoid damaging the cargo and/or the device being controlled.

* common.xml: fix MAV_CMD_DO_GRIPPER min spec

Value "0" has a documented meaning, so it should be included in the values considered valid.

---------

Co-authored-by: Hamish Willee <[email protected]>
@ES-Alexander ES-Alexander changed the title common.xml: add gripper hold action common.xml: add GRIPPER_ACTION_HOLD Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant