Huguet57 / LIMO-Velo

A real-time, direct and tightly-coupled LiDAR-Inertial SLAM for high velocities with spinning LiDARs
GNU General Public License v2.0
273 stars 55 forks source link

High Quality Map Publish #16

Closed Huguet57 closed 2 years ago

Huguet57 commented 2 years ago

Seeing (literally) for the first time indoor data, I've seen it's relevant to add the ability to change the downsampling precision. Indoor scenarios have more details and open spaces tend to have repeated normals and create degenerate scenarios.

The downsampling_prec parameter is added such that the lower the value is, less spatial downsampling there is.

Results using @qpc001's data (hope you don't mind!).

downsampling_prec: 0.5

Screenshot from 2022-02-24 23-40-37

downsampling_prec: 0.1

Screenshot from 2022-02-24 23-40-02

Huguet57 commented 2 years ago

Actually, forget that. I will leave it as parameter because why not. 0.5 is a safe value. But if we want high quality map we just publish the undownsampled map and that's it.

high_quality_publish: true

Screenshot from 2022-02-25 00-13-04

high_quality_publish: false

Screenshot from 2022-02-25 00-14-22

Huguet57 commented 2 years ago

Since Xaloc is also happy with the change, it's worth to merge.

high_quality_publish: false

Screenshot from 2022-02-25 00-38-15

high_quality_publish: true

Screenshot from 2022-02-25 00-39-28