gazebosim / gz-sim

Open source robotics simulator. The latest version of Gazebo.
https://gazebosim.org
Apache License 2.0
621 stars 251 forks source link

Support visualizing mesh collisions with convex decomposition #2331

Closed iche033 closed 3 months ago

iche033 commented 3 months ago

🎉 New feature

Depends on:

Summary

Extends VisualizationCapabilities gui plugin to support visualizing mesh collisions with convex decomposition.

if a mesh collision has the new attribute <mesh simplification="convex_decomposition">, the plugin will decompose the meshes on the GUI side before visualizing them.

Test it

I uploaded a Cordless Drill Simplified model on fuel for testing. This model uses convex decomposition on the collision mesh.

Here's the result:

cordless_drill_simplified

Checklist

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

iche033 commented 3 months ago

will retarget to main