In this manual we will describe how you can connect with the Tello drone.
Before you can work with the drone, you have to assemble your group and get permission:
-
Form a group with around 4 to 5 other students.
-
Ask the corresponding teacher for permission to receive a groups number.
-
Receive the rights to access the GitHub page where you can push your code for the drone.
Each group gets one file to execute code on the drone. In order to acquire the group file, follow the instructions below:
-
Visit this GitHub page.
-
Clone the repository.
-
Create a new Python file called group + your specific group number. (for example group1.py)
DISCLAIMER: Make sure your file name is unique within the entire repository.
-
Commit your changes and push the file to the repository.
Now your code is ready to control the Tello drone, it will be executed within three minutes.
The pushed code will be executed automatically. Every 3 minutes the system will scan the repository for changed files. The system will then detect those changed files through the Jenkins pipeline and if they don't have errors, they will be placed in the system queue. The system queue is continuously executed, the file in front of the system queue will be run and the code will be executed onto the drone.
If your code contains errors, the pipeline will detect those errors and it will create an error message. To view these error messages you can visit the web interface from the Jenkins pipeline. To visit the Jenkins web interface, connect to the router which connects to the Raspberry Pi and go to this link.
DISCLAIMER: If your code does not execute and you don't have any errors, please contact the teacher.