ArduPilot/ardupilot

AP_Gripper: support HOLD command option

Open

#31,107 建立於 2025年9月17日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)C++ (9,336 star) (15,603 fork)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.

貢獻者指南