Open fnoop opened 7 years ago
Since ROS melodic, ROS has switched to using system opencv: http://wiki.ros.org/melodic/Migration#opencv
[dev] [mav@maverick-nano /opt/ros/melodic/lib]$ ldd libcv_bridge.so
linux-vdso.so.1 (0x0000007f9032b000)
libopencv_imgcodecs.so.3.2 => /usr/lib/aarch64-linux-gnu/libopencv_imgcodecs.so.3.2 (0x0000007f90231000)
libboost_regex.so.1.65.1 => /usr/lib/aarch64-linux-gnu/libboost_regex.so.1.65.1 (0x0000007f90118000)
libopencv_imgproc.so.3.2 => /usr/lib/aarch64-linux-gnu/libopencv_imgproc.so.3.2 (0x0000007f8fe19000)
libopencv_core.so.3.2 => /usr/lib/aarch64-linux-gnu/libopencv_core.so.3.2 (0x0000007f8fc16000)
libstdc++.so.6 => /usr/lib/aarch64-linux-gnu/libstdc++.so.6 (0x0000007f8fa82000)
libgcc_s.so.1 => /lib/aarch64-linux-gnu/libgcc_s.so.1 (0x0000007f8fa5e000)
libc.so.6 => /lib/aarch64-linux-gnu/libc.so.6 (0x0000007f8f905000)
Need to compile cv_bridge linked against maverick opencv.
Branch to compile cv_bridge with opencv on melodic: https://github.com/OAkyildiz/vision_opencv
Noetic is released on may23rd 2020, but only supports ubuntu 20.04.
Added option (on by default) to compile cv_bridge from source. This works even over package/binary installs, and links cv_bridge to maverick custom opencv in ~/software/opencv. This allows us to use our opencv that is optimised for raspberry or jetson/cuda.
Use /srv/maverick/software/opencv, don't recompile a second version in /opt/ros.