ethz-asl / kalibr

The Kalibr visual-inertial calibration toolbox
Other
4.39k stars 1.41k forks source link

Issue on kalibr_camera_focus #424

Closed niebayes closed 3 years ago

niebayes commented 3 years ago

I've built kalibr following the instructions listed on wiki pages and the catkin message indicates the build is successful.

The problem occurs when I was attempting to bootstrap kalibr_camera_focus. It doesn't function properly unfortunately. The error message shows that the opencv module is not correctly imported into python. To fix this, I comment out the import cv and replace cv.destroyAllWindows with cv2.cv.destroyAllWindoes. Now, it can bootstrap but the opencv throws some assertions: OpenCV Error: Assertion failed (type == CV_32FC1 || type == CV_32FC2 || type == CV_64FC1 || type == CV_64FC2) in dft, file /build/opencv-L2vuMj/opencv-3.2.0+dfsg/modules/core/src/dxt.cpp, line 3343

How to fix this problem?

BTW, the kalibr_camera_validator functions properly, so do other modules.

niebayes commented 3 years ago

This issue is resolved already in issue #214