Robotics StackExchange | Archived questions

All files that define gazebo model path

I am with a problem that was to be easy to solve, nevertheless it is requiting considering time. My problem is:

Where exactly gazebo declares the model path variable. I found the same question and a good answer here.

But, for my case, it not explain all the model paths that are showed by Gazebo in its Insert window when it is ran in my computer.

I just can not explain the origin of the last path that appears, which has the address: /home/nut/modeleditormodels.

I will be glad for any help.

Ps.: I using tha gazebo 7.0.

Asked by randerson on 2018-12-18 12:35:54 UTC

Comments

Answers

Local paths come from:

  • The GAZEBO_MODEL_PATH environment variable, which is usually set by sourcing the setup.sh script , but is often incremented in several other ways.
  • The [model_paths] item in ~/.gazebo/gui.ini (this is how ~/model_editor_models and ~/building_editor_models are usually added)
  • The ~/.gazebo/models path is always checked

Online paths come from:

  • The GAZEBO_MODEL_DATABASE_URI environment variable, which defaults to http://models.gazebosim.org
  • If you have Fuel Tools enabled, the list of servers in ~/.ignition/fuel/config.yaml

Asked by chapulina on 2018-12-18 13:02:21 UTC

Comments