Robotics StackExchange | Archived questions

Gazebo no window appear

I've installed Gazebo from sources and now trying to launch it

$ gazebo

$ 

That's it! No window appear no matter how long I wait. All the files apper to be on their places. I can run this

$ gazebo -h

gazebo -- Run the Gazebo server and GUI.

`gazebo` [options] <world_file>

Gazebo server runs simulation and handles commandline options, starts a Master, runs World update and sensor generation loops. This also starts the Gazebo GUI client in a separate process.

Options:
  -v [ --version ]              Output version information.
  --verbose                     Increase the messages written to the terminal.
  -h [ --help ]                 Produce this help message.
  -u [ --pause ]                Start the server in a paused state.
  -e [ --physics ] arg          Specify a physics engine (ode|bullet|dart|simbody).
  -p [ --play ] arg             Play a log file.
  -r [ --record ]               Record state data.
  --record_encoding arg (=zlib) Compression encoding format for log data 
                                (zlib|bz2|txt).
  --record_path arg             Absolute path in which to store state data.
  --seed arg                    Start with a given random number seed.
  --iters arg                   Number of iterations to simulate.
  --minimal_comms               Reduce the TCP/IP traffic output by gazebo.
  -g [ --gui-plugin ] arg       Load a GUI plugin.
  -s [ --server-plugin ] arg    Load a server plugin.
  -o [ --profile ] arg          Physics preset profile name from the options in
                                the world file.

So, the executable seems to be working. If I try to load the world

$ gazebo worlds/pioneer2dx.world

$ 

Still nothing. How can I determine what's wrong and fix it?

Asked by SamanthaTraynor65 on 2016-12-08 08:37:59 UTC

Comments

Answers

Have you tried running gazebo --verbose to see if any messages are printed?

The first time you run Gazebo, it downloads some models from the internet, so it may take a while. Try giving it some time?

Asked by chapulina on 2016-12-08 12:37:34 UTC

Comments

Well, I can't check it right now 'cause I'm reinstalling Gazebo, but according to htop Gazebo's process won't even start, I guess it starts and immediately shuts down. I'll try your advice when I get the chance.

Asked by SamanthaTraynor65 on 2016-12-09 03:17:30 UTC