Gazebo for two launch files cannot simultaneously run? gazebo-1 error
Before this gets marked as a duplicate of http://answers.gazebosim.org/question... , I tried everything in that question and the comments only allow me to post so much text. I am just trying to make a map and navigate it in the Gazebo. I am running Ubuntu 15.10 and ROS Kinetic. I run these in separate terminal windows:
roslaunch turtlebot_gazebo turtlebot_world.launch
roslaunch turtlebot_gazebo gmapping_demo.launch
roslaunch turtlebot_rviz_launchers view_navigation.launch
roslaunch kobuki_keyop keyop.launch
But I my kobuki_keyop does not work, giving me:
[ WARN] [1550005269.894992827]: KeyOp: could not connect, trying again after 500ms...
[ERROR] [1550005270.400225747]: KeyOp: could not connect.
[ERROR] [1550005270.400604286]: KeyOp: check remappings for enable/disable topics).
I then check the roslaunch turtlebotgazebo turtlebotworld.launch terminal window, and see the following error:
gzserver: /build/ogre-1.9-VJX7tp/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 5190, 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/tony15/.ros/log/534c6c66-2ef1-11e9-854a-080027d85737/gazebo-1.log].
log file: /home/tony15/.ros/log/534c6c66-2ef1-11e9-854a-080027d85737/gazebo-1*.log
Upon further inspection, it seems that if I roslaunch turtlebotgazebo turtlebotworld.launch, then as soon as I roslaunch turtlebotgazebo gmappingdemo.launch, the turtlebotworld.launch receives the previous error (which then explains why the kobukikeyop doesn't work).
turtlebot_world.launch works completely fine on it's own.
turtlebotworld.launch and kobukikeyop work fine when both running.
Does anyone know why my turtlebotworld.launch and gmappingdemo.launch / turtlebotrvizlaunchers can't seem to run at the same time?
Asked by ahumay on 2019-02-13 13:45:34 UTC
Comments
"Before this gets marked as a duplicate of http://answers.gazebosim.org/question.. ," contains a broken link to "http://answers.gazebosim.org/question.."
Asked by josephcoombe on 2019-02-14 09:50:42 UTC
@josephcoombe my apologies! http://answers.gazebosim.org/question/4153/gazebo-crashes-immediately-using-roslaunch-after-installing-gazebo-ros-packages/
Asked by ahumay on 2019-02-15 22:50:02 UTC
@ahumay No problem. Tip: you should be able to edit your question if you want to change the link directly.
Asked by josephcoombe on 2019-02-18 10:50:43 UTC