Modifying ros navigation map with image editor
Hello,
I recently used gmapping on a robot I built to scan a room using a kinect sensor and converting pointcloud to scan.
The room was scanned with some noise so I edited the map using photoshop (on a different computer) but when I tried navigating the map with the new modifications the robot couldn't be localizaed properly and amcl and move_base started giving errors of type "off map" and "unable to get robot pose".
I read somewhere that it should be OK to edit a map using gimp or photoshop and even change PGM to PNG but I did not find a lot of details on best practice.
I think that the format or resolution of the image is somehow being affected during the editing, especially since I am generating the map on Linux and then editing on macosx.
Do you have any tips on bets practice on editing an existing map to ensure issues with navigation?
Thanks in advance.