Gazebo gmapping demo launch file kills turtlebot_gazebo turtlebot_world.launch
I am using ROS kinetic with Ubuntu Wily 15.10. I am following the tutorial for navigation as mentioned here- link text.
I run turtlebot_world.launch first and then when i launch the gmapping_demo.launch file, the initial gazebo process dies. This is the output I get -
gzserver: /build/ogre-1.9-ULIy19/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 4232, 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/harsh/.ros/log/8fd3378a-6abe-11e7-9200-2ffd99fd289a/gazebo-2.log].
log file: /home/harsh/.ros/log/8fd3378a-6abe-11e7-9200-2ffd99fd289a/gazebo-2*.log
Note that other times roslaunch turtlebot_gazebo turtlebot_world.launch works normally. It is happening when I run amcl_demo.launch or gmappin_demo.launch .
It appears you are using gazebo 2? If you look here, you'll see that Kinetic is meant to be used with Gazebo 7.x.
Hi, the gazebo version is 7.0.0 only. I don't know what gazebo-2 means. When I ran it just now, it showed gazebo-1 everywhere. However, on running the gazebo is 7.0.0 only.
Should I just install Ubuntu 14.04 with Indigo or is there a way around this? Has anyone able to run kinetic and gazebo/rviz SLAM simulations with Ubuntu 15.10 or 16.04 (Mate)?
I've been able to do that, and I use Lunar most of the time (and build GMapping/cartographer from source)
However I believe I undstnd wat gazebo-2 (or sometimes gazebo-1) means.Roslaunch launches multiple nodes and suffixed number after the node shows (and this is my guess) the order at which it was run.So second node launched'd have prefix 2 and first one as 1.