LeGO-LOAM icon indicating copy to clipboard operation
LeGO-LOAM copied to clipboard

Doesnot work on own rosbag data

Open vijaygovindappa opened this issue 6 years ago • 3 comments

Hi All, First of all, you all have doen amazing job. From the video the results looks really good. Apologies, if my questions are silly, i am new to SLAM. I am trying to run on my own rosbag data and results doesnot look great. I believe it is because of the IMU. I have 2 questions.

  1. When you say IMU and LiDAR should be aligned, does that mean the axis should be aligned, or the pose should be aligned as in the x, y,z of IMU and LiDAR shoud be same ?
  2. Should the frequency of IMU and LiDAR match ?

Waiting for your reply.

Thank you

vijaygovindappa avatar Apr 16 '20 09:04 vijaygovindappa

My LiDAR is VLP32-E running at 16hz and IMu is running at 50 hz.

vijaygovindappa avatar Apr 16 '20 10:04 vijaygovindappa

Try this configuration in utility.h

// VLP-32c
extern const int N_SCAN = 32;
extern const int Horizon_SCAN = 1800;
extern const float ang_res_x = 0.2;
extern const float ang_res_y = 40.0/float(N_SCAN-1);
extern const float ang_bottom = 25.0;
extern const int groundScanInd = 20;

Works pretty well for me with impressively accurate loop closing.

Note: I assume you meant VLP-32c

bugerry87 avatar Apr 20 '20 11:04 bugerry87

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 May 20 '20 11:05 stale[bot]