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

The map_server package can probably help : http://wiki.ros.org/map_server

Write a .yaml file as specified on the wiki page and try to run rosrun map_server map_server mymap.yaml

The map_server package can probably help : http://wiki.ros.org/map_server

Write a .yaml file as specified on the wiki page and try to run rosrun map_server map_server mymap.yaml

Edit: You have a typo in your yaml : the first line needs an additional space : image: map.png instead of image:map.png

The map_server package can probably help : http://wiki.ros.org/map_server

Write a .yaml file as specified on the wiki page and try to run rosrun map_server map_server mymap.yaml

Edit: You have a typo in your yaml : the first line needs an additional space : image: map.png instead of image:map.png. To prevent this kind of mistakes in the future, I suggest you look up how to enable syntax highlighting for yaml in your editor and/or use a yaml validator if you really have a doubt. But usually your yaml library will do most of the job.