gazebosim / gazebo-classic

Gazebo classic. For the latest version, see https://github.com/gazebosim/gz-sim
http://classic.gazebosim.org/
Other
1.17k stars 477 forks source link

Error using depth sensor plugin sensor in Gazebo 7 with ROS kinetic #2366

Open osrf-migration opened 6 years ago

osrf-migration commented 6 years ago

Original report (archived issue) by Anonymous.


Hi all!

I am using Ros kinetic, with Ubuntu 16.04. I am running Gazebo 7, trying to use the turtlebot demo (http://wiki.ros.org/turtlebot_gazebo). I ran the simulation using the following command:

$ roslaunch turtlebot_gazebo turtlebot_world.launch

Sadly, the simulation crashes when I am try to read the rgbd sensor data... for example using image_view program. I got the following error:

gzserver: /build/ogre-1.9-mqY1wq/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. Aborted (core dumped) [gazebo-2] process has died [pid 28958, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /opt/ros/kinetic/share/turtlebot_gazebo/worlds/playground.world name:=gazebo log:=/home/jcacace/.ros/log/36b089ba-b996-11e7-b5cd-4ccc6a9b3c41/gazebo-2.log]. log file: /home/jcacace/.ros/log/36b089ba-b996-11e7-b5cd-4ccc6a9b3c41/gazebo-2.log

Thank you!

osrf-migration commented 6 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


are you running gazebo in a virtual machine like vmware?