For some reason I get this error. I do point matching according to video tutorial, but after I choose 4 points (5 clicks) on image and 4 points (5 clicks) on cloud and close both windows I get this error. I printed the actual shapes and it was 24 points in 2D list and 82 points in 3D list.
[ERROR] [1633367709.261704]: bad callback: <bound method Subscriber.callback of <message_filters.Subscriber object at 0x7f988f7bbd90>>
Traceback (most recent call last):
File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 76, in callback
self.signalMessage(msg)
File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 58, in signalMessage
cb((msg + args))
File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 302, in add
self.signalMessage(msgs)
File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 58, in signalMessage
cb(*(msg + args))
File "/home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/scripts/calibrate_camera_lidar.py", line 484, in callback
calibrate()
File "/home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/scripts/calibrate_camera_lidar.py", line 325, in calibrate
assert(points2D.shape[0] == points3D.shape[0])
AssertionError
`
For some reason I get this error. I do point matching according to video tutorial, but after I choose 4 points (5 clicks) on image and 4 points (5 clicks) on cloud and close both windows I get this error. I printed the actual shapes and it was 24 points in 2D list and 82 points in 3D list.
` (6780, 5) [INFO] [1633367639.449545]: PCL points available: 6780
[WARN] [1633367699.246667]: Updating file: /home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/calibration_data/lidar_camera_calibration/pcl_corners.npy [WARN] [1633367709.229195]: Updating file: /home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/calibration_data/lidar_camera_calibration/img_corners_rect.npy
[ERROR] [1633367709.261704]: bad callback: <bound method Subscriber.callback of <message_filters.Subscriber object at 0x7f988f7bbd90>> Traceback (most recent call last): File "/opt/ros/melodic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback cb(msg) File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 76, in callback self.signalMessage(msg) File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 58, in signalMessage cb((msg + args)) File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 302, in add self.signalMessage(msgs) File "/opt/ros/melodic/lib/python2.7/dist-packages/message_filters/init.py", line 58, in signalMessage cb(*(msg + args)) File "/home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/scripts/calibrate_camera_lidar.py", line 484, in callback calibrate() File "/home/devel/lidar_calib_heethesh_ws/src/lidar_camera_calibration/scripts/calibrate_camera_lidar.py", line 325, in calibrate assert(points2D.shape[0] == points3D.shape[0]) AssertionError `