hku-mars / LiDAR_IMU_Init

[IROS2022] Robust Real-time LiDAR-inertial Initialization Method.
GNU General Public License v2.0
857 stars 141 forks source link

mid360 calibration issues #56

Closed fratopa closed 1 year ago

fratopa commented 1 year ago

Hi! thank you for the great too, I was trying to calibrate my lidar but the process crashes every time after reaching the refinement phase. I have checked most of the issues in the repo of people having the same problem but none of their solutions work for me.

If anyone wants to have a look at the bag I am using the link is down there, the data are coming from a simulated mid360 https://drive.google.com/drive/folders/1rh2lxiU4WobuZNalZyjFguW-seLbXZ-E?usp=share_link

zfc-zfc commented 1 year ago

Hi! thank you for the great too, I was trying to calibrate my lidar but the process crashes every time after reaching the refinement phase. I have checked most of the issues in the repo of people having the same problem but none of their solutions work for me.

If anyone wants to have a look at the bag I am using the link is down there, the data are coming from a simulated mid360 https://drive.google.com/drive/folders/1rh2lxiU4WobuZNalZyjFguW-seLbXZ-E?usp=share_link

Could you please share the bag to zhufc@connect.hku.hk ? Thank you.

fratopa commented 1 year ago

Hi! thank you for the great too, I was trying to calibrate my lidar but the process crashes every time after reaching the refinement phase. I have checked most of the issues in the repo of people having the same problem but none of their solutions work for me. If anyone wants to have a look at the bag I am using the link is down there, the data are coming from a simulated mid360 https://drive.google.com/drive/folders/1rh2lxiU4WobuZNalZyjFguW-seLbXZ-E?usp=share_link

Could you please share the bag to zhufc@connect.hku.hk ? Thank you.

I just gave you access to the folder, let me know if it is ok :)

zfc-zfc commented 1 year ago

image

In your bag the offset_time of each point is incorrect. The lidar frequency is 10Hz, the maximum offset time should be around 1e8 us, while when I print the offset_time in your bag, the maximum value is only around 5000000 us.

fratopa commented 1 year ago

better I increased the offset time and the results are much improved. May I ask why it is such a crucial parameter?

zfc-zfc commented 1 year ago

parameter

This parameter is used for motion compensation (point undistortion).

fratopa commented 1 year ago

Oh I see, I guess this is also why it expects the points in the custom livox format. The regular poincloud2 message doesn't have that information. I wonder if there is a way to have the algorithm work with regular pointcloud2 messages at the cost of the deskewing step. Maybe that's a question better left to another issue. In the meantime, thank you very much for your help!

af-doom commented 9 months ago

better I increased the offset time and the results are much improved. May I ask why it is such a crucial parameter?

The 360 data format I recorded is pointcloud2. How should I complete the calibration

fratopa commented 9 months ago

better I increased the offset time and the results are much improved. May I ask why it is such a crucial parameter?

The 360 data format I recorded is pointcloud2. How should I complete the calibration

The newest version of the driver added timestamps for the timestamps in pointcloud2. Try installing the new version and rerecord your data, to the best of my knowledge, you can't add them after the fact