LIO-SAM icon indicating copy to clipboard operation
LIO-SAM copied to clipboard

Odometry problem with some Kitti sequences

Open BurhanMuhyiddin opened this issue 1 year ago • 2 comments

Hi. First of all, I would like to appreciate your excellent work. Thank you making it open source and sharing it. I have tested the algorithm with several kitti sequences. The interesting thing is that it works with some of the kitti sequences good, while with other sequences it gives very inaccurate results. Namely, the base_link starts to jump around and so, the results are awful. I attached picture below as an example. Screenshot from 2022-09-03 13-22-20

So, I started to debug the code. After a bit of debugging I think I found the problem and even I partially solved it, but I am sure that it is not correct solution and also, it doesn't completely solves the problem.

  1. Problem is not external IMU parameters, because it is the same for every Kitti sequences (I checked with calibration files also)
  2. Problem is not with bag file's IMU or Lidar datas, because I have checked them. Also, they work with Fast-LIO
  3. Problem is with LIDAR Odometry. As it is not correct, it directly affect to IMU odometry and base_link starts to jump around. After a bit of debugging I have seen it is related from scan2MapOptimization. Namely, during optimization, R and T is not converging. I mean, it converges, but for a few frames, so LIDAR odometry becomes non-accurate. I did some experience on that. I have increased convergence threshold from 0.05 to 0.5 (deltaR and deltaT) and also, maximum iteration number (iterCount) to 50. These parameters are in LMOptimization method. The results became better. Now the base doesn't jump around in a crazy way. While it is surely far more better result than previous case, it is still not that correct result. So, please can you provide me a solution for that problem? What should I do? How can I make optimization process better. Is it related because of not being able to match the features? Thank you very much.

BurhanMuhyiddin avatar Sep 03 '22 11:09 BurhanMuhyiddin

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 02 '22 04:11 stale[bot]

Hi,I also encountered the same problem, with the trajectory experiencing the same drift. Have you solved this problem and can you provide a solution

wh22920 avatar Aug 11 '23 02:08 wh22920