turtlebot_navigation, Tutorials, Build a map with SLAM [closed]

asked 2012-03-05 05:20:10 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi all,

I am new in ROS!

I am trying to do tutorial in: http://www.ros.org/wiki/turtlebot_navigation/Tutorials/Build%20a%20map%20with%20SLAM

I want to rum navigation of thww turtlebot, only, in simulation environment Gazebo, so This what I did:

FIRST: in terminal 1, I imports with wg_world: roslaunch simulator_gazebo wg_world.launch

NO ERROR

SECOND: in terminal 2,I bring turtelbot robot in this simulation environent: roslaunch turtlebot_simulator robot.launch

NO ERROR

THIRD: in terminal 3,I laumch gmapping demo: roslaunch turtlebot_navigation gmapping_demo.launch

ERROR: . . . [kinect_laser-5] process has died [pid 16382, exit code 255]. log files: /home/bkhelifa/.ros/log/7cf0b598-683a-11e1-b3b1-b870f4a01c9f/kinect_laser-5.log respawning... [slam_gmapping-7] process has died [pid 16061, exit code -6]. log files: /home/bkhelifa/.ros/log/7cf0b598-683a-11e1-b3b1-b870f4a01c9f/slam_gmapping-7.log [kinect_laser-5] restarting process process[kinect_laser-5]: started with pid [16467] [kinect_laser_narrow-6] process has died [pid 16443, exit code 255]. log files: /home/bkhelifa/.ros/log/7cf0b598-683a-11e1-b3b1-b870f4a01c9f/kinect_laser_narrow-6*.log respawning... . . .

BY REMOVING Kinect line from the FILE I GOT:

. . . [slam_gmapping-1] process has died [pid 7572, exit code -6]. log files: /home/bkhelifa/.ros/log/7cf0b598-683a-11e1-b3b1-b870f4a01c9f/slam_gmapping-1*.log . . .

FORTH: Run rviz as showed in tutorial: rosrun rviz rviz -d rospack find turtlebot_vigation/nav_rviz.vcg

Thank you in advance

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2014-08-18 16:27:47.172803

Comments

1

...what do you mean "It's not working?" We're going to need details.

Mac gravatar image Mac  ( 2012-03-05 08:17:07 -0500 )edit

Thank you for replying, I have some new detailed above, Best...

jacobsolid gravatar image jacobsolid  ( 2012-03-06 21:57:00 -0500 )edit

All the error messages list log files. What's the content of those?

dornhege gravatar image dornhege  ( 2012-03-07 01:15:03 -0500 )edit

thx, but I could not read the log file (cat /home/bkhelifa/.ros/log/e2b8d972-6908-11e1-9ea6-b870f4a01c9f/slam_gmapping-1*.log) giving: no such file or directory

jacobsolid gravatar image jacobsolid  ( 2012-03-07 22:30:48 -0500 )edit

Replace the * with anything you can find.

dornhege gravatar image dornhege  ( 2012-03-08 00:20:08 -0500 )edit

This what I found there is no slam_gmapping.log diagnostic_aggregator-4-stdout.log kinect_laser-7-stdout.log kinect_laser_narrow-8-stdout.log master.log robot_pose_ekf-6-stdout.log roslaunch-bkhelifa-Aspire-5755G-1897.log roslaunch-bkhelifa-Aspire-5755G-31367.log roslaunch-bkhelifa-Aspire-5755G-73

jacobsolid gravatar image jacobsolid  ( 2012-03-08 23:15:39 -0500 )edit

I am not sure if it is an error, but I have never found the log files that roslaunch mentions...

McMurdo gravatar image McMurdo  ( 2014-07-18 01:54:55 -0500 )edit