Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Map gazebo world SLAM

Hi guys! I'm in trouble with creating the map of the willowgarage (i'm using it just for practice). I think that the problem is related to record the laser scan in the bag. I'm following this procedure for the creation of the bag and of the map: 1. roslaunch gazebo_ros willowgarage_world.launch
2. insert the robot in the environment
3. rosbag record -O example /laser_scan

For the creation of the map:
1. roscore
2. rosparam set use_sim_time true
3. rosrun gmapping slam_gmapping scan:=laser_scan
4. rosbag play --clock example
5. rosrun map_server map_saver -f map_example

From executing these commands, at the end, the server is waiting for the map without reaching any result. In the gmapping process, I have warning like:
[ WARN] [1500976433.556165904, 15.058000000]: MessageFilter [target=odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_notifier] rosconsole logger to DEBUG for more information.

[ WARN] [1500976494.043539452, 0.045000000]: Detected jump back in time. Clearing TF buffer.

What is the error in the procedure that I'm following? Thanks!