1、首先USB规则,之前已测试过
echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="03e7", MODE="0666"' | sudo tee /etc/udev/rules.d/80-movidius.rules
sudo udevadm control --reload-rules && sudo udevadm trigger
2、然后是depthai core安装包的下载
下载好后通过命令安装
sudo apt install ./depthai_2.15.0_x86_64_Shared.deb
这边后面根据实际你下载的安装。
3、安装OPENCV驱动
sudo apt install libopencv-dev
4、默认ROS环境安装好了,后面跟着命令走
mkdir -p catkin_ws/src
cd catkin_ws/src
git clone https://gitee.com/oakchina/depthai-ros.git
cd ..
source /opt/ros/melodic/setup.bash
rosdep install --from-paths src --ignore-src -r -y
catkin_make
source devel/setup.bash
默认18.04的ROS-melodic
5、运行一下
roslaunch depthai_examples mobile_publisher.launch | rqt_image_view -t /mobilenet_publisher/color/image
标签:src,depthai,catkin,rules,sudo,OAK,相机,--,LITE From: https://www.cnblogs.com/cjl520/p/17569705.html