Robotics StackExchange | Archived questions

size of gmapping map saved

I need to precisely set the size of the slam map generated by slam gmapping on Stage. My goal is to save the slam map with map_server. My gmapping parameters are as follows:

 <param name="delta" value="0.1" />
 <param name="xmin" value="-15.0" />
 <param name="xmax" value="15.0" />
 <param name="ymin" value="-15.0" />
 <param name="ymax" value="15.0" />

I want the saved map to be 300x300 pixels. However, it is saved as 288x288. Where are the 12 missing pixels? How can I retrieve them?

Asked by Zayin on 2013-07-09 06:30:47 UTC

Comments

what is the exact map resolution value in .yaml file saved my map server ? is it exactly 0.05000 ?

Asked by sudhanshu_mittal on 2013-09-26 13:23:04 UTC

I finished this project now (it was a summer project), but I'm certain I had set the right resolution.

Asked by Zayin on 2013-10-06 08:04:16 UTC

Answers