chennuo0125-HIT / lidar_imu_calib

automatic calibration of 3D lidar and IMU extrinsics

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

no valid lidar frame.

Minsu-Kim1822 opened this issue · comments

Hi, I tried to use this repo for LIO_SAM

In my case, I use LIVOX MID-70 LiDAR, and WIT motion WT901CTTL 9DOF IMU.

First, I checked my lidar messages detected well in src/lib/calibExRLidar2Imu.cpp, before codeline 350, all the messages are detected well.

but, in linenumber 352, there is a if condition like below.

if (invalid_lidar_it != lidar_buffer_.begin())
lidar_buffer_.erase(lidar_buffer_.begin(), invalid_lidar_it);

after this, my lidar messages are set as 0. I want to figure it out why my all lidar messages are set as 0.