Skip to content

Decide Humble stalled and reached_goal states from the gripper object status - #101

Merged
ebarnett3 merged 6 commits into
mainfrom
issue-96/humble-object-status-verdict
Sep 29, 2026
Merged

ebarnett3 merged 6 commits into
mainfrom
issue-96/humble-object-status-verdict

Conversation

@ebarnett3

@ebarnett3 ebarnett3 commented Sep 29, 2026 •

Copy link
Copy Markdown
Collaborator

Closes #96

Use the Robotiq gripper ObjectDetection to set the stalled/reached_goal status in ROS, rather than the velocity.

Humble implementation equivalent to the Jazzy/Lyrical implementation in #100. Commit 78ef351 first turns the Jazzy controller into ObjectStatusController<Base>, a template over the stock base, with its tests as a typed suite; the large new files there are extractions (see the inline comments for the few deliberate changes). Humble's GripperCommandController is then a second instantiation on gripper_controllers, and its test a second Traits.

@ebarnett3 ebarnett3 self-assigned this Sep 29, 2026
@ebarnett3
ebarnett3 marked this pull request as draft September 29, 2026 00:37
@ebarnett3
ebarnett3 force-pushed the issue-96/humble-object-status-verdict branch from b6af82f to 0f83e53 Compare September 29, 2026 02:19
@ebarnett3 ebarnett3 changed the title Issue 96/humble object status verdict Issue 96/use gripper's object status to determine the ROS stalled and reached_goal states (Humble) Sep 29, 2026
@ebarnett3 ebarnett3 changed the title Issue 96/use gripper's object status to determine the ROS stalled and reached_goal states (Humble) Decide Humble gripper goals from the object status Sep 29, 2026
- move the parameter names, the object_status lookup and the goal verdict into object_status_goal
- GripperActionController keeps only the goal handle and result plumbing
- unit-test the verdict and the lookup on every distro

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ebarnett3
ebarnett3 force-pushed the issue-96/humble-object-status-verdict branch from 0f83e53 to 4c77409 Compare September 29, 2026 04:18
Comment thread grippers/robotiq_controllers/test/object_status_controller_test.hpp
@ebarnett3 ebarnett3 changed the title Decide Humble gripper goals from the object status Decide Humble stalled and reached_goal states from the gripper object status Sep 29, 2026
@ebarnett3
ebarnett3 marked this pull request as ready for review September 29, 2026 04:18
ebarnett3 and others added 5 commits September 29, 2026 00:21
…mplate over its base

- move GripperActionController's body into ObjectStatusController<Base>, header-only; GripperActionController is its parallel_gripper_controller instantiation
- shim the goal container (RealtimeThreadSafeBox vs RealtimeBuffer) and the action result shape in ros2_control_compat, with fakes for both in its test
- turn the controller tests into a typed suite each instantiation runs on its own Traits

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…t status

- add GripperCommandController, ObjectStatusController on Humble's stock position_controllers/GripperActionController
- build and register it on Humble only, in place of the Jazzy controller
- run the controller test suite on it, through a GripperCommand action client

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
…ntroller on Humble

- switch the two Humble configs to the new controller type, with use_object_status on for the driver
- give the Humble mock its own config, the driver's with the flag off, as on Jazzy
- test the flag, the mock config and the launch's selection on both distros

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
- 8 ctest jobs; the ide-ccache preset inherits them

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ebarnett3
ebarnett3 merged commit dad818c into main Sep 29, 2026
8 checks passed
@ebarnett3
ebarnett3 deleted the issue-96/humble-object-status-verdict branch September 29, 2026 17:08
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.

controller: take stall and reached from the gripper's object status, not a velocity timeout

2 participants