Costmaps resizing twice after map switching

asked 2018-11-08 15:25:35 -0600

opo gravatar image

updated 2018-11-08 15:30:48 -0600

Hello forum,

After loading map1 of size w1 x h1 correctly, If I load map2 of size w2 x h2, where w2 != w1 or h2!=h1 the map does not load correctly, that is, its "image" appears garbled as if it was loading with incorrect size or origin. If after loading map2 I try to load map1 everything works perfectly.

I know it is not about the maps themselves as if I interchange the procedure, i.e. I load map2 first then map1 I get the same results, that is, after loading map2 it shows correctly, then if I try to load map1 it won't load correctly, if I reload map2 everything works.

The only thing I noticed during loading the maps is that I get the "Resizing costmap to w x h at res m/pix" mesage published twice for each map load.

Has anyone had a similar experience with this?

edit retag flag offensive close merge delete