Strange physics with humanoid model floor contact #417
Replies: 3 comments
-
Hi @areiner222 , can you link to a gif or video? I suspect this may be a similar issue to this: #396 (comment) Which physics backend are you using? |
Beta Was this translation helpful? Give feedback.
-
Hi @btaba , I think this was an issue on my end. I'm using the generalized physics backend, but, for a variety of reasons, I am building the System manually instead of directly referencing a MJCF file. However, I am still using mujoco to initialize my inertias etc and was erroneously assigning the inertias to links due to ordering of the links in code vs in mujoco structures. Once I fixed the mismatch, the simulation begins to look more realistic. However, I'm finding the simulation steps to still be slower than my use case requires due to the projected gradient solver, and so I'm looking forward to the updates you have planned there! p.s. I've actually done away with relying on mujoco and instead use a jax implementation of trimesh's mass_properties for my (preprocessed, convex) mesh geometries |
Beta Was this translation helpful? Give feedback.
-
Hi @areiner222 , thanks for the update. Have you tried messing with solver |
Beta Was this translation helpful? Give feedback.
-
I'm seeing some strange motion when simulating a humanoid system. I've enabled only body-floor contact and the initial foot contact and resulting motion under gravity alone doesn't appear natural.
The model has some complex geometries and it's tricky to encapsulate the code here for full repro, so I've attached a serialized system and example trajectory.
Let me know if there is any other way I could help demonstrate the issue.
humanoid.json.zip
Beta Was this translation helpful? Give feedback.
All reactions