-
Notifications
You must be signed in to change notification settings - Fork 276
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
ignition gazebo is not simulating the dynamics(stiffness, damping, etc.) correctly #1961
Comments
Gazebo classic uses the ODE physics engine by default whereas the new Gazebo uses DART. The parameters you mentioned are not supported in DART, AFAIK, so I don't know if it can be fixed. We definitely need to document that they are not supported though. |
Thanks. I add the following to t.sdf (I suppose this will let ignition gazebo use ODE?), but nothing changed.
Also, I use "dart/soft_contact" tag in t_dart.sdf following the instruction in http://sdformat.org/spec?ver=1.6&elem=collision#surface_soft_contact. But no bouncing behavior appears. |
The new Gazebo does not support ODE at all, so your change won't enable ODE. If you're interested only in bouncing dynamics, you'll want to set the |
I am simulating the hybrid force/position control and want the object surface to be less stiff (like a spring) so that the contact force will not be too large. I'm not sure whether adjusting the restitution_coefficient will produce moderate contact force (will try later). Since ignition gazebo is using DART, I use the "soft_contact" tag and set the "stiffness" and "damping" tag in t_dart.sdf following the instruction in http://sdformat.org/spec?ver=1.6&elem=collision#surface_soft_contact. Why these two parameters still do not work? |
I have been looking into this since I need to do something similar to the quote above. I attempted to add support for soft contact/soft body myself. |
Is there any progress or schedule on this? |
There's an open issue (gazebosim/gz-physics#222) for this, but there hasn't been any progress. There's also a related issue (gazebosim/gz-physics#44) for bullet. If you are interested in contributing, there's some guidance here
This is not currently on our roadmap, but we'd be glad to review contributions from the community. |
Environment
binary: ignition gazebo (Fortess) 6.11.0, gazebo 11.10.2.
Description
in the sdf, there are two boxes. I changed the contact attribute as follows:
there will be some bouncing and penetration when the small box falls upon the bigger one.
the bouncing and penetration appears in class gazebo 11.10.2, but not in ignition gazebo (Fortess) 6.11.0
Steps to reproduce
load the sdf (file link) by:
ign gazebo t.sdf (video link)
gazebo t.sdf (video link)
The text was updated successfully, but these errors were encountered: