Gazebo cannot start with camera

asked 2015-12-14 10:41:11 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi, when I try to load any world with a camera I find this error:

$ gazebo --verbose worlds/camera.world
Gazebo multi-robot simulator, version 6.1.0
Copyright (C) 2012-2015 Open Source Robotics Foundation.
Released under the Apache 2 License.
http://gazebosim.org
[Msg] Waiting for master.
Gazebo multi-robot simulator, version 6.1.0
Copyright (C) 2012-2015 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: 10.149.29.249
[Msg] Connected to gazebo master @ http://127.0.0.1:11345
[Msg] Publicized address: 10.149.29.249
gzserver: /build/ogre-1.9-VJX7tp/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreRenderSystem.cpp:546: virtual void Ogre::RenderSystem::setDepthBufferFor(Ogre::RenderTarget*): Assertion `bAttached && "A new DepthBuffer for a RenderTarget was created, but after creation" "it says it's incompatible with that RT"' failed.
[Err] [Connection.cc:539] Connection[16] Closed during Read
[Err] [TransportIface.cc:374] Unable to read from master
[Err] [GLWidget.cc:822] Unable to connect to a running Gazebo master.*

Please I need help, I don't know how to solve this problem, I could reinstall Gazebo but I would need to know a Gazebo version I can use with camera.

Thanks for your time!

R

edit retag flag offensive close merge delete

Comments

Does an empty world work for you?

AndreiHaidu gravatar imageAndreiHaidu ( 2015-12-14 15:25:15 -0600 )edit

Which operative system and version are you using? GPU?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2015-12-17 10:11:25 -0600 )edit

Same problem here. Gazebo 6.1.0 on Ubuntu 15.10 with Intel Ironlake Mobile graphics. Empty world works but as soon as I insert a camera, I get the error.

Dean Brettle gravatar imageDean Brettle ( 2016-01-08 18:56:20 -0600 )edit

any solution to this problem yet?

gapal gravatar imagegapal ( 2016-08-10 03:38:56 -0600 )edit

For me the same problem on Virtual Machine with Ubuntu 16.04 and Gazebo 7. Any solutions?

eed gravatar imageeed ( 2017-04-10 05:32:58 -0600 )edit

Please be sure of using gazebo 7.4.0 or later. There was an issue related to ogre in VM https://bitbucket.org/osrf/gazebo/issues/1837/vmware-rendering-z-ordering-appears-random

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2017-11-29 05:09:23 -0600 )edit