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,853 times
Last updated: Jun 19 '17
Failed to open and upload big image file, map_file and map_server
Needed to update map_server publish continuously
Will A* in AMCL direct robot into grey area on map
ROS2 nav2 map_server - Problems loading map with nav2_map_server
How to load the map for multiple robot navigation?
How to save map by using map_server package according to the topics?
Making the robot go straight on an empty map [closed]
Groovy Source Install "rosmake -a" Build Error - map server
ROS 2 how to show map on website
Several died after update ros-fuerte-navigation version 1.8.3