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

map.yaml format

asked 2012-08-31 21:51:52 -0500

ahmad malkawi gravatar image

how to create map in yaml format ??

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
5

answered 2012-08-31 22:40:11 -0500

updated 2012-08-31 22:41:57 -0500

The [map_name].yaml file only contains metadata about the map, which is given as a separate [map_name].pgm image file. You can create maps by using a SLAM algorithm and saving it using the map_saver tool. In principle, you can also edit maps by editing .pgm files with a graphics editing program of your choice.

Most relevant information can be found on the map_server wiki page.

How to generate maps with SLAM algorithms is described here (gmapping) and here (hector_mapping).

edit flag offensive delete link more

Comments

1

So I can use GIMP to make a map even? If I then go on to write the meta-data (.yaml) file myself? What colors should I use for the map? Thank you.

2ROS0 gravatar image 2ROS0  ( 2014-07-15 18:51:49 -0500 )edit

Question Tools

Stats

Asked: 2012-08-31 21:51:52 -0500

Seen: 5,331 times

Last updated: Aug 31 '12