hyye / lio-mapping

Implementation of Tightly Coupled 3D Lidar Inertial Odometry and Mapping (LIO-mapping)
https://sites.google.com/view/lio-mapping
GNU General Public License v3.0
898 stars 320 forks source link

Advice for tuning in large environments #20

Closed andre-nguyen closed 4 years ago

andre-nguyen commented 4 years ago

LIO becomes very slow in my large environment, to a point where I have to pause my bag file to give LIO time to catch up.

image

Do you have any advice on how to tune the parameters to keep things running smoothly or constrain processing time?

I would also be interested in some documentation on the following parameters:

hyye commented 4 years ago

If there are too many lidar feature points, the processing time would be longer. Maybe consider reducing the window sizes or feature points. For configuration, the outdoor config can be a reference.

msg_time_delay: the time offset between lidar and IMU, for typical Velodyne data, buffer the IMU to the middle timestamp of the point cloud. cutoff_deskew: turn off deskewing, when using corrected point cloud data, like KITTI. init_window_factor: a factor makes the local window of initialization longer. update_laser_imu: update the optimized states, just for debugging.