DEV Community

Edward Naidoo
Edward Naidoo

Posted on

💻 My Learning Path for Programming Tello Drones

Recently, I have gotten into Drone technology and the new coming of arial transportation. With the resources that was available to me I chose this as a first step to creating a fully automated set of drones.

Tello Drone Credits for airbuzz.one for this photo

Within my class, I have worked with others who has shown similar interest. Tello, mainly Tello EDU we were using.

It allowed us to use Python 3.X to implement tasks to control the drone from our computers. This was thanks to a tutorial which taught us how to use the Tello module/library and as well, include a few projects as well.

I hope this helps for those with the same passion as us.


My Projects

The first project was to get it flying normally from place to place. This was very easy and following the tutorial made things faster. I quickly got to the video feed and keyboard controls. I was the second of third project. This was probably the most challenging however when things got to work, it was easy to just copy and paste the code when needed.

For the class time I had, I got to understand how to move the drone with simple commands written in Python, and if you have a UDP Packet Sender, you can play with the SDK mode from that application rather than just code. This will only be possible if you are connected to its Wifi.

  • If you purchase your own drone, you can look inside and find the SSID for the network name to identify your drone. This helps if you have multiple as well

Tutorial

In this video, the person uses PyCharm as the IDE for the whole tutorial. I used VScode and everything worked perfectly. This should not intimidate anyone who only uses VScode. How I got the module was from using:

pip3 install djitellopy

Which was made by a person who made life easy to use the drones. Here is my code, as well as the person's who made the djitellopy module.


Projects from the Tutorial

  • RC Drone: Use your keyboard to control the drone and the on-board camera to see your surroundings,
  • Line Follower: Uses the camera to detect a line (a white line in this case) and follow it,
  • Face Detection: Utilizing OpenCV to detect a face and follow that face from the written code.
  • Mapping: Using your mouse to create a route by dragging along a GUI that was made w/ Python and let your drone fly in that specific route.

Tips

  • To get more information about the commands and djitellopy, there are documentation for the module and an SDK documentation so you can kickstart your Tello journey.

Top comments (0)