Save nav_msgs/OccupancyGrid as png
Hi,
map_server saves an occupancy grid as a pgm, but is there a way to save the map as a png?
Thanks!
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi,
map_server saves an occupancy grid as a pgm, but is there a way to save the map as a png?
Thanks!
You can convert the pgm to a png with gimp, photoshop, or the convert
command-line tool. (sudo apt-get install imagemagick
; convert map.pgm map.png
)
Asked: 2017-06-19 13:52:04 -0500
Seen: 1,852 times
Last updated: Jun 19 '17
Why was PGM format selected to save map?
Needed to update map_server publish continuously
How to edit a map programmatically?
Will A* in AMCL direct robot into grey area on map
can't manage to use costmap_2d individually (costmap_2d launch file)
How to switch map when map_server is running
convert from sensor_msgs::Image bgr8 to a png file on disk
How to save map by using map_server package according to the topics?