Closed amdee closed 1 year ago
Hi @amdee thanks for using brax! If the runtime error is because you added a cylindrical shape to brax on your branch, then you would either have to [1] turn off collisions for that shape using contype
conaffinity
in the XML, or [2] implement the collision pair that is throwing the error. To implement the collision, here's the code reference for where that happens:
https://github.com/google/brax/blob/1d5fbd7cdc71708e8549e34a0aa485e7dc8a460c/brax/geometry/contact.py#L446
@erikfrey for the a1 example in the README
@btaba Thanks for replying. I ended up approximating the cylindrical shape with a Capsule but at one point I ended wanted to implement the collision pair for the cylindrical shape. I will revisit the ideal, thanks for the info.
Hi, I am trying to recreate/create a custom environment using a MuJoCo model as shown in the v2 READMe.md especially unitree a1 robot. My approach was as follows;
Thanks for your help! I am super excited about Brax (especially v2). Once I can recreate the custom environments, I would like to contribute to the documentation.