Drone Programming
Drone Programming
PLAN
2
THE DRONE TELLO
What is a drone?
It is a small remote-controlled airplane used
for various tasks:
Military sector:
Battlefield surveillance;
Technological war
3
THE TELLO DRONE
Civil sector:
For agriculture;
10 minutes.
● From 8 propellers of 3 inches and 4 protections (not
mandatory)
● A micro USB charger/port integrated into the drone
5
PROGRAMMING METHODS FOR TELLO
On Android: On PC:
6
PROGRAMMER TELL WITH PYTHON
● Preparation
The first step is to install Anaconda.
7
PROGRAMMER TELLO WITH PYTHON
8
PROGRAMMER TELLO WITH PYTHON DJITelloPy library
Djitellopy
Python interface for DJITello drone using a set of tools provided with the platform
official Tello material.
The features:
9
PROGRAMMER TELLO WITH PYTHON DJITelloPy Library
Installation :
- [Link]
10
PROGRAMMER TELL WITH PYTHON Tello Commands
Orders Description
takeoff TakeoffTello
land LandingTello
move_left (x) Fly left for a distance x
cm
Commands Description
Example:
13
PROGRAMMER TELLO WITH PYTHON
Available library
apiai assemblyai
wit
watson-developer-cloud
google-cloud-speech
pocketsphinx SpeechRecognition
14
PROGRAMMER TELL WITH PYTHON
SpeechRecognition
Why SpeechRecognition?
Usable online
15
PROGRAMMER TELLO WITH PYTHON
SpeechRecognition
Installation
Operation
16
PROGRAMMER TELLO WITH PYTHON
SpeechRecognition
Voice recognition:
17
PROGRAMMER TELLO WITH PYTHON
Speech Recognition
Voice recognition:
18
TELLER PROGRAMMER WITH PYTHON
Hand map
19
PROGRAMMER TELL WITH PYTHON
Hand map
20
PROGRAMMER TELLO WITH PYTHON
Hand map
21
PROGRAMMER TELLO WITH PYTHON
Hand map
● Installation of libraries
This step involves installing the various dependencies from the
anaconda terminal
Then we will enter the host folder of the requirement.
cd and you tab to enter the host folder of the requirement
Start the installation of the requirement
22
PROGRAMMER TELLO WITH PYTHON Hand map
PROGRAMMER TELL WITH PYTHON
PROGRAMMER TELL WITH PYTHON
PROGRAMMER TELL WITH PYTHON
27
PROGRAMMER TELLO WITH PYTHON
import cvzone
import cv2
import djitellopy
from threading import Timer
from [Link] import HandDetector
fpsReader = [Link]()
cap = [Link](0)
[Link](3, 1280)
[Link](4, 720)
28
PROGRAMMER TELL WITH VS Code