PJLab-ADG / Livox-Mapping

An all-in-one and ready-to-use LiDAR-inertial odometry system for Livox LiDAR
BSD 3-Clause "New" or "Revised" License
464 stars 106 forks source link

maybe something wrong #8

Closed chengwei0427 closed 2 years ago

chengwei0427 commented 2 years ago

Hi, @SiyuanHuang95

I change the param SLIDEWINDOWSIZE from 2 to 3 in Estimator.h, and test the bag casual_walk.bag which lio_sam privode.

After lidar-imu inited, the trajectory drift .Used topics: /points_raw and /imu_raw. The extrinsics lidar -> IMU: extrinsicTrans: [0.0, 0.0, 0.0] extrinsicRot: [-1, 0, 0, 0, 1, 0, 0, 0, -1]

2022-03-24 11-31-40屏幕截图

If set the SLIDEWINDOWSIZE=2, the program is normal.

2022-03-24 11-34-17屏幕截图

The bag contains two imu topics(/imu_raw and /imu_correct).

If used /imu_corrcect as the imu input, The extrinsics lidar -> IMU: extrinsicTrans: [0.0, 0.0, 0.0] extrinsicRot: [1, 0, 0, 0, 1, 0, 0, 0, 1]

Whether the SLIDEWINDOWSIZE is 2 or 3, the program is normal.

It's strange, and maybe something wrong with the extrinsics params in the code.

Do you have a similar problem? Or any Suggestions?

SiyuanHuang95 commented 2 years ago

Have not met that issue. No further suggestions could be given. When you find anything interesting, you are quite welcome to share with us.

lhthq commented 2 years ago

hi~ I see you issue. In the terminal, there are “cannot create a KD-Tree with an empty input cloud”? Why?

chengwei0427 commented 2 years ago

hi~ I see you issue. In the terminal, there are “cannot create a KD-Tree with an empty input cloud”? Why?

There are three KD-trees, corresponding to the three types of features(edge, surf and non), you could check the three types of feature, maybe one of them is empty.

chengwei0427 commented 2 years ago

https://github.com/TixiaoShan/LIO-SAM/issues/204

SiyuanHuang95 commented 2 years ago

https://github.com/TixiaoShan/LIO-SAM/issues/204

Cannot catch your main idea, was the transformation matrix will cost this issue?

Real url:

https://github.com/TixiaoShan/LIO-SAM/issues/204

SiyuanHuang95 commented 2 years ago

Since there is no further update, I will close this issue.