turtlebot sim crashes on subscribing to any topic

asked 2017-11-19 16:49:13 -0600

inani47 gravatar image

First I run the turtlebot run launch file from the terminal:

    $ roslaunch turtlebot_gazebo turtlebot_world.launch

Then in a new terminal:

     $ rostopic echo /scan

As soon as I subscribe to the /scan topic i get 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-1] process has died [pid 21624, 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/pranav/.ros/log/f18cc0fc-ccc2-11e7-9a30-9cb6d0e527e7/gazebo-1.log].

log file: /home/pranav/.ros/log/f18cc0fc-ccc2-11e7-9a30-9cb6d0e527e7/gazebo-1*.log

edit retag flag offensive close merge delete


Which operative system, graphic card, Gazebo vesion and ROS version are you using? Are you running it from a virtual machine?

Jose Luis Rivero gravatar imageJose Luis Rivero ( 2017-11-23 14:57:24 -0600 )edit

I'm having the same issue, using Ubuntu 16.04 on ROS kinetic using Gazebo version 7.0.0 on a VirtualBox

Void gravatar imageVoid ( 2018-05-09 12:15:55 -0600 )edit