Sliding box behavior #2633
Unanswered
Pierre-Terdiman
asked this question in
Asking for Help
Replies: 3 comments 14 replies
-
Hi! Can you please add an XML MRE that we can use as a reference for the discussion? Thanks |
Beta Was this translation helpful? Give feedback.
5 replies
-
Alright the system does not let me upload XML files either but it lets me upload zipped XML files so here it is. |
Beta Was this translation helpful? Give feedback.
0 replies
-
While this is being investigated, a couple recommendations for more stable sliding with this example I found by playing around with it:
|
Beta Was this translation helpful? Give feedback.
9 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.
-
Intro
Hello, I am interested in physics engines and starting to learn MuJoCo.
My setup
MuJoCo 3.2.2, C API, Windows
My question
I create a simple low-friction box on an inclined plane. The expected behavior would be that the box slides smoothly all the way to the bottom. The observed behavior is that the box starts jumping, no matter what options I try.
Best I could find so far was reducing the timestep, but even at 500 Hz the box ultimately starts jumping.
My questions:
(Note: the behavior is even more dramatic on a horizontal plane when the box is given an initial horizontal linear velocity, in which case you get a strong jump that does not look plausible at all. I could try that in code and I can post a video of it, but I do not know how to apply the initial velocity in the XML yet).
Not filled as a bug since maybe it's just me doing something wrong.
Thank you.
Minimal model and/or code that explain my question
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions