koide3 / direct_visual_lidar_calibration

A toolbox for target-less LiDAR-camera calibration [ROS1/ROS2]
https://koide3.github.io/direct_visual_lidar_calibration/
692 stars 99 forks source link

An error occured when I run hte preprocess program #65

Open Lan-hhxx opened 8 months ago

Lan-hhxx commented 8 months ago

Hello, I tried to reappear your algorithm, however some error occured when I run the preprocess program using your bags. the command and the result are as fellows: rosrun direct_visual_lidar_calibration preprocess ../direct_data/livox_ros1/ ../preprocessed/ -av data_path: ../direct_data/livox_ros1/ dst_path : ../preprocessed/ input_bags:

I don't know how to solve it, so please help me to solve this issue, besides, I wonder confirm the version of Dependencies such as openCV. thank you!

Seekerzero commented 6 months ago

I think this is because you use a different version of opencv. The verified version of openCV is 4.2.0, please check if you get the build warning when you run catkin_make for the rospackage. similar to this:

warning: libopencv_core.so.408, needed by /your/path/to/the/catkin_ws/devel/lib/libdirect_visual_lidar_calibration.so, may conflict with libopencv_core.so.4.2

In this warning it says that the openCV 4.8.0 has some incompatible files to the openCV 4.2.0.