ankitdhall / lidar_camera_calibration

ROS package to find a rigid-body transformation between a LiDAR and a camera for "LiDAR-Camera Calibration using 3D-3D Point correspondences"
http://arxiv.org/abs/1705.09785
GNU General Public License v3.0
1.52k stars 461 forks source link

Assertion 'G_IS_OBJECT (object)' failed. #126

Open dejongyeong opened 4 years ago

dejongyeong commented 4 years ago

Hi Guys, I've change the ring number to 32 and found this error:

image

image

Could any know how to resolve this? And also the points doesn't show up every time i launch the file. Thanks.

It caused by the cv::waitkey(). Could anyone know how to resolve this? Thanks.

Makuh28 commented 4 years ago

Hi, I'm experiencing the same issue while starting the .launch, and I do not see any points on the "cloud" window. Please tell me if you solved it, I'll make couple of research on my side.

crankler commented 4 years ago

@Makuh28 Have you can see the points in cloud image now? I try to change the intensity, but there can't get the pointcloud outlook, can you share your experimence with me? Thank you!

abhi5691 commented 4 years ago

@Makuh28 @crankler @dejongyeong have you guys figured something out about this issue? I am trying to use a 64 beam Hesai LIDAR and changed the vector size in preprocessutils.h accordingly. However, I am unable to see any points in the cloud window, with the same “ Assertion 'G_IS_OBJECT (object)' failed” warning repeating everytime I click onto cloud window. Any leads will be much appreciated. Thanks 😊

dejongyeong commented 4 years ago

@abhi5691 I could't work that out.

renjiahao0928 commented 3 years ago

Hello, I have the same problem.what is your PCL version? What is your VTK version?

miriamrebekah commented 3 years ago

@renjiahao0928 have you figured this out yet?

HRex39 commented 3 years ago

It is all because of cv::waitkey(delay)~
This function attempts to make the program wait for delay ms before continuing to run the following statements.
If delay = 0, wait indefinitely until you press any key on the keyboard.

You can do the following step:

  1. Click the Mouse
  2. Press any of the button like 'A' Then you can see the points
YinghuiYou commented 3 years ago

@HRex39 谢谢老哥了,你的解释很到位,直接圈选线条就得到了变换矩阵