cartographer-project / cartographer

Cartographer is a system that provides real-time simultaneous localization and mapping (SLAM) in 2D and 3D across multiple platforms and sensor configurations.
Apache License 2.0
7.04k stars 2.24k forks source link

why map origin changes not based on the Integer multiple of the resolution? #1817

Open Lannister-Xiaolin opened 3 years ago

Lannister-Xiaolin commented 3 years ago

When map size become larger or smaller , the origin of the map did'nt change on the Integer multiple of the resolution?

企业微信截图_16148439795033 )

I checked the souce code( not very detail) in "submap_painter.cc", it seems to support my opinion that the origin of the map should change on the interger multiple of the resolution

提问

Why I care about this? I have some other data on the grid map, if the origin and size changes, I need to paste old data into the new map