Gazebo | Ignition | Community
Ask Your Question
0

Gazebo crashes when inserting Camera (in Virtual Machine with Ubuntu Vivid + ROS Jade)

asked 2015-09-12 21:00:15 -0600

jura gravatar image

updated 2015-09-14 02:00:42 -0600

Gazebo crashes when inserting Camera (in Virtual Machine with Ubuntu Vivid + ROS Jade):

gzserver: /build/buildd/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.

How to solve this issue ?

@ubuntu:~$ gazebo --verbose  
Gazebo multi-robot simulator, version 5.0.1   
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: 192.xxx.yyy
Gazebo multi-robot simulator, version 5.0.1
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: 192.xxx.yyy

[Err] [InsertModelWidget.cc:277] Missing model.config for model

"/usr/share/gazebo-5.0/models/icons"

[Wrn] [Publisher.cc:131] Queue limit reached for topic

/gazebo/default/physics/contacts, deleting message. This warning is printed only once.

gzserver: /build/buildd/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.

gzclient: /build/buildd/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.

@ubuntu:~$
edit retag flag offensive close merge delete

Comments

Can you run gazebo with the --verbose option and post the full console output?

scpeters gravatar imagescpeters ( 2015-09-14 00:48:34 -0600 )edit

@scpeters, I inserted the output of --verbose into the question.

jura gravatar imagejura ( 2015-09-14 01:45:17 -0600 )edit

which VM are you using? Parallels 10 works perfectly for me with gazebo 5 (gazebo 2.2 not so much)

l0g1x gravatar imagel0g1x ( 2015-09-24 14:04:56 -0600 )edit

Hi @I0g1x, I am using VMware Workstation 12 Player.

jura gravatar imagejura ( 2015-09-24 15:11:41 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-04-09 13:00:51 -0600

migelk gravatar image

This is related to z ordering when using camera and gazebo on a virtual machine see this issue for a possible fix.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2015-09-12 21:00:15 -0600

Seen: 7,295 times

Last updated: Sep 14 '15