RSS

RYZE Tello Drone Fun Flight

02 Jun

I recently heard of the RYZE Tello mini drone with DJI technology. DJI is a reputed company that is known for high quality camera drones.

Over the years, I have tested several toy drones. The Tello was different though. It is an affordable drone with a camera and most interestingly is programmable. I wanted to check out how easy it is to program and control one. So I acquired a Tello drone and got started researching its SDK.

In this demo, I used the python project from https://github.com/dji-sdk/Tello-Python

Once you checkout the project, you get a folder structure created locally as shown here:

Tello python project

Single_Tello_Test folder contains all that you need to send commands to Tello so that it can execute those commands. On my laptop, I detected the WiFi network of the Tello drone and connected to it. Once connected, I ran the command below:

python tello_test.py "command - iPhoneVideo2.txt"

The text file can have any name. This is the one I used for setting a sequence of commands that represented my custom flight plan for the Tello. Here is what the commands in the file look like:

command
delay 2
takeoff
delay 2
up 30
delay 2
cw 180
delay 2
forward 300
delay 2
left 60
delay 3
right 60
delay 2
flip f
delay 2
land

The python code in tello_test.py reads each line and sends the instruction to the drone via UDP messages. This worked beautifully, and the command execution statuses can be viewed in the command window:

Command execution status

Here, Tello on 192.168.10.1 receives commands on port 8889 and sends back the command status message. I’ve captured a clip of the Tello drone in action. Enjoy!

RYZE Tello Drone in ‘auto-pilot’ mode
 
1 Comment

Posted by on June 2, 2019 in Programming

 

Tags: , ,

One response to “RYZE Tello Drone Fun Flight

  1. Hemanshu

    June 2, 2019 at 11:04 PM

    Nice Clifford.

     

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: