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,933 times
Last updated: Jun 19 '17
Needed to update map_server publish continuously
Do amcl and costmap_2d account for a rotated map origin?
Do I need a transform for my map?
Possible bug in move_base.launch
Setting the grid size in costmap
Making the robot go straight on an empty map [closed]
Accessing map_server using rosjava