Gazebo for two launch files (turtlebot_world.launch and gmapping_demo.launch) cannot simultaneously run?
Before this gets marked as a duplicate of http://answers.gazebosim.org/question/4153/gazebo-crashes-immediately-using-roslaunch-after-installing-gazebo-ros-packages/, 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:
[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 17:54:27 UTC
Comments