I'm going to make a Peg-in-hole situation in Mujoco. I want Peg to be a cylinder, and therefore the Hole should be a cylinder shaped too (Cylinder shaped cavity) Can I make a Cylinder-shaped Hole in Mujoco? Maybe a box can have the hole in it and robot can put the peg inside the box through the cylinder shaped hole. Thanks!
You could use a height field for this, it's probably easiest. However, the cylinder will always be 'pixelated'. Alternatively you could use a mesh from an STL file. Though I think collision detected will be a bit rough. Lastly you could create a square hole by using five blocks, one for the base and the four walls. With four more you could create a hexagonal hole.