要在Ubuntu上安装Parrot ARDrone 2.0的SDK,您可以按照以下步骤进行操作:
sudo apt update
sudo apt install git build-essential cmake libudev-dev
git clone https://github.com/ARDroneSDK3/ARSDKBuildUtils.git
cd ARSDKBuildUtils/
./build.sh -p arsdk-native -t build-sdk -j
sudo apt-get install libasound2-dev libavahi-client-dev libavcodec-dev libavformat-dev libcurl4-openssl-dev libgcrypt20-dev libglib2.0-dev libjpeg-dev libjson-c-dev libsoup2.4-dev libssl-dev libtool libudev-dev libusb-1.0-0-dev libxml2-dev zlib1g-dev python
cd ../
./build.sh -p arsdk-native -t build-sdk -j
echo 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/ARSDKBuildUtils/Targets/Unix/Install/lib' >> ~/.bashrc
source ~/.bashrc
现在,您已经在Ubuntu上成功安装了Parrot ARDrone 2.0的SDK。您可以使用提供的示例代码和文档来开始开发您的应用程序。
辰迅云「云服务器」,即开即用、新一代英特尔至强铂金CPU、三副本存储NVMe SSD云盘,价格低至29元/月。点击查看>>
推荐阅读: ubuntu安装后重启卡住了怎么解决