Can't load any mesh into gazebo
Hi everyone,
i was working on a model in which visual and collision geometry are defined through a .stl file(mesh). Everything was all right since today. Gazebo doesn't load anymore its mesh file. I also noticed that all the models that i can download from bitbucket have the same problem, except that for the ones which are provived with a png texture. I thought it might be a GPU problem, so i reinstalled the video drivers but nothing changed. And of course the terminal doesn't say nothing about errors or issues. Don't really know what to do :/
What Gazebo version are you using? What operating system? Can you run Gazebo in verbose mode to see if any errors show up?
I'm using Gazebo 9.0.0 on Ubuntu 16.04 LTS. I tried to open gazebo in verbose and it says: [Err] [SystemPaths.cc:412] File or path does not exist[""] [Err] [Visual.cc:2824] No mesh specified I checked the path and it was right(relative). So i just tried to use an absolute path and it worked!!! I don't know why it's stopped working, everything was ok with the relative path until yesterday. Thank you very much for your tip :)
Glad to hear you figured it out! Just curious, what was the path relative to? To the `model.sdf` file?
I had this in collision and visual tags: <geometry> <mesh> <uri>file://meshes/chassis.stl</uri> </mesh> </geometry> In the model directory i have: model.sdf, model.config and the directory meshes. It just stopped working, i don't know why. Never touched that part since the first time i loaded the model on Gazebo.