Hi! This must be a pretty basic mujoco question. I would like to create environments where robots collide with solid objects. For example with the following xml schema I am defining a very simple robot and building a t-maze using capsules. My expectation was that by setting the contype and consaffinity to 1 for both torso and walls and having a high friction for walls should ensure that the robot bounces back when it hits a wall. Instead it just passes through, as I show in the gif.
Hi! This must be a pretty basic mujoco question. I would like to create environments where robots collide with solid objects. For example with the following xml schema I am defining a very simple robot and building a t-maze using capsules. My expectation was that by setting the contype and consaffinity to 1 for both torso and walls and having a high friction for walls should ensure that the robot bounces back when it hits a wall. Instead it just passes through, as I show in the gif.
Another example is just putting a capsule in the worldbody of the ant xml file:
This leads to the same dynamic, the ant goes through the capsule.
Increasing the friction above 10 makes the html video crash.