Robotics StackExchange | Archived questions

[ignition] Blank window when trying to run shapes.sdf

when I try to run this command ign gazebo shapes.sdf -v 4
I got a blank window. I tried to run a world which uses Ogre1 ign gazebo -v 3 lights.sdf
but the same blank window. I also tried to use the Acropolis but the same issue
this is the output from the terminal when running lights.sdf

[Msg] Ignition Gazebo GUI    v2.16.0
[Msg] Ignition Gazebo Server v2.16.0
[Msg] Loading SDF world file[/usr/share/ignition/ignition-gazebo2/worlds/lights.sdf].
[Msg] Create service on [/world/lights/create]
[Msg] Remove service on [/world/lights/remove]
[Msg] Pose service on [/world/lights/set_pose]
[Msg] Loaded level [3]
[Msg] Serving world controls on [/world/lights/control] and [/world/lights/playback/control]
[Msg] Serving GUI information on [/world/lights/gui/info]
[Msg] World [lights] initialized with [1ms] physics profile.
[Msg] Found no publishers on /stats, adding root stats topic
[Msg] Found no publishers on /clock, adding root clock topic
[Msg] Serving scene information on [/world/lights/scene/info]
[Msg] Serving graph information on [/world/lights/scene/graph]
[Msg] Serving full state on [/world/lights/state]
[Msg] Publishing scene information on [/world/lights/scene/info]
[Msg] Publishing entity deletions on [/world/lights/scene/deletion]
[Msg] Publishing state changes on [/world/lights/state]
[Msg] Publishing pose messages on [/world/lights/pose/info]
[Msg] Publishing dynamic pose messages on [/world/lights/dynamic_pose/info]

when running the shapes.sdf I got similar output adding the same output except this line is added

[GUI] [Dbg] [ign.cc:359] GUI requesting list of world names. The server may be busy downloading resources.     Please be patient.

OS: Ubuntu 18.04
Ignition: Blueprint
OpenGL version string: 4.6.0 NVIDIA 390.116

Asked by Mohamed_Ahmed on 2020-03-28 01:35:30 UTC

Comments

Are any errors / warnings printed which could indicate what's happening?

Asked by chapulina on 2020-03-28 11:27:43 UTC

I edited my question

Asked by Mohamed_Ahmed on 2020-03-28 11:58:17 UTC

While the window is black, could you check ign service -l to see if there's a /gazebo/worlds service? You may need to run the command more than once.

Asked by chapulina on 2020-03-30 11:37:36 UTC

I run the command multiple times but there is no output

Asked by Mohamed_Ahmed on 2020-03-31 01:10:47 UTC

Can you run ign service --versions and see if you have more than one installed? You may have a weird mix of versions and the client is not being able to speak to the server.

Asked by chapulina on 2020-03-31 11:41:00 UTC

here is the output 7.4.0
6.0.0
4.0.0

Asked by Mohamed_Ahmed on 2020-04-01 02:36:37 UTC

Thanks, I see you have Gazebo 9, Ignition Acropolis and Ignition Blueprint installed. It looks like you're having this unresolved issue: https://bitbucket.org/ignitionrobotics/ign-gazebo/issues/38/gazebo-hangs-at-requesting-list-of-world

Asked by chapulina on 2020-04-01 11:55:07 UTC

@chapulina, is there a new link to that unresolved issue? The link appears broken.

Asked by SamG on 2022-07-05 20:39:34 UTC

Answers

Did you try to remove ~/.ignition/gazebo/gui.config ?

Asked by ahcorde on 2020-12-18 14:25:58 UTC

Comments