ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I consider you have already check the wiki about map_server.
The map_server simply allows you to read a map or create a new one.
To answer your questions :
rosrun map_server map_server your_map.yaml
, you will see that the map_server
reads the informations of the map and publishes on the topics /map
and /map_metadata
only one time.map_server
, it reads a map file. You can store a map when creating one (with gmapping
for example) you can save it to yaml
and a pgm
files using map_saver
. In this case, instead of publishing on the /map
topic it subscribes to it. But if you don't use map_saver
, nothing will be stored.map_saver
but it will only listen to the topic /map
once to generate the map files and then the node ends itself.rosrun map_serer map_saver
multiple times.Unless you directly change the pgm
file the map isn't updated.
Hope i've answered to all your questions.
2 | No.2 Revision |
I consider you have already check checked the wiki about map_server.
The map_server simply allows you to read a map or create a new one.
To answer your questions :
rosrun map_server map_server your_map.yaml
, you will see that the map_server
reads the informations of the map and publishes on the topics /map
and /map_metadata
only one time.map_server
, it reads a map file. You can store a map when creating one (with gmapping
for example) you can save it to yaml
and a pgm
files using map_saver
. In this case, instead of publishing on the /map
topic it subscribes to it. But if you don't use map_saver
, nothing will be stored.map_saver
but it will only listen to the topic /map
once to generate the map files and then the node ends itself.rosrun map_serer map_saver
multiple times.Unless you directly change the pgm
file the map isn't updated.
Hope i've answered to all your questions.