dasto created page: how to setup dji m100 authored by David St-Onge's avatar David St-Onge
...@@ -9,7 +9,10 @@ sudo apt-get upgrade ...@@ -9,7 +9,10 @@ sudo apt-get upgrade
2- Follow the Ros Indigo arm instruction here : http://wiki.ros.org/indigo/Installation/UbuntuARM, only get the ros-base. 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: 3- Then install the required packages:
`sudo apt-get install g++ build-essentials libyaml-cpp-dev` ```
sudo apt-get install g++ build-essentials libyaml-cpp-dev ros-indigo-vision-opencv ros-indigo-cmake-modules ros-indigo-image-transport libgflags-dev libgoogle-glog-dev liblmdb-dev libatlas-base-dev libprotobuf-dev liblevelldb-dev libsnappy-dev libopencv-dev libhdf5-serial-dev protobuf-compiler
sudo apt-get install --no-install-recommends libboost-all-dev
```
4- Create a catkin workspace, initialize it and clone the DJI repo: 4- Create a catkin workspace, initialize it and clone the DJI repo:
``` ```
...@@ -19,6 +22,7 @@ catkin_init_workspace ...@@ -19,6 +22,7 @@ catkin_init_workspace
source ~/ROS_WS/devel/setup.bash source ~/ROS_WS/devel/setup.bash
git clone https://github.com/dji-sdk/Onboard-SDK-ROS.git . git clone https://github.com/dji-sdk/Onboard-SDK-ROS.git .
git clone https://github.com/dji-sdk/Guidance-SDK-ROS.git . git clone https://github.com/dji-sdk/Guidance-SDK-ROS.git .
rm ~/ROS_WS/src/dji_sdk_read_cam/CATKIN_IGNORE
``` ```
5- To compile on the manifold you need to extend the swap partition: 5- To compile on the manifold you need to extend the swap partition:
...@@ -44,4 +48,7 @@ APP ID 1030150 ...@@ -44,4 +48,7 @@ APP ID 1030150
App Key 4adad5e0c10585bf76e0baa9190e8d2183c2498cb6081b62fa001ecca9278e23 App Key 4adad5e0c10585bf76e0baa9190e8d2183c2498cb6081b62fa001ecca9278e23
Category Disaster probe Category Disaster probe
Description Integration of Buzz swarming language to control a fleet of M100. Description Integration of Buzz swarming language to control a fleet of M100.
``` ```
\ No newline at end of file and give the permission for the devices: `sudo sh -c 'echo "SUBSYSTEM==\"usb\", ATTR{idVendor}==\"fff0\", ATTR{idProduct}==\"d009\", MODE=\"0666\"" > /etc/udev/rules.d/51-guidance.rules'`
For more information about the SDK: https://developer.dji.com/onboard-sdk/documentation/github-platform-docs/ROS/README.html
\ No newline at end of file