Ask Your Question

gazebo node arguments list

asked 2012-05-06 23:35:27 -0500

Erwan R. gravatar image

updated 2014-11-22 17:05:25 -0500

ngrennan gravatar image


I'm currently trying to launch simulations headless according to this tutorial, but there is only empty_world_no_x.launch as example showing -r option use.

In my case, I want to simulate Willow Garage world and others with walls to allow a pr2 doing SLAM. I successfully launch empty_world headless and manually spawned the wg walls located in gazebo_world/objects but I would use a launch file. I tried adding -r in the wg_world_paused.launch loaded from pr2_wg_world.launch, but gazebo is quitting, so I guess that other '-s -1 -u' args are conflicting with '-r'. Is there somewhere gazebo node arguments are described, that would allow me to understand what is exactly doing the pr2_wg_wolrd.launch file ?


Edit : Thanks for answering. I try only with -r but still the same error :

gazebo: /tmp/buildd/ros-electric-visualization-common-1.6.2/debian/ros-electric-visualization-common/opt/ros
static Ogre::ResourceGroupManager& Ogre::ResourceGroupManager::getSingleton(): Assertion 'ms_Singleton' failed.
[gazebo-1] process has died [pid 26497, exit code -6].
log files: /home/renaudo/.ros/log/043d1f9c-9819-11e1-9e9a-002219119be4/gazebo-1*.log

The world I try to load is Maybe it is not launchable in headless ?

edit retag flag offensive close merge delete



indeed this is a bug in electric. [patched in kforge gazebo](, will release with [simulator_gazebo 1.4.15]( thanks.

hsu gravatar image hsu  ( 2012-05-07 07:05:32 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-05-07 03:37:08 -0500

DimitriProsser gravatar image

First thing, if you run the following command, it will print help for you:

rosrun gazebo gazebo -h

I don't know why that those options would conflict with headless mode. It's possible that the reason you're having problems is because of the -s -1 option that disables shared memory, but I find that unlikely.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-05-06 23:35:27 -0500

Seen: 11,484 times

Last updated: May 07 '12