Cleanup for cable moderator prototype#468
Merged
iche033 merged 7 commits intoiche033/cable_moderatorfrom Apr 8, 2026
Merged
Conversation
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
fd0850b to
c6c07f9
Compare
…e renaming, doc Signed-off-by: Ian Chen <iche@intrinsic.ai>
c6c07f9 to
5c09cde
Compare
iche033
approved these changes
Apr 8, 2026
Collaborator
iche033
left a comment
There was a problem hiding this comment.
awesome! thanks @luca-della-vedova. I went through your instructions and was able to confirm the cable state transitions as well.
I made a few minor cleanup changes in 5c09cde:
- formatting / style
- addressed some TODOs, e.g. removed unused function and variables
- added doc for a couple of new functions
- removed debug statements
luca-della-vedova
added a commit
that referenced
this pull request
Apr 10, 2026
* WIP: add cable moderator plugin Signed-off-by: Ian Chen <iche@intrinsic.ai> * Cleanup for cable moderator prototype (#468) --------- Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai> Signed-off-by: Ian Chen <iche@intrinsic.ai> Co-authored-by: Ian Chen <iche@intrinsic.ai> --------- Signed-off-by: Ian Chen <iche@intrinsic.ai> Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai> Co-authored-by: Luca Della Vedova <lucadv@intrinsic.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Targeting
iche033/cable_moderator, I tested it and it works quite well, I did some cleaning up, specifically:I also removed the spawning of the cable, it turns out it messed up a bit with the namespacing for the pose publisher, we can just spawn the cable at runtime to test this PR.
Test it!
Setup
Run
This will spawn the simulation with the cable spawned but not attached to the gripper. This plugin will then proceed to attach it.
Manual run, full task
Use
gz topicto simulate contacts and manually move the cableEnd to end (first half of the task) with CheatCode
You can use CheatCode to verify this with an actual task:
Copy the following into a script and run it to send the action:
You should see that when the cable reaches the port the joint is created and the state machine goes to the next state.