Replies: 1 comment
-
|
Finally, I found this parameters combination resembling restitution 0.85 well |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In the official brax basics tutorial, a ball bouncing with 0.8 restitution is illustrated, where the pipeline is set as positional. However in generalized or mjx pipeline, the same code can't reproduce the bouncing effect, it just not bounce at all.
I understand the behaviour is expected as in mjx(generalized) pipeline, the elasticity paramters is not respected. Instead, the mujoco docs points out that resitution should be simulated by parameters
solref. For example, resitution 1.0 can be achieve bysolref="-1000 0". But how about a medium resitution like 0.8?I tried some combs but none of it behaviour well. The "best" one is below (from chatgpt) with extra parameters like solimp. But the result divergence in the third bounce.

Click to expand
Beta Was this translation helpful? Give feedback.
All reactions