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 | Q&A answers.ros.org |
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
)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2017-06-19 13:52:04 -0500
Seen: 1,658 times
Last updated: Jun 19 '17
Failed to open and upload big image file, map_file and map_server
How to edit a map programmatically?
Needed to update map_server publish continuously
Do amcl and costmap_2d account for a rotated map origin?
Navigation nodes aren't found if devel setup.bash sourced in addition to the opt devel
How can I visulaize a pre built map on ROS2-Dashing
Can map_server connect to costmap_2d directly with message or service?
"Dropped 100.00% of messages so far." warning when starting gmapping