Added M300 specific instructions in the README file

This commit is contained in:
ulrichdah 2021-08-12 12:57:07 -04:00
parent 6271f549d6
commit ed2262acd3
1 changed files with 20 additions and 13 deletions

View File

@ -1,34 +1,41 @@
# gbplanner_ws
This workspace includes relevant packages to run with the [gbplanner_ros](https://github.com/unr-arl/gbplanner_ros).
# 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.
The workspace has been tested in Ubuntu 16.04 and ROS Kinetic. If you are using Ubuntu18 and ROS Melodic (or Gazebo 9), please use the branch [melodic](https://github.com/unr-arl/gbplanner_ws/tree/melodic).
Note: Only packages_https_no_sim.rosinstall is upto date.
For the explorer use packages_https_no_sim.rosinstall at wstool merge, i.e. `wstool merge packages_https_no_sim.rosinstall`
For the minion use packages_https_minion.rosinstall at wstool merge, i.e. `wstool merge packages_https_minion.rosinstall`
The workspace has been tested in Ubuntu 16.04 and ROS Kinetic.
# 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* \
ros-kinetic-rviz ros-kinetic-cv-bridge ros-kinetic-image-geometry ros-kinetic-pcl-* ros-kinetic-octomap* ros-kinetic-image-proc
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
```
### Clone the package
```
git clone http://git.mistlab.ca/vvaradharajan/gbplanner_ws.git
git clone http://git.mistlab.ca/vvaradharajan/mist_ws.git
```
### Setup the workspace
```
cd gbplanner_ws
cd mist_ws
wstool init
wstool merge packages_https_no_sim.rosinstall
wstool merge packages_https_m300.rosinstall
wstool update
```
### Build the whole workspace
```
catkin config -DCMAKE_BUILD_TYPE=Release -DSIM=1 -DKIN=1
catkin config -DCMAKE_BUILD_TYPE=Release -DSIM=0 -DKIN=1
catkin build
````
### 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