abx393 / tello-drone-bindings

Python 3 bindings to interact with the DJI Ryze Tello drone.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tello-drone-bindings

Python 3 bindings to interact with the DJI Ryze Tello Drone.

Current Key Bindings

Key Binding Control Result
Enter take off take off
space land land
w increase throttle ascend
s decrease throttle descend
a yaw left rotate counter-clockwise
d yaw right rotate clockwise
<left> roll left move left
<right> roll right move right
<up> pitch forward move forward
<down> pitch backward move backward
f flip 360° flip

Dependencies

  • Python 3.x.x
  • opencv-python
  • Python h264decoder

Instructions

  1. Open a terminal and clone the repository locally.
git clone https://www.github.com/abx393/tello-drone-bindings.git
  1. To install all dependencies except h264decoder, run the following. If you're on Windows and prefer the py.exe launcher, replace python with py.
cd ~/tello-drone-bindings
python -m pip install -r requirements.txt
  1. The h264decoder library might require the installation of some sub-dependencies. See detailed instructions here.
  2. Change your working directory to the src directory of the repository:
cd ~/tello-drone-bindings/src
  1. Run the following. If you're on Windows and prefer the py.exe launcher, replace python with py.
python main.py

Features

  • Pilot drone with PC using customizable keyboard shortcuts (no joystick or controller necessary)
  • View video stream of drone POV from PC in realtime.

References

About

Python 3 bindings to interact with the DJI Ryze Tello drone.

License:MIT License


Languages

Language:Python 100.0%