Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hi Idontwan,

As Clement mentioned you only need to add to GAZEBO_MODEL_PATH the path of your model. There is no risk if you modify this variable. When you open a new terminal this variable is reseted. If you want to make this change permanent edit your ~/.bashrc.

You can check the current value of GAZEBO_MODEL_PATH typing:

echo $GAZEBO_MODEL_PATH
/usr/share/gazebo-9/models

then you can add your model path with, you can add as much as paths as you want, you need to split them using :

export GAZEBO_MODEL_PATH=$GAZEBO_MODEL_PATH:<path to your model>

Regards