ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
gmapping's default topic for scandata is "scan". you are using instead "robot/scan". so just remap the topic in your launchfile (i assume you use one):
<remap from="scan" to="robot/scan" />
or in your terminal:
rosrun gmapping slam_gmapping scan:=robot/scan