This program is a curriculum-based program that teaches computer science skills and the Python programming language in a team setting through hands-on use of a Tello EDU minidrone. After utilizing the curriculum in the classroom or after school, students can showcase their skills and accomplishments at *Aerial Challenge Days, competition events where student teams work to solve progressively more difficult challenges.Â
I created multiple functions through this unit in order to streamline the coding process of the challenges and to minimize mistakes by not having to type multiple of the same lines of code many times over. please use this section to understand and to reference when reading the code for the challenges.
A function that only consists of the connect() function for the drone and a print statement to say its connected
A function that only consists of the disconnect() function for the drone and a print statement to say its disconnected
A function that has the takeoff() function for the drone a print statement to say its taking off and a sleep() function to delay the next command
A function that has the land() function for the drone a print statement to say its landing and a sleep() function to delay the next command
A function that uses if then statements to tells the drone where to go in an xy plane depending on the direction and distance inputted into the parameters of the function with a sleep() function at the end to delay the next command
A function that uses if then statements to tell the drone where to rotate depending on the direction and degree inputted into the parameters of the function with a sleep() function at the end to delay the next command
Creates a horizontal polygonal shape depending on the sides and side length inputted to the parameters of the function for the drone to follow and uses a for loop to cycle through each angle and side of the polygon
A function that uses if then statements to tell the drone where to go on the z axis depending on the direction and distance inputted into the parameters of the function with a sleep() function at the end to delay the next command
Similar to the normal polygon function the vertical polygon function has parameters to input the desired sides and the length of each side. What makes this function different is that its vertical instead of horizontal meaning we have to the go() function instead of just rotating the drone and moving forward. We do this by inputting the side length and angle the drone has to move into to trigonometric equations to get the x and z coordinates for the go() functions.
Stay in Your Lane
Limbo, Limbo
Octagon Show
Initials
Regular Polygon
Circles in the Air
Obstacle Touch and Go
Vertical Regular Polygon