This lesson will demonstrate how to run the Tello box mission from Lesson 4 on Raspberry Pi. The video tutorial for this lesson is available at:
https://learn.droneblocks.io/p/tello-drone-programming-with-python/
This document walks through the steps necessary to execute Python on Pi and control Tello. We assume that you already have Raspian OS installed on your SD card. If you're not familiar with this process then check out the following tutorial:
https://www.raspberrypi.org/documentation/installation/installing-images/README.md
- Power on your Pi and let it boot into the desktop screen
- Open a Terminal window
- Clone the code repository using the command:
git clone https://github.com/dbaldwin/DroneBlocks-Tello-Python.git
- Change into the lesson 4 directory:
cd DroneBlocks-Tello-Python/lesson4-box-mission
- Power up Tello and connect to Tello WiFi
- Execute the mission with:
python TelloBoxMission.py
It's as simple as that!
Please feel free to get familiar with the code and we welcome any pull requests. If you'd like to join our online community you can do so here:
https://www.facebook.com/groups/droneblocks
If you'd prefer to code Tello using block programming then check out DroneBlocks in both the iOS and Android app stores.
iOS: DroneBlocks for iOS
Android: DroneBlocks for Android