ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
First, you need to make sure that you have /map published.
To check it, run:
rostopic list
see that you have /map in the list.
To check /map message published, run:
rostopic echo /map
Next, if you have the /map published but you don't see it in Rviz, then you should have a problem in Rviz setup. If you found that /map is not published, check your gmapping, it might be that you don't have proper /tf or other reasons.