Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to proceed when gazebo faills to load world?

Hi, I'm noob. My goal is to run a plane in gazebo and record the response to simulated step inputs. However, I get stuck right away.

If I run gazebo by itself, that works

$ gazebo --verbose
Gazebo multi-robot simulator, version 9.19.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.19.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.203
[Msg] Loading world file [/usr/share/gazebo-9/worlds/empty.world]
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.203

Running gazebo with a world produces no output

$ gazebo --verbose worlds/iris_arducopter_runway.world
Gazebo multi-robot simulator, version 9.19.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
Gazebo multi-robot simulator, version 9.19.0
Copyright (C) 2012 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org

[Msg] Waiting for master.
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 192.168.1.203
Warning [parser.cc:759] XML Attribute[xmlns:xacro] in element[sdf] not defined in SDF, ignoring.
[Msg] Loading world file [/usr/share/gazebo-9/worlds/iris_arducopter_runway.world]
[libprotobuf FATAL ./google/protobuf/repeated_field.h:1453] CHECK failed: (n) >= (0): 
terminate called after throwing an instance of 'google::protobuf::FatalException'
  what():  CHECK failed: (n) >= (0): 
[Err] [Connection.cc:546] Connection[0] Closed during Read
[Err] [ConnectionManager.cc:135] Unable to read from master
[Err] [gazebo_shared.cc:77] Unable to initialize transport.
[Err] [gazebo_client.cc:56] Unable to setup Gazebo

Check for file iris_arducopter_runway.world

$ sudo find / -name iris_ardu*.wo1rld -print
/usr/share/gazebo-9/worlds/iris_arducopter_runway.world
/usr/share/gazebo-9/worlds/iris_arducopter_demo.world
/usr/share/gazebo-9/worlds/iris_arducopter_cmac.world

What should I do?