dji n3 飞控解锁_ROS与DJI N3飞控建立连接并简单控制

本文介绍了如何在Ubuntu 16.04和ROS kinetic环境下,通过DJI Assistant 2和Onboard SDK 3.3.1与DJI N3飞控建立连接,并实现简单的飞行控制。详细步骤包括OSDK库的安装、ROS节点的构建、配置文件编辑以及样例的运行。在完成配置后,通过运行rosrun dji_sdk_demo demo_flight_control启动飞行控制样本。
摘要由CSDN通过智能技术生成

平台: UBUNTU16.04

ROS kinetic

DJI ASSISTANT 2

OSDK3.3.1

Onboard SDK ROS 3.3.1

DJI N3飞控(型号:3.2.36.8 固件:1.7.1.5)

DJI LightBridge II

一、OSDK安装

参考:http://developer.dji.com/onboard-sdk/documentation/sample-doc/sample-setup.html#ros-oes

Installing the OSDK

1-Clone (or download as zip) the DJI OSDK from Github here.

https://github.com/dji-sdk/Onboard-SDK/releases

2-Open a terminal inside the onboardsdk folder and follow these steps to build the core OSDK library:

mkdir build

cd build

cmake ..

make djiosdk-core

3-Now, install the osdk-core library to your system so that the dji_sdk ROS node may find it and link against it:

sudo make install djiosdk-core

Building the ROS Nodes

4-If you don’t have a catkin workspace, create one as follows:

mkdir catkin_ws

cd catkin_ws

mkdir src

cd src

catkin_init_workspace

5-Clone (or download as zip) the DJI OSDK-ROS from Github here in the src folder.

https://github.com/dji-sdk/Onboard-SDK-ROS/releases

6-Build the dji_sdk ROS package and the dji_sdk_demo ROS package.

cd ..

catkin_make

Configuration

7-Remember to source your setup.bash:

source devel

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值