From e74de76af0ce134046b148b4d4348c4d9f6b05ca Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Wed, 3 Jun 2020 11:45:33 +0300 Subject: [PATCH] drone: Update README --- drone/README.md | 40 ++++++++++++++++++++++++++++++++++++++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git a/drone/README.md b/drone/README.md index ca5cb6c..61575f7 100644 --- a/drone/README.md +++ b/drone/README.md @@ -1,7 +1,43 @@ # Client of clever-show -Application for remote synchronized control of drones and emergency drone protection module. +Application for remote synchronized control of drones and failsafe drone protection module. + +* `client.py` is the main drone communication and control module +* `failsafe.py` is the drone protection module, which creates `/emergency_land` service and monitors the state of the drone in accordance with the logic specified in `[FAILSAFE]` item of `client.ini` settings file + +## Requirements + +* Ubuntu Bionic or Debian Stretch +* ROS Melodic +* Clover ROS package +* Python 2.7 +* Time synchronization client + +Can be used with built-in NTP client or with external package for time synchronization like `chrony` on Linux systems. + +## Installation + +```cmd +pip install -r requirements.txt +``` + +## Usage + +Start roscore with clover package on the drone or on the PC with drone simulator. + +Start client: + +```cmd +python client.py +``` + +If you want to start failsafe module, execute in the other terminal: + +```cmd +python failsafe.py +``` + +## Documentation -Documentation is located here: * English * [Russian](../docs/ru/client.md)