Gazebo | Ignition | Community
Ask Your Question
0

gazebo 7 starts black and cannot insert anything [closed]

asked 2020-05-02 04:59:45 -0600

Hello. I am sorry if this is rockie mistakes, but I found no solutions so far.

I have encountered a number of problems with gazebo 7 (installed with gazebo_ros packages)

My setup is the following;

  1. Windows 10's Ubuntu 16.04 Xenial bash
  2. Xming
  3. ROS Kinetic (tested fine)
  4. Gazebo 7 (installed witth gazebo_ros_...)

The problem is, when I start gazebo, the gui pops up with the following problems;

  1. The starting window "Preparing your world..." is still on
  2. The gui's scene is black (see attached img)
  3. There is nothing in the WORLD panel (usually there are ground plane and sun light)
  4. When I add some models from the INSERT panel, it only loaded but nothing happened afterward

image description

Here is what I have tried;

  1. run with --verbose. There are two error messages; (1) Queue limit reached for topic /gazebo/default/physics/contact, and (2) time.cc:437 sleep time is larger than clock resolution. (I found no solutions with these errors related to the black screen.)
  2. I tried uninstall and reinstall with gazebo 11 (no ROS packages), everything works fine with gazebo11.
  3. I ran $ gz topic -l and the result is as shown below;

image description

I may have missed something or its the gazebo_ros packages issues.

Can you help me please?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by ernest417
close date 2020-05-02 22:15:34.848851

1 Answer

Sort by ยป oldest newest most voted
0

answered 2020-05-02 22:14:59 -0600

I found the solution.

According to https://github.com/microsoft/WSL/issu..., jbohren-hbr suggested export the gazebo's IP;

$ export GAZEBO_IP=127.0.0.1

The black screen is solved and I can add models and stuff!

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2020-05-02 04:59:45 -0600

Seen: 57 times

Last updated: May 02