-
Notifications
You must be signed in to change notification settings - Fork 883
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
Equality constraint bounciness #278
Comments
Hi, Thanks for the screen capture! Short short version: reduce |
Thanks @yuvaltassa the bounciness is gone, but there is contact penetration between the links. The simulation seems much slower, perhaps due to the lower timestep. If the collision velocity is high, seems like the contact is not detected easily. Perhaps, the easiest method is by defining joint max and min range. <mujoco>
<option gravity="0 0 0" timestep="0.0001" />
<equality>
... solref="0.0002 1"
</equality>
</mujoco> contact-penetration-mujoco.mp4 |
Well, the contacts of course also have solver parameters. Try reducing solref for your geoms, perhaps with a default clause: <default>
<geom solref="X 1"/>
</default> I am guessing that the slowness indeed comes from lowering the timestep too aggressively. Once you've increased the contact stiffness as above and are happy with the behaviour, you should try increasing the timestep back again. As a side note, we are well aware that MuJoCo's default solver parameters are too soft for most use cases. However changing default values is not something that can be done without breaking existing models. We hope to introduce some form of versioning in the near future that would allow the user to achieve this result with less tinkering. |
How to eliminate equality constraint's bounciness?
equality.constraint-.bouncing.problem.mp4
MJCF file
The text was updated successfully, but these errors were encountered: