冬雨财经 发表于 2024-11-17 16:08:13

Jetson ros默认依赖opencv与系统安装opencv、推流、cv_bridge等存在BUG

下载源码,源码编译支持系统opencv
git clone -b noetic https://github.com/ros-perception/vision_opencv.git

set(_opencv_version 4)   #设置为系统opencv
find_package(OpenCV 4 QUIET)
if(NOT OpenCV_FOUND)
message(STATUS "Did not find OpenCV 4, trying OpenCV 3")
set(_opencv_version 3)
endif()

cd vision_opencv/cv_bridge
mkdir build
cd build
cmake ..
make
sudo make install 完成后:
将/usr/local/share/中的cv_bridge文件夹复制到/opt/ros/noetic/share/中

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。
页: [1]
查看完整版本: Jetson ros默认依赖opencv与系统安装opencv、推流、cv_bridge等存在BUG