Robotics StackExchange | Archived questions

gazebo 7 starts black and cannot insert anything

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 gazeboros...)

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?

Asked by ernest417 on 2020-05-02 04:59:45 UTC

Comments

Answers

I found the solution.

According to https://github.com/microsoft/WSL/issues/3368, 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!

Asked by ernest417 on 2020-05-02 22:14:59 UTC

Comments