1、下载Guidance SDK,https://github.com/dji-sdk/Guidance-SDK
在linux中可以直接用git获得
git clone https://github.com/dji-sdk/Guidance-SDK.git
2、按照官方的参考文档中的linux步骤安装usb驱动、g++、opencv
https://developer.dji.com/guidance-sdk/documentation/application-development-guides/index.html
(1)官方文档中usb驱动的安装不推荐使用apt-get install,给出的链接也失效
我们可以到https://github.com/libusb/libusb/releases下载最新的版本 libusb-1.0.22.tar.bz2
下载完后解压,终端进入到该路径
./configure
make
make install
(2)如果失败,可能会提示缺少libudev.