# How to get the Turtlebot2 Gazebo simulation to produce Scan data

My Turtlebot2 Gazebo simulation is not able to produce Scan data.

Steps to produce the problem:

roslaunch turtlebot_gazebo turtlebot_world.launch
rostopic echo /scan


As soon as I ran the “rostopic echo /scan” the turtlebot_gazebo node crashed. This is the error output:

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)


I’m working towards learning about the scan messages and Lidar data so I need the simulation to work. I would appreciate any advice to help me resolve this issue. System info:

Ubuntu 16.04
ROS Kinetic
Gazebo 7
Installed Turtlebot 2 based on Indigo install, but replaced with kinetic


.

• perhaps the reason why you are not getting any responses is because you asked a question that a user would ask ...... a programmer` would ask how to prevent the turtlebot_gazebo node from crashing – jsotola Jan 30 at 1:54
• At this point I am a user. This is a configuration issue. – Scott Jan 30 at 6:20