ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Why turtlebot's SLAM failed to connect kinect devices?

asked 2012-03-29 22:03:12 -0600

sam gravatar image

updated 2016-10-24 09:00:17 -0600

ngrennan gravatar image

I followed turtlebot_navigationTutorials/Build a map with SLAM.

I run

  roslaunch turtlebot_gazebo turtlebot_empty_world.launch 
  roslaunch turtlebot_navigation gmapping_demo.launch
  rosrun rviz rviz -d `rospack find turtlebot_navigation`/nav_rviz.vcg

My picture

image description

1.Why gmapping_demo.launch show the following errors?

 [kinect_laser-5] process has died [pid 5081, exit code 255].
 log files:      /home/sam/.ros/log/a9394afe-7a3a-11e1-80c7-20cf30a23845/kinect_laser-5*.lo     g
 respawning...
 [kinect_laser_narrow-6] process has died [pid 5082, exit code 255].
 log files:      /home/sam/.ros/log/a9394afe-7a3a-11e1-80c7-20cf30a23845/kinect_laser_narro     w-6*.log
 respawning...
 [kinect_laser-5] restarting process
 process[kinect_laser-5]: started with pid [5164]
 [kinect_laser_narrow-6] restarting process
 process[kinect_laser_narrow-6]: started with pid [5165]
 [ INFO] [1333093802.058772919, 3780.477000000]: [/openni_camera] No      devices connected.... waiting for devices to be connected
 [ INFO] [1333093802.110550126, 3780.544000000]: Still waiting on map...

 [kinect_laser-5] process has died [pid 5164, exit code 255].
 log files:      /home/sam/.ros/log/a9394afe-7a3a-11e1-80c7-20cf30a23845/kinect_laser-5*.lo     g
 respawning...
 [kinect_laser_narrow-6] process has died [pid 5165, exit code 255].
 log files:      /home/sam/.ros/log/a9394afe-7a3a-11e1-80c7-20cf30a23845/kinect_laser_narro     w-6*.log
 respawning...
 [kinect_laser-5] restarting process
 process[kinect_laser-5]: started with pid [5248]
 [kinect_laser_narrow-6] restarting process
 process[kinect_laser_narrow-6]: started with pid [5249]

2.How to build a map on RViz?

Thank you~

edit retag flag offensive close merge delete

Comments

deleted ...

Atom gravatar image Atom  ( 2012-05-31 18:05:33 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2012-05-31 18:06:53 -0600

Atom gravatar image

updated 2012-05-31 18:24:56 -0600

I believe the tutorial you are using is for running turtlebot in real world applications. So when you run Gmapping it is trying to access a real kinect sensor and if you have not connected one to your machine it will not be able to run gmapping. Or maybe its due to this problem http://answers.ros.org/question/12869/building-a-map-with-slam-using-turtlebot-in-gazebo/.. Hope this helps..

edit flag offensive delete link more

Comments

tfoote gravatar image tfoote  ( 2012-06-17 07:38:47 -0600 )edit

Question Tools

Stats

Asked: 2012-03-29 22:03:12 -0600

Seen: 998 times

Last updated: May 31 '12