FlexComp use existing mesh #2576
-
IntroHi! I am a graduate student at TUM, I use MuJoCo for my Master's Thesis. My setupMuJoCo 3.3.0, GUI, x86, OpenSUSE 15 My questionI had created a model on OnShape CAD and exported the model as STL, then I have written flexcomp, mesh.. to import the model. What should I do? Minimal model and/or code that explain my questionIf you encountered the issue in a complex model, please simplify it as much as possible (while still reproducing the issue). Model: minimal XML<mujoco>
<worldbody>
<body name="base">
<flexcomp name="trial" type="mesh" file="try.stl" radius="0.001" xyaxes="1 0 0 0 0 1">
<elasticity young="5e4" damping="0.002" poisson="0.2"/>
</flexcomp>
</body>
</worldbody>
</mujoco>
Confirmations
|
Beta Was this translation helpful? Give feedback.
Answered by
quagla
Apr 25, 2025
Replies: 1 comment 5 replies
-
Have you tried reducing the time step or the young modulus? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You are in 2D, so you have to set
thickness
as well inelasticity
in order to compute the actual stiffness of the material. The default value is -1, which causes the simulation to be unstable.