Problems in building a map after playing intel.bag file while executing Gmapping??????
I have created the bag files successfully from intel.clf dataset, now after running roscore rosparam set use_sim_time true rosrun gmapping slam_gmapping scan:=laser rosbag play intel.bag
[ WARN] [1478603677.898065363]: Failed to compute laser pose, aborting initialization ("base_link" passed to lookupTransform argument target_frame does not exist. )
Even in the Rviz window it is not showing map building process, further after executing rosrun map_server map_saver it is showing "Waiting for Map" and it is waiting indefinitely. Please help to solve the problem. Thank you
If with "the same code" you mean the gist posted by @Martin Günther in this question, then please include any error messages you are seeing. Otherwise it's going to be very hard to help you.
The bag files are created but when I am running rosrun gmapping slam_gmapping scan:=laser and rosbag play intel.bag, it is showing this warning message
And along with that I cannot see the map building process in Rviz also, it is showing a black screen with a grid, without any map building process going on.
This the warning message associated with the 2nd comment.
Still no warning message. Is there a character in there preventing it from being displayed? Maybe an angle bracket?
There is actually no error or warning msg in the OP. @rimital: please include the error or warning that you are seeing. Without that, I'm doubtfull we can help you.
I am sorry ,the warning message may be for some reason didnot get pasted, anyways it is given in the last comment.It is being displayed in the terminal where the gmapping process is executing..
So to summarise: the script posted by @Martin Günther appears to work fine, but you are having problems after conversion and while playing back the bag using
rosbag
?