You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am a graduate student at HKU, I use MuJoCo for my research on robotic manipulation.
My setup
MuJoCo 3.3.0, Python and C, Linux
What's happening? What did you expect?
By having an unrelated and unused <geom density="0" /> default entry (density attribute is necessary here), the model compilation becomes non-idempotent — it throws error Error: eigenvalue of mesh inertia must be positive: a on the second invocation.
Steps for reproduction
Run snippet below.
Minimal model for reproduction
No response
Code required for reproduction
importmujocospec=mujoco.MjSpec.from_string("""<mujoco> <default> <geom density="0" /> <mesh/> </default> <asset> <mesh name="a" vertex="0 0 0 1 0 0 0 1 0 0 0 1" scale="10 10 10" /> </asset> <worldbody/></mujoco>""")
model=spec.compile()
model=spec.compile() # Error: eigenvalue of mesh inertia must be positive: a
Intro
Hi!
I am a graduate student at HKU, I use MuJoCo for my research on robotic manipulation.
My setup
MuJoCo 3.3.0, Python and C, Linux
What's happening? What did you expect?
By having an unrelated and unused
<geom density="0" />
default entry (density attribute is necessary here), the model compilation becomes non-idempotent — it throws errorError: eigenvalue of mesh inertia must be positive: a
on the second invocation.Steps for reproduction
Run snippet below.
Minimal model for reproduction
No response
Code required for reproduction
Confirmations
The text was updated successfully, but these errors were encountered: