Skip to content

Instantly share code, notes, and snippets.

@awesomebytes
Last active January 7, 2022 15:20
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save awesomebytes/982166e825aa23ecdaf9acf34fa0a330 to your computer and use it in GitHub Desktop.
Save awesomebytes/982166e825aa23ecdaf9acf34fa0a330 to your computer and use it in GitHub Desktop.
Get gazebo models for first run after install

How to get the gazebo models after initial install

If you try to run gazebo for the first time, at least in Ubuntu 14.04 with ROS Indigo you'll get the annoying messages:

Warning [gazebo.cc:215] Waited 1seconds for namespaces.
Error [gazebo.cc:220] Waited 11 seconds for namespaces. Giving up.
Error [Node.cc:90] No namespace found

And you won't have a model for the sun and the ground_plane (really OSRF??).

To fix that just download the models and extract them in ~/.gazebo/models.

That's a 380MB download, approx.

You could also do:

mkdir -p ~/.gazebo
hg clone https://bitbucket.org/osrf/gazebo_models ~/.gazebo/models

But that's gonna be like 750MB as it has the history of the repo.

I ended up on my own README after having the same problem trying to use the Pepper simulation, when I control+C'ed I got the error:

URI doesn't exist[model://robocup09_spl_field/materials/scripts/]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment