Closed lkevinzc closed 4 months ago
Solved. In the xml file, for the floor geom and all the body geom, modify the contype
or conaffinity
such that they are compatible to pass the collision detection filtering.
Ref: [1] https://mujoco.readthedocs.io/en/stable/XMLreference.html#body-geom [2] https://mujoco.readthedocs.io/en/stable/computation/index.html#collision-detection
I am testing the walker2d environment with brax. I provide no action (all-zero vector) and just let the gravity pull the walker down. However, I found the walker body will penetrate the ground, which gives very different physics behaviors from the one with gym.
I'm using the following codes for brax:
and for gym:
Could anyone help to explain why, and give some solutions?