SAP Error in MuJoCo Simulation with FlexComp #2320
Unanswered
Guezguezayoub
asked this question in
Asking for Help
Replies: 2 comments 4 replies
-
cc @quagla |
Beta Was this translation helpful? Give feedback.
0 replies
-
Could you please try with |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Intro
Hi everyone,
I am a student at Leibniz University in Germany, currently working on simulating a digit sensor in MuJoCo. The sensor consists of two parts: a rigid base and a flexible component (modeled in green). I’ve developed the model and shared the code below for reference.
My setup
Mujoco 3.2.6
Python 3.12.7
My question
The goal of my simulation is to have a ball fall onto the sensor, causing deformation in the flexible part. However, when I attempt to run the simulation, it fails to start and throws the following error:
mujoco.FatalError: mj_collideFlexSAP: SAP failed.
I suspect the issue might be related to the FlexComp configuration—perhaps I’m missing a parameter or have initialized a value incorrectly. As I’m relatively new to MuJoCo, I’ve been learning a lot recently, but I’m unsure how to debug or resolve this issue effectively.
I’d greatly appreciate any suggestions or ideas on how to address this problem.
Best regards,
Salem
Confirmations
Beta Was this translation helpful? Give feedback.
All reactions