-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
shapes.sdf down to 70% RTF from ~100% after Cone was added #2463
Comments
@azeey appears this might also be an issue with mesh shapes in general? If you replace the cone with another ellipsoid it seems to have same slowdown issue, both cone and ellipsoid use meshes for collision instead of closed form solvers, that's my guess for the issue? I'm fine with removing it or also maybe just removing collisions from ellipsoid and cone in that world if RTF performance is more desirable. |
When I visualize the mesh, I see a lot of triangles for both the cone and ellipsoid. In shapes.sdf, the cone generates about 20 contact points and ellipsoid generates 1 until it falls over and then ~11 contact points. Would it be possible to limit the number of contact points when we construct the physics shapes? Maybe @iche033 knows |
with #2270, we can now set the max no. of contact points for all collision pairs in SDF. For dartsim, it comes down to the SetWorldCollisionPairMaxContacts function in gz-physics. However, we can not set the max contact point for each individual collision yet. |
Looking to add cone directly supported in ODE->DART->Gazebo: |
Environment
Description
Steps to reproduce
gz sim shapes.sdf
The text was updated successfully, but these errors were encountered: