Robotics StackExchange | Archived questions

updating new question of gazebo errors

Hi to all, I'm working with the latest version of gazebo. As I've keep some work from a coworker who was working with the gazebo's next-to-last version I've got an error when I'm trying to launch gazebo's world:

Error [parser.cc:581] Unable to find uri [model://chess_pattern]

Does anyone know how to solve it?

Thanks for all,

JĂșlia

Asked by juliamp on 2016-11-11 12:10:13 UTC

Comments

Answers

When you refer to a model using model://, Gazebo searches for it within the paths defined in the environment variable GAZEBO_MODEL_PATH. You can do env | grep "GAZEBO" to check if you have any paths defined.

If the path is not there, you can set it as follows. Considering that your model's directory is /path/chess_pattern:

export GAZEBO_MODEL_PATH=/path:$GAZEBO_MODEL_PATH

Note that this only works for the current shell (terminal). You can add that line to your ~/.bashrc file so it works for every new terminal.

Asked by chapulina on 2016-11-11 16:26:15 UTC

Comments