pgm resolution problem
SBPL Lattice planner has a map resolution 0.025, and I have a map with a resolution of 0.05. How can I change my map .pgm file in a resolution of 0.025?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
SBPL Lattice planner has a map resolution 0.025, and I have a map with a resolution of 0.05. How can I change my map .pgm file in a resolution of 0.025?
You can open your pgm in an image editing program such as gimp or photoshop, double the resolution, and save it.
You should also be able to resize it using imagemagik tools such as mogrify
or convert
.
If you have a yaml file that goes with your pgm map, you should edit the resolution there; otherwise, just pass the new resolution to the map_server on startup.
Asked: 2014-05-16 08:38:00 -0600
Seen: 1,321 times
Last updated: May 16 '14