Skip to content

Robot visualization improvements - #72

Merged
sea-bass merged 4 commits into
mainfrom
viz-improvements
Sep 17, 2026
Merged

sea-bass merged 4 commits into
mainfrom
viz-improvements

Conversation

@sea-bass

Copy link
Copy Markdown
Collaborator

This PR fixes a few small issues with the robot visualization:

  1. RoboPlanVisualizer group now renders every geometry whose parent joint is in the Pinocchio subtree of any group joint, plus explicit SRDF links. This prevents stale joints not part of commanded groups from staying behind/
  2. TrajectoryPublisher: prepends a DELETEALL marker message to the first frame so a new preview replaces whatever was on the topic, and paces playback against the wall clock in case it's behind.

This inadvertently (through item 1. above) fixed some quirks I was seeing with other links not updating properly when moving a robot's interactive marker.

clr-interactive-ik-fix.webm

@sea-bass
sea-bass requested a review from eholum September 15, 2026 18:53
@sea-bass
sea-bass force-pushed the viz-improvements branch 2 times, most recently from 78aa11e to 3c606c5 Compare September 15, 2026 19:44

@eholum eholum left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's beautiful!

Was checking things out with the mujoco sim and noted that 3x speed simulations pass through their previews. I think supporting that might be a slightly larger change... so happy to ship this as is and open an issue?

Comment thread roboplan_ros_py/roboplan_ros_py/trajectory_publisher.py Outdated
@sea-bass

Copy link
Copy Markdown
Collaborator Author

3x speed simulations pass through their previews.

Sorry, could you expand on what this means? I also had some changes stashed in the clr_ws repo that did a marker deletion every time a new preview came in to help with this, so maybe I should push this up for you to use

@eholum

eholum commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

Sorry, could you expand on what this means?

Sorry i have SIP brain. Just that previews are played back in wall time and not using /clock. I think the changes are just in clr_ws, because I realize that node isn't using sim time... Ignore me?

@sea-bass

Copy link
Copy Markdown
Collaborator Author

OK, but also I just pushed up the draft branch : NASA-JSC-Robotics/clr_ws#71

@sea-bass
sea-bass changed the base branch from main to fix-roboplan-rosdeps September 17, 2026 03:11
@sea-bass
sea-bass force-pushed the fix-roboplan-rosdeps branch from 291fd4a to d49f0b6 Compare September 17, 2026 03:46
Base automatically changed from fix-roboplan-rosdeps to main September 17, 2026 13:48

@eholum eholum left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🏎️

@sea-bass
sea-bass merged commit 2cf806b into main Sep 17, 2026
34 checks passed
@sea-bass
sea-bass deleted the viz-improvements branch September 17, 2026 14:33
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.

2 participants