Elements not obeying gravity #2260
Replies: 5 comments 5 replies
-
@quagla can you take a look? My guess is that you have strong constraint forces that are somehow "leaking" into the dof forces (i.e. not obeying Newton's 1st law). |
Beta Was this translation helpful? Give feedback.
-
Here are more simulations showing the same faulty behaviour: example.zip. |
Beta Was this translation helpful? Give feedback.
-
@Nick20500, could you re-render your video with contact force visualization? ('F' key in simulate) |
Beta Was this translation helpful? Give feedback.
-
I would suggest to use pinning instead of constraints if you don't have kinematic loops. It seems to me that the only loop in the chair is the back rest, so you can use a constraint for that one. |
Beta Was this translation helpful? Give feedback.
-
Also, your parts are all colliding with each other, so you have to manually exclude the collision pairs between the parts that are meant to be glued to one another. |
Beta Was this translation helpful? Give feedback.
-
Intro
Hi!
I am a undergrad student at ETH Zurich, I use MuJoCo for my research on Multimaterial deformable objects.
My setup
I use MuJoCo 3.2.5 with python bindings.
My question
I'm trying to simulate a chair dropping to the ground.
The chair is segmented in its parts its made of and each segment is a flexcomp element element and gets a diffrent youngs modulus assigned to.
In order for the segments of the object to really behave as a one object, I use equality constraints. These are in the ec.xml.
When simulating this scenario, not every part of the chair behaves as it should. As seen here in the video one corner seems not to be affected by gravity.
I can't figure out, why such behaviour would occur. Is there an error in my code? Is there a bug in mujoco?
Thank you very much for your time and help.
Minimal model and/or code that explain my question
The corresponding example with all necesseary files you can find here:
mujoco_error_example.zip
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions