Frozen on waiting for the map.. (slam_gmapping)

asked 2020-06-01 01:02:18 -0500

Osman gravatar image

updated 2020-06-01 03:58:42 -0500

So I am following this tutorial

http://wiki.ros.org/slam_gmapping/Tut...

But everytime I reach the last step, it just freezes on waiting for the map. I already checked all the previous fixes that people suggested but none work.

I can't upload images for some reason, but when I do rosbag info (my file) I get the following:

topics: /scan 1040 msgs /tf 2494 msgs /tf_static 1 msg

Also when I do rostopic echo /clock it says "are you sure clock is being published?" Can someone help, none of the tutorials I found online mention anything about this problem..

Note: when I do rostopic info /tf_static or rostopic info /clock both show that they have no publishers

Edit1: I think I narrowed down the issue to /clock not having any publishers. That is happening despite the fact that I am using the --clock option when running rosbag play. (I already tried decompressing my bag file but the issue keeps on happening).

edit retag flag offensive close merge delete