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

Euler angle values not matching #54

Closed rupikaraj closed 1 year ago

rupikaraj commented 1 year ago

Hi, The GUI provided in this code doesn't work correctly in my case, so I edited the code so that the projected 2d points are calculated using the Euler angles and translation matrix that I manually gave as input. I have placed the Logitech camera on top of the Benewake CE30D lidar and there is no rotation. Therefore in my case, the Euler angles are supposed to be -90, 0, and 90(in degrees). But when I tried these angles the projected points were outside the image frame. The Euler angles here are -25.473, -77.916, and 115.96. When I tried these values the projected points are visible on the image but are not in the correct location.
Why do the angles -25, -77 and 115 work when the camera is not even rotated?

Can anyone help with this issue? Thanks in advance.