Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/socketbind/drone-control
Simple application for controlling DJI/Ryze Tello drones.
https://github.com/socketbind/drone-control
Last synced: 29 days ago
JSON representation
Simple application for controlling DJI/Ryze Tello drones.
- Host: GitHub
- URL: https://github.com/socketbind/drone-control
- Owner: socketbind
- License: apache-2.0
- Created: 2018-05-12T16:36:09.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-15T20:11:53.000Z (almost 5 years ago)
- Last Synced: 2024-08-23T18:15:55.409Z (4 months ago)
- Language: Go
- Size: 27.3 KB
- Stars: 27
- Watchers: 8
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-tello - Drone-control - `#Go` (Cockpits)
README
# Tello Drone Control
Very early version with a lot of hacks.
**Needless to say I take no responsibility for any damage you caused to your drone. You should know exactly what you are doing before attempting to use any of this code. Be extremely cautious with gamepad control as it might work entirely differently with your gamepad.**
What works:
* Basic controls using a gamepad (up, down, rotate left, rotate right, forward, backward, left, right)
* Video stream
* Flip controls work most of the time## Controller mappings
These are meant for Dualshock 4 controllers. Yours might be completely different.
### Left Analog
- Up - Ascend
- Down - Descend
- Left - Rotate Counter-clockwise
- Right - Rotate Clockwise### Right Analog
- Up - Forward
- Down - Backward
- Left - Sideways left
- Right - Sideways right### D-pad
- Up - Flip forward
- Back - Flip backward
- Left - Flip left
- Right - Flip right### Buttons
- X - Take off / Land (toggle)## Preqrequisites
* libavcodec - Used for decoding H.264 packets
## Installation
### Prerequisites (Ubuntu 18.04)
```
sudo apt-get install libavcodec-dev libavformat-dev libxcursor-dev libxrandr-dev libglfw3-dev libxinerama-dev libxi-dev
```_Thanks dantam74_
### Compile
```
go get github.com/socketbind/drone-control
$GOPATH/bin/drone-control
```