Skip to content

AP_Gripper: support stop command option #31107

@ES-Alexander

Description

@ES-Alexander

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 STOP 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions