Skip to content

Gazebo Simulation

Brian Keating edited this page Nov 21, 2016 · 7 revisions

Install gazebo as per this page.

Given that I already have a URDF description for ROS, this description is useful.

World models should go somewhere in the path defined by the environmental variable GAZEBO_RESOURCE_PATH. Download models from here and put in ~/.gazebo/models. A good indoor model can then be launched with roslaunch gazebo_ros willowgarage_world.launch.

In general, the idea is to launch gazebo with roslaunch gazebo_ros empty_world.launch and then, in another terminal, spawn the model rosrun gazebo_ros spawn_model -file `rospack find adam_description`/urdf/adam.urdf -urdf -model adam. Add the -z <height-in-meters> to spawn the model in the air (it will fall to the ground).

Clone this wiki locally