# Revision history [back]

Okay I have a workaround similar to one devised earlier:

sudo gedit /usr/share/gazebo-2.2/setup.sh


well it would look something like this:

export GAZEBO_MASTER_URI=http://localhost:11345
export GAZEBO_MODEL_DATABASE_URI=http://gazebosim.org/models
export GAZEBO_RESOURCE_PATH=/usr/share/gazebo-2.2:/usr/share/gazebo_models
export GAZEBO_PLUGIN_PATH=/usr/lib/i386-linux-gnu/gazebo-2.2/plugins
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/i386-linux-gnu/gazebo-2.2/plugins export OGRE_RESOURCE_PATH=/usr/lib/i386-linux-gnu/OGRE-1.8.0  you must change the "GAZEBO_MODEL_DATABASE_URI" to http://models.gazebosim.org and that's it. Okay I have a workaround similar to one devised earlier: sudo gedit /usr/share/gazebo-2.2/setup.sh  well it would look something like this: export GAZEBO_MASTER_URI=http://localhost:11345 export GAZEBO_MODEL_DATABASE_URI=http://gazebosim.org/models export GAZEBO_RESOURCE_PATH=/usr/share/gazebo-2.2:/usr/share/gazebo_models export GAZEBO_PLUGIN_PATH=/usr/lib/i386-linux-gnu/gazebo-2.2/plugins export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/lib/i386-linux-gnu/gazebo-2.2/plugins
export OGRE_RESOURCE_PATH=/usr/lib/i386-linux-gnu/OGRE-1.8.0


you must change the "GAZEBO_MODEL_DATABASE_URI" to http://models.gazebosim.org and that's it.

I think what it does is it starts looking for namespaces on the website that you mentioned in setup.sh and then, if matched, it fetches the required models.