How to change width of the map generated by Gmapping
When in use gmappung package to create a map it makes a map of 4000X000. Is there a way to change this value??? I need a smaller map like 512X512 . I have tried changing xmin,ymin,xmax,ymax parameters..but still map is of same size.
Asked by ayush_dewan on 2013-02-24 01:31:01 UTC
Answers
The parameters you mention are the correct ones to set. How exactly did you set them?
Asked by dornhege on 2013-02-24 02:25:18 UTC
Comments
By default its -100 and 100 for both x and y so i changed them to -50 to 50 but still when i save map using map_saver it says received a map of size 4000x4000..
Asked by ayush_dewan on 2013-02-24 02:27:01 UTC
How do you set this up/run gmapping? Maybe you're setting the parameters somewhere, but not exactly where gmapping reads them. If you are setting those parameters correctly, it sounds like a bug in gmapping to me.
Asked by dornhege on 2013-02-24 02:32:55 UTC
I am doing it in launch file ... i'll print the those values and see whether parameters are being set with right values or not..
Asked by ayush_dewan on 2013-02-24 02:54:18 UTC
I was not setting the parameters correctly..changing xmin,ymin etc changes the dimension of map.
Asked by ayush_dewan on 2013-02-24 19:52:37 UTC
Comments