google-deepmind / google-deepmind/mujoco

How to Preserve Initial Shape of a Flexible Body in MuJoCo Simulation?

Open
#1,750 4 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
C++
Stars
15.2k
Forks
1.8k
Avg merge
10d 16h
Merged PRs (30d)
25

Description

Hi,

I'm a phd student and I'm trying to use MuJoCo for simulating a consignment with flexible packaging and rigid content.

I'm looking for some help with preserving the initial shape of a flexible body in my simulation.

My problem is that the flexible Packaging will not preserve its initial state and instead blows up like a balloon as shown in the attached picture. Is there a possibility to preserve the shape of the body until there is an outer force acting upon it, similar to how it's done in FEM?

![image](https://github.com/google-deepmind/mujoco/assets/120451893/dfa42c77-9b0e-4a61-bc9d-7fca20a0a653)

Here is the XML for my issue:


























The full XML, the Packaging.obj, and Content.stl are in the attached .zip file.

Thank you for your help!

[Consignment.zip](https://github.com/user-attachments/files/15924401/Consignment.zip)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.