Home | Tutorials | Wiki | Issues
Ask Your Question

What is a simple way to run Gazebo with no graphics?

asked 2012-12-19 22:31:34 -0500

cga gravatar image

I want to run Gazebo without the X11 window it creates.

If I am simulating vision, I still need to run OGRE to generate images.

Thanks, Chris

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2012-12-19 23:39:56 -0500

scpeters gravatar image

We plan on adding a tutorial for this, but in the meantime, here's a quick explanation. When you launch gazebo, there are two programs that are run: gzserver and gzclient. The program gzserver does all the simulation, even rendering for camera simulation. The interactive window is opened by gzclient.

To open a specific world, type gzserver specific.world.

edit flag offensive delete link more


I'm still a couple of versions back, but you'd also need to make sure that you've set the DISPLAY environment appropriately if you're not directly using the console..

SL Remy gravatar imageSL Remy ( 2012-12-21 00:47:29 -0500 )edit

answered 2012-12-26 18:52:37 -0500

PMilani gravatar image

If you're running the ROS version of Gazebo and using launch files, then I suggest modifying your launch file and commenting out the line regarding the Gazebo gui. Then only the gzserver part of gazebo will launch

edit flag offensive delete link more


This worked for me. Thanks. Funny that a tutorial was in the planning back in 2012 and this question is still the first to appear in a simple google search

shaihi gravatar imageshaihi ( 2018-01-11 15:46:24 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2012-12-19 22:31:34 -0500

Seen: 2,079 times

Last updated: Dec 26 '12