robotics-upo / dll

DLL: Direct Lidar Localization
BSD 3-Clause "New" or "Revised" License
189 stars 40 forks source link

check the map bound #11

Closed yuhui-xie closed 1 year ago

yuhui-xie commented 1 year ago

In grid3d.hpp, computeDistInterpolation should check if i + gZ + 1 and i + gY + 1 is in the bound of m_grid. I found this leads to a core dump.

fercabe commented 1 year ago

Thanks very much for point this out!!!

Just committed a patch with the solution. Hope it helps.

PD: Sorry for the delay :(