This repository provides the code and instructions to set-up the control of a single Tello drone, as well as a swarm control via a command file.
Tello manual: Tello-User-Manual Tello commands: Tello-SDK-2.0
Following programs are needed
pipenv
python >= 3
clone the repository
git clone https://github.com/HalfUnitato/TrelloSwarmCntl
then setup the python environment
# In Project Root-Dir
pipenv shell
# following cmd for installing the packages only once
pipenv install
# to exit the python-env later on, type
exit
For further instruction read:
The command-files used in this project are using folling structure. All available commands can be found at all-tello-commands
## scan for available drones
# scan:
# number of drones
# ip-adr - subnet (optional)
# the program searches automatically in the same network tho pc itself is
# still could be used for subnetting
# netmask is 255.255.255.0
scan 1 192.168.32.
## make battery-check
# if battery-lvl is below -> abort
battery_check 20
## assignes serialnumber to ip
correct_ip
…
## assign serialnumber to drone-command-nr
0=0TQZGANED0021X
1=0TQZGANED0020C
## drone command
# '*' = all
# 'x' = drone-command-nr
*>takeoff
x>takeoff
colour | meaning |
---|---|
rgb | startup process |
purple | in command mode |