Closed TioeAre closed 1 year ago
Solved, reason is the default opencv of cv_bridge is 4.2 in ros noetic, and the 4.5.5 I installed before compiling orb_slam3 is not compatible. Solution: Create a new workspace to compile your own cv_bridge. Then use set to set cv_bridge to the newly compiled path in the cmakelists.txt in the ros routine of orb_slam3. Reference link: https://github.com/opencv/opencv/issues/21367
https://blog.csdn.net/weixin_43868576/article/details/122688385
https://blog.csdn.net/u014015324/article/details/110850609
https://cyaninfinite.com/ros-cv-bridge-with-python-3/#Dependencies
I tried to build with ros, The following is the result of running in the terminal
with debug, I found the error seems to apper in ros_stereo.cc in line 180.
the following is my ros_stereo.cc
my computer is intel ubuntu20.04 ros:noetic opencv: 4.5.5 eigen:3.4 pangolin:0.8
please tell me how to solve it, thank you very much.