|
|
|
## Assembling
|
|
|
|
|
|
|
|
## Onboard SDK
|
|
|
|
1- Connect a Ethernet cable, get an internet connection and make sure your system is up-to-date:
|
|
|
|
sudo apt-get update
|
|
|
|
sudo apt-get upgrade
|
|
|
|
**don't update the OS to a version above 14.04!**
|
|
|
|
|
|
|
|
2- Follow the Ros Indigo arm instruction here : http://wiki.ros.org/indigo/Installation/UbuntuARM, only get the ros-base.
|
|
|
|
|
|
|
|
3- Then install the required packages:
|
|
|
|
`sudo apt-get install g++ build-essentials libyaml-cpp-dev`
|
|
|
|
|
|
|
|
4- Create a catkin workspace, initialize it and clone the DJI repo:
|
|
|
|
```
|
|
|
|
mkdir -p ~/ROS_WS/src
|
|
|
|
cd ~/ROS_WS/src
|
|
|
|
catkin_init_workspace
|
|
|
|
source ~/ROS_WS/devel/setup.bash
|
|
|
|
git clone https://github.com/dji-sdk/Onboard-SDK-ROS.git .
|
|
|
|
git clone https://github.com/dji-sdk/Guidance-SDK-ROS.git .
|
|
|
|
```
|
|
|
|
|
|
|
|
5- To compile on the manifold you need to extend the swap partition:
|
|
|
|
```
|
|
|
|
free
|
|
|
|
sudo dd if=/dev/zero of=/var/swap.img bs=1024k count=1000
|
|
|
|
sudo mkswap /var/swap.img
|
|
|
|
sudo swapon /var/swap.img
|
|
|
|
free
|
|
|
|
```
|
|
|
|
|
|
|
|
6- You should now be able to compile:
|
|
|
|
```
|
|
|
|
cd ~/ROS_WS
|
|
|
|
catkin_make
|
|
|
|
```
|
|
|
|
|
|
|
|
7- To activate the SDK follow the steps there: https://developer.dji.com/onboard-sdk/documentation/quick-start/index.html using the application ID:
|
|
|
|
```
|
|
|
|
SDK Type Onboard SDK
|
|
|
|
APP Name MistLabBuzz
|
|
|
|
APP ID 1030150
|
|
|
|
App Key 4adad5e0c10585bf76e0baa9190e8d2183c2498cb6081b62fa001ecca9278e23
|
|
|
|
Category Disaster probe
|
|
|
|
Description Integration of Buzz swarming language to control a fleet of M100.
|
|
|
|
``` |
|
|
|
\ No newline at end of file |