Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occured when I run hte preprocess program #65

Open
Lan-hhxx opened this issue Dec 15, 2023 · 1 comment
Open

An error occured when I run hte preprocess program #65

Lan-hhxx opened this issue Dec 15, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@Lan-hhxx
Copy link

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:

  • ../direct_data/livox_ros1/rosbag2_2023_03_09-13_42_46.bag
  • ../direct_data/livox_ros1/rosbag2_2023_03_09-13_44_54.bag
  • ../direct_data/livox_ros1/rosbag2_2023_03_09-13_44_10.bag
  • ../direct_data/livox_ros1/rosbag2_2023_03_09-13_46_10.bag
  • ../direct_data/livox_ros1/rosbag2_2023_03_09-13_46_54.bag
    topics in ../direct_data/livox_ros1/rosbag2_2023_03_09-13_42_46.bag:
  • /livox/points : sensor_msgs/PointCloud2
  • /livox/imu : sensor_msgs/Imu
  • /image : sensor_msgs/Image
  • /camera_info : sensor_msgs/CameraInfo
    selected topics:
  • camera_info: /camera_info
  • image : /image
  • points : /livox/points
    intensity_channel: intensity
    terminate called after throwing an instance of 'rosbag::BagIOException'
    what(): Error opening file: /image
    Aborted (core dumped)

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!

@Lan-hhxx Lan-hhxx added the bug Something isn't working label Dec 15, 2023
@Seekerzero
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants