vectr-ucla / direct_lidar_inertial_odometry

[IEEE ICRA'23] A new lightweight LiDAR-inertial odometry algorithm with a novel coarse-to-fine approach in constructing continuous-time trajectories for precise motion correction.
MIT License
576 stars 115 forks source link

Differences in GICP between DLIO and DLO #20

Closed Bugday001 closed 1 year ago

Bugday001 commented 1 year ago

Hi, Thank you for your work! I found that a guess transformation matrix was passed in for the s2m gicp align function in DLO, while DLIO transforms each new scan pointcloud into global frame for GICP. Does this have any impact on the accuracy or efficiency of GICP solving? Also, are the GICP used by these two algorithms exactly the same?:D

kennyjchen commented 1 year ago

Hi @Bugday001 -- Yes, DLIO's input scans already encode the initial guess from IMU propagation, so there's no need to pass a prior into the function (as DLO does). The optimization result could be slightly different---not because of the difference in reference frame, but rather since DLO uses s2s as its prior to s2m while DLIO uses full IMU propagation as its prior to s2m---but we haven't see any issues with this. But yes, both DLO and DLIO use NanoGICP as its scan-matching optimizer, so the algorithms are the same.

Bugday001 commented 1 year ago

Thanks for your reply, I will close this issue.