heethesh / lidar_camera_calibration

Light-weight camera LiDAR calibration package for ROS using OpenCV and PCL (PnP + LM optimization)
BSD 3-Clause "New" or "Revised" License
528 stars 117 forks source link

Can This Calibration Process Be Used on ROS Melodic #24

Open Bsting118 opened 3 years ago

Bsting118 commented 3 years ago

Hello,

I was wondering if this lidar-camera calibration process I got working can be used on ROS Melodic (aka, Ubuntu 18.04)? If it can be used on ROS melodic, is there anything I need to change with the files or setup? Thanks!

Cordially, Brendan Sting

heethesh commented 3 years ago

Yes it should work on Melodic. I haven't tested it but I also don't think it has any dependencies on Kinetic.

enting8696 commented 3 years ago

i'm ubuntu melodic 18.04 its work ! just install some package like ros-numpy or tf2.....

rupikaraj commented 1 year ago

Yes it should work on Melodic. I haven't tested it but I also don't think it has any dependencies on Kinetic.

I am using your code for OS1 and usb camera on ROS melodic. I picked 5 corresponding points on image and pcd. The values got updated to corresponding .npz files. But when I displayed the fusion, it was not correct. I have followed all your instructions also.

Should I pick more corresponding points ?

heethesh commented 1 year ago

@rupikaraj yes, please try picking more points around 20-30

rupikaraj commented 1 year ago

@rupikaraj yes, please try picking more points around 20-30

Hi @heethesh thankyou for replying. I'm still confused tho. Should I pic more coordinates other than the checkerboards corners in the same window or ... Did you mean to do the calibration with corners of checkerboard on multiple locations selecting only the corners on each calibration step ?

Also.. even though the calibrated parameters were wrong, I tried the fusion step in real-time. The lidar coordinates do get projected to the image. But the process is taking a lot of time. The fused image frames have some kind of time lag for about (20-30) seconds and I don't understand why this is happening!