Open xibeisiber opened 1 year ago
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.
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.
<physics name="1ms" type="ode">
<max_step_size>0.001</max_step_size>
<real_time_factor>1.0</real_time_factor>
</physics>
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 restitution_coefficient
(http://sdformat.org/spec?ver=1.6&elem=collision#bounce_restitution_coefficient)
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
restitution_coefficient
(http://sdformat.org/spec?ver=1.6&elem=collision#bounce_restitution_coefficient)
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 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 have been looking into this since I need to do something similar to the quote above. AFAIK, SDFormat does not parse or even attempt to read the soft_contact element. Furthermore, gz-physics does not use the soft_contact either.
I attempted to add support for soft contact/soft body myself. However, even though my addition to SDFormat seems to parse the soft_contact element correctly, gz-physics does not. I will gladly do a pull request once it is done, if someone is willing to help/guide me a bit.
Is there any progress or schedule on this?
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?
There's an open issue (https://github.com/gazebosim/gz-physics/issues/222) for this, but there hasn't been any progress. There's also a related issue (https://github.com/gazebosim/gz-physics/issues/44) for bullet. If you are interested in contributing, there's some guidance here
Is there any progress or schedule on this?
This is not currently on our roadmap, but we'd be glad to review contributions from the community.
Environment
Description
in the sdf, there are two boxes. I changed the contact attribute as follows:
Steps to reproduce
load the sdf (file link) by: ign gazebo t.sdf (video link) gazebo t.sdf (video link)