ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

map_server reads a single map (it is just a picture) and publish it on a topic or via a service.

what you need is

  1. the slam_gmapping node to create a map on base of odometry and laserscan data http://wiki.ros.org/gmapping
  2. map_saver to save the map (served by gmapping)
  3. map_server (to read and publish the saved map) and amcl (to localize your robot in the map) http://wiki.ros.org/map_server

you cant just create a map from longitude and latitude values. please read [1.1 image format] at http://wiki.ros.org/map_server