webots
webots copied to clipboard
Possible mesh path bug when converting proto to nodes
Hello, I used urdf2proto to get a proto file from this urdf file that relies on some mesh files. The generated proto file references the meshes using an absolute path: /home/redux/webots/mearm/protos/mearm_model/meshes/base.stl
After adding the proto file to the stage, the robot renders fine with all meshes:
But after converting the proto to nodes, the meshes disappear, even though the paths are the same
Reselecting the paths manually seems to fix the problem.
Here is my full directory structure:
Thank you.
System Ubuntu 22.04, WeBots R2023B
Mearm.proto needed to be one directory up (protos/Mearm.proto). With this change it works :sweat_smile: