Problems in building a map after playing intel.bag file while executing Gmapping??????

asked 2016-11-07 03:44:57 -0600

user_123 gravatar image

updated 2016-11-09 03:53:06 -0600

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

edit retag flag offensive close merge delete

Comments

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.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-07 04:17:32 -0600 )edit

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

user_123 gravatar image user_123  ( 2016-11-08 01:05:44 -0600 )edit

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.

user_123 gravatar image user_123  ( 2016-11-08 01:06:12 -0600 )edit

This the warning message associated with the 2nd comment.

user_123 gravatar image user_123  ( 2016-11-08 03:41:37 -0600 )edit

Still no warning message. Is there a character in there preventing it from being displayed? Maybe an angle bracket?

TinyTheBrontosaurus gravatar image TinyTheBrontosaurus  ( 2016-11-08 09:04:09 -0600 )edit

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.

gvdhoorn gravatar image gvdhoorn  ( 2016-11-08 10:52:35 -0600 )edit

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..

user_123 gravatar image user_123  ( 2016-11-08 23:28:26 -0600 )edit

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?

gvdhoorn gravatar image gvdhoorn  ( 2016-11-09 01:39:34 -0600 )edit