hku-mars / loam_livox

A robust LiDAR Odometry and Mapping (LOAM) package for Livox-LiDAR
GNU General Public License v2.0
1.43k stars 435 forks source link

Fixed an issue that causes points to be wrongly labelled #47

Closed mrmouss closed 2 years ago

mrmouss commented 4 years ago

Consider the case where a point is labelled invalid (i.e. -1), the hex equivalent of -1 is 0xffff. In such the case bit-wise operations are not accurate. This means if the point is labelled invalid it is automatically labelled corner and surface in the same time.