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
911 stars 321 forks source link

Question about real-time localization #48

Open carleft opened 4 years ago

carleft commented 4 years ago

Hi !

I want to use lio-mapping for real-time location, but I find that location in rviz is always slower than real movement. I use Velodyne 16 and a imu with 400Hz frequency, How can I solve this problem?

Thanks for advance!

hyye commented 4 years ago

Hi @carleft, I think it is related to the newest timestamp in the local window is always earlier than the timestamp of the IMU input. In this release, the IMU is not predicted in a separated thread, which actually should be for real-time application.