vectr-ucla / direct_lidar_odometry

[IEEE RA-L & ICRA'22] A lightweight and computationally-efficient frontend LiDAR odometry solution with consistent and accurate localization.
MIT License
815 stars 168 forks source link

large drift in z-axis #34

Closed WeilongXia closed 1 year ago

WeilongXia commented 1 year ago

Thanks a lot for open sourcing such a great work! But I found during the experiment that the odometry drifts a lot in the z-axis estimation. I walked about 600m with the Lidar in hand, and when I returned to the starting point, I could see that the created point cloud map would gradually become warped. Is there any good way to solve it, such as parameter adjustment or exercise mode change? The Lidar I use is Livox MID360. Looking forward to hearing from you. Screenshot from 2023-06-16 16-25-34 Screenshot from 2023-06-16 16-15-48

kennyjchen commented 1 year ago

Hi @WeilongXia -- check out this issue.

If you are not using gravity alignment, DLO's reference frame depends on its initial orientation (so if the initial orientation is tilted, the entire map will be tilted). Try starting DLO with your sensor on a flat surface. If you are using gravity alignment, make sure your LiDAR and IMU are horizontally-aligned otherwise it will not work (and that your IMU is sufficiently high-quality). Let me know if that helps.

WeilongXia commented 1 year ago

Hi, I have tried placing the Lidar horizontally when the program is on, and the effect has been greatly improved! Thanks for you help! Screenshot from 2023-06-16 17-13-53 Screenshot from 2023-06-16 17-13-05