Before a URDF file from onshape-to-robot can be imported into MuJoCo, a few changes should be made to it’s structure to enable all needed functionalities.
This is the XML element that we currently insert at the beginning of every URDF before loading it into MuJoCo.
...