Error: repeated name in mesh array while converting URDF
Hello everyone,
I am trying to convert a URDF to XML using the compile program. I am getting this error though:
Error: repeated name in mesh array, position 31
Object name = hip-pitch1, id = 31
which, I guess, originates from the fact that the same mesh is used in multiple places. Indeed, the robot has four "hip pitch" links, each one containing both visual and collision description. Collision meshes are specified as <mesh-dir>/collision/hip-pitch.stl, whereas visual meshes as <mesh-dir>/hip-pitch.stl, and the scale attribute is used to flip the meshes left-to-right.
I think this is common practice to avoid mesh duplication (the robot has four identical legs!) How should I deal with this situation?
Thanks!
This could be considered a bug. MuJoCo currently strips the path from filenames internally leading to these unwanted collisions. We hope to fix this soon. In the meantime, please rename your meshes.
Is this bug fixed ? I have the same error on 2.35 with no other obvious reason than the same mesh used multiple times
Does setting the strippath attribute to "false" not solve this?
Closing for now.
Have you guys solved this problem? I have the same issue even setting the strippath attribute to "false"