I record a data.bag using Hokuyo Laser.
Then, i use the commad: rosparam set use_sim_time true; rosrun gmapping slam_gmapping scan:=scan
After that, rosbag play --clock data.bag
Using rosbag info , i obtain
thiem@thiem-K42JY:~/catkin_ws$ rosbag info data.bag
path: data.bag
version: 2.0
duration: 2:48s (168s)
start: Dec 08 2016 09:06:14.93 (1481184374.93)
end: Dec 08 2016 09:09:03.80 (1481184543.80)
size: 59.2 MB
messages: 25319
compression: none [79/79 chunks]
types: sensor_msgs/LaserScan [90c7ef2dc6895d81024acba2ac42f369]
tf2_msgs/TFMessage [94810edda583a504dfda3829e70d7eec]
topics: /scan 6743 msgs : sensor_msgs/LaserScan
/tf 18576 msgs : tf2_msgs/TFMessage (2 connections)
But, there is a problem: slam_gmapping dose not print out diagnostic information. So, I can not create a map
Please, help me and show me how can i fix it
↧