2021-08-12 13:57:07 -03:00
# DJI M300
This workspace includes relevant packages to run [rosbuzz ](https://github.com/MISTLab/ROSBuzz ) with the [DJI OSDK ](https://github.com/dji-sdk/Onboard-SDK-ROS ) on the M300 drones.
2021-08-11 20:45:58 -03:00
2021-08-12 13:57:07 -03:00
The workspace has been tested in Ubuntu 16.04 and ROS Kinetic.
2021-08-11 20:45:58 -03:00
2021-08-11 20:49:58 -03:00
# Dependencies to install
```
sudo apt-get install python-catkin-tools python-wstool ros-kinetic-cmake-modules protobuf-compiler autoconf ros-kinetic-mavros* ros-kinetic-tf* \
2021-08-12 13:57:07 -03:00
ros-kinetic-rviz ros-kinetic-cv-bridge ros-kinetic-image-geometry ros-kinetic-pcl-* ros-kinetic-octomap* ros-kinetic-image-proc \
ros-kinetic-nmea-comms ffmpeg libusb-1.0-0-dev libsdl2-dev
2021-08-11 20:49:58 -03:00
```
2021-08-11 20:45:58 -03:00
### Clone the package
```
2021-08-12 13:57:07 -03:00
git clone http://git.mistlab.ca/vvaradharajan/mist_ws.git
2021-08-11 20:45:58 -03:00
```
### Setup the workspace
```
2021-08-12 13:57:07 -03:00
cd mist_ws
2021-08-11 20:45:58 -03:00
wstool init
2021-08-12 13:57:07 -03:00
wstool merge packages_https_m300.rosinstall
2021-08-11 20:45:58 -03:00
wstool update
```
### Build the whole workspace
```
2021-08-12 13:57:07 -03:00
catkin config -DCMAKE_BUILD_TYPE=Release -DSIM=0 -DKIN=1
2021-08-11 20:45:58 -03:00
catkin build
````
2021-08-12 13:57:07 -03:00
### Troubleshooting
* In case of permission error, make sure to follow the [permission ](https://github.com/dji-sdk/Onboard-SDK-ROS#3permission ) section to have read/write access for the uart communication.
# Spiri
# DJI M100
# Khepera IV