Replies: 2 comments 4 replies
-
|
I also encountered a similar issue trying to simulate a Robotiq gripper mounted on a ur5e robot. I used the xml provided here that uses the assets from the MuJoCo Menagerie. The full assets can be found in ur5e_2f85.zip for convenience. When the |
Beta Was this translation helpful? Give feedback.
-
|
I traced this issue by comparing the MuJoCo and MuJoCo Warp source code. In native MuJoCo, In MuJoCo Warp, def step(m: Model, d: Data):
# TODO(team): mj_checkPos
# TODO(team): mj_checkVel
forward(m, d)
# TODO(team): mj_checkAccSo when the solver produces a bad The attached repro script shows this: both backends hit the same instability at DOF 6, but native MuJoCo autoresets while MuJoCo Warp diverges to NaN. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Context:
I'm simulating a gripper model with:
generalactuators withbiastype="affine"on the tendonThis setup runs in native MuJoCo (with a warning about instability at DOF 6, but it recovers). However, in MJWarp the simulation explodes to NaN.
Questions:
Why is this configuration numerically unstable? Is it the combination of tendon + affine, or something about the D6 base joint?
What's the recommended way to set up tendon actuators for GPU simulation? Should I avoid
biastype="affine"on tendons?Minimal Reproduction:
repro_mjwarp_tendon_affine_bug.py
Attached is a script that demonstrates the issue - native MuJoCo passes, MJWarp fails.
Environment:
Beta Was this translation helpful? Give feedback.
All reactions