moveit / moveit_visual_tools

Helper functions for displaying and debugging MoveIt! data in Rviz via published markers
BSD 3-Clause "New" or "Revised" License
151 stars 102 forks source link

Highlight selected links in publishRobotState() + improved collision visualization #45

Closed henningkayser closed 5 years ago

henningkayser commented 5 years ago

The current implementation of publishRobotState() allows coloring all links with a specific color. This PR adds an optional argument highlight_links for specifying only a set of link names that should be highlighted with the given color. One example scenario would be to highligh links if they are in collision.

I'm also thinking of adding another function visualizeCollisionResult() or even checkCollision() that runs a collision check and then highlights the colliding links and publishes contact points using publishContactPoints().

UPDATE - I extended this PR

henningkayser commented 5 years ago

@davetcoleman I extended this PR with improved collision visualization functions since the code is closely related.

davetcoleman commented 5 years ago

Travis is failing on master, unrelated to this PR. I've attempted to fix here: https://github.com/ros-planning/moveit_visual_tools/pull/47

Merging this now so we can continue to contribute to open source on a client project.

davetcoleman commented 5 years ago

Cherry picked to master.