ArduPilot/ardupilot

AP_Gripper: support HOLD command option

Ouverte

#31 107 ouverte le 17 sept. 2025

 (9 commentaires) (0 réaction) (0 personne assignée)C++ (15 603 forks)batch import
good first issue

Métriques du dépôt

Stars
 (9 336 étoiles)
Métriques de merge PR
 (Merge moyen 26j 16h) (166 PRs mergées en 30 j)

Description

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.

Guide contributeur