ArduPilot/ardupilot

AP_Gripper: support HOLD command option

Open

#31,107 opened on 2025年9月17日

GitHub で見る
 (7 comments) (0 reactions) (0 assignees)C++ (9,336 stars) (15,603 forks)batch import
good first issue

説明

Feature request

Is your feature request related to a problem? Please describe. Explicit gripper control is currently limited to active releasing and grabbing, which leaves out stopped/neutral operation. The EPM gripper driver seemingly has an option to automatically return to neutral some fixed time after a grab or release, but that is privately scoped and has no direct control action.

Describe the solution you'd like

  1. MAVLink now supports a HOLD command for grippers, which I think should be used to trigger stopped / neutral functionality of the gripper.
  2. With drivers that expose that functionality, it could also be integrated into AUX functions / joystick button function support, as the return point when a grab or release button stops being held.

Describe alternatives you've considered We could just not implement this, but it's a missing functionality that seems useful for certain gripper types and applications.

Platform [x] All [ ] AntennaTracker [ ] Copter [ ] Plane [ ] Rover [ ] Submarine

Additional context The lack of this functionality is what has thus far stopped ArduSub from regularly using ArduPilot's gripper functionality (opting to instead use momentary servo commands via joystick buttons), so this would reduce ArduSub's reliance on joystick button functions, while also making gripper configuration more intuitive.

コントリビューターガイド