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 turtlebotworld.launch first and then when i launch the gmappingdemo.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 turtlebotgazebo turtlebotworld.launch works normally. It is happening when I run amcldemo.launch or gmappindemo.launch .
Asked by Harsh2308 on 2017-07-17 02:16:04 UTC
Comments
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.
Asked by allenh1 on 2017-07-18 17:16:21 UTC
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.
Asked by Harsh2308 on 2017-07-27 09:04:12 UTC
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)?
Asked by Harsh2308 on 2017-07-30 08:58:32 UTC
I've been able to do that, and I use Lunar most of the time (and build GMapping/cartographer from source)
Asked by allenh1 on 2017-07-30 17:08:32 UTC
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.
Asked by Harsh2308 on 2017-09-01 07:27:47 UTC