Save points with map_server
Hello,
I am currently able to run a robot with a joystick on rviz and get x and y points via odometry but I would like to save the all these points on a pgm file using map_saver.
Is there a simple way to do it like adding it on a launchfile to save the image ?
Regards,
You mean to save the (x,y) points computed by odometry?
Yes, sorry for not being precise. I would like to store (x,y) as "black" and the rest as "white" on the pgm
What do you want to do with this?
I would like to save the path of my robot by odometry and make it visible on a PGM. Using your answer, I'd have to save points in an occupancy grid and publish it over the /map topic ? If so, how do I work with this grid ? Thanks