Skip to content

Visualizing convex and surface#4

Open
wyqsnddd wants to merge 3 commits into
mc-rtc:mainfrom
wyqsnddd:visualizing-convex-and-surface
Open

Visualizing convex and surface#4
wyqsnddd wants to merge 3 commits into
mc-rtc:mainfrom
wyqsnddd:visualizing-convex-and-surface

Conversation

@wyqsnddd
Copy link
Copy Markdown

@wyqsnddd wyqsnddd commented May 4, 2026

No description provided.

ywang-robotics and others added 2 commits May 4, 2026 22:49
Add two new ROS2 nodes to visualize mc_rtc robot collision convexes
and contact surfaces in RViz2, replacing the ROS1 mc_convex_visualization
tool. The surface node also publishes robot_description and static TF
so the robot mesh is rendered alongside the surface markers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wyqsnddd
Copy link
Copy Markdown
Author

wyqsnddd commented May 4, 2026

The new scripts are working fine:

image image

…rface views

Both visualization nodes now publish robot_description (with relative
mesh paths rewritten to absolute file:// URIs) and static TF so that
the robot mesh is rendered in RViz2 alongside the markers.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@wyqsnddd wyqsnddd closed this May 5, 2026
@wyqsnddd wyqsnddd reopened this May 5, 2026
@ThomasDuvinage
Copy link
Copy Markdown
Contributor

Hello @wyqsnddd,

Thanks for your suggestion.

I have one concern here regarding a potential duplicate with existing mc_convex_visualization (doc) and mc_surface_visualization (doc). Since mc_rtc is needed for mc_rtc_ros_control you can access these executable.

@wyqsnddd
Copy link
Copy Markdown
Author

I am afraid that these two executables are not functioning for ROS2?

@ThomasDuvinage
Copy link
Copy Markdown
Contributor

Both are working with ros2.
You can run them with :

mc_convex_visualization {robot_name}
# or 
mc_surface_visualization {robot_name}
ros2 launch mc_rtc_ticker display.launch

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.

3 participants