Using mujoco.elasticity.solid and attaching two elastic objects to one body #2230
-
IntroHi! My setupPython 3.12.3, Mujoco 3.2.1, Ubuntu 22.04.4 LTS My questionI am using the mujoco.elasticity.solid plugin. Firstly I notice how this elasticity plugin is not in the latest version of mujoco 3.2.4. My first question is why is that so? Should I be using mujoco.elasticity.shell? My second question is I am trying to attach two solid elastic cuboids (see code) to a solid cube and I get the following error: I don't know what is causing this. Can someone help? Minimal model and/or code that explain my question
Confirmations
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
...Well, almost 30mins later I found a solution to the bug 🤦. If you create a new body for each soft part it works. Does not answer my first question though. Also I wonder if you can connect two rigid bodies to one elastic solid. I tried but doesn't seem to work. I think this might be a limitation. |
Beta Was this translation helpful? Give feedback.
-
Hi the answer to the first question is that the solid plugin has now moved to the engine so you don't need a plugin at all :) see https://github.com/google-deepmind/mujoco/blob/main/model/flex/floppy.xml#L33 |
Beta Was this translation helpful? Give feedback.
Hi the answer to the first question is that the solid plugin has now moved to the engine so you don't need a plugin at all :) see https://github.com/google-deepmind/mujoco/blob/main/model/flex/floppy.xml#L33