From 8b1486f9f0ad703525f7ef731b6647ebba42b1de Mon Sep 17 00:00:00 2001 From: AATB Date: Fri, 8 Mar 2024 11:29:56 +0100 Subject: [PATCH] Update import order in kalibr_calibrate_cameras to fix cv_bridge_boost exception https://github.com/ros-perception/vision_opencv/issues/339 https://answers.ros.org/question/362388/cv_bridge_boost-raised-unreported-exception-when-importing-cv_bridge/ --- .../kalibr/python/kalibr_calibrate_cameras | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras b/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras index dc6a9091b..29fe65850 100755 --- a/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras +++ b/aslam_offline_calibration/kalibr/python/kalibr_calibrate_cameras @@ -1,6 +1,7 @@ #!/usr/bin/env python print("importing libraries") import rosbag +import cv2 import cv_bridge import sm @@ -11,7 +12,6 @@ import aslam_cv_backend as acvb import kalibr_common as kc import kalibr_camera_calibration as kcc -import cv2 import os import numpy as np import multiprocessing