Drone Challenges: Partners, Maria Morgan and Sam Mederos
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.
Objective: complete certain challenges in a group, using knowledge from the curriculum.
The purpose of this challenge is to take off from horizontal hula hoop, fly forward past elevated vertical hula hoop, use left/right to make a 90 degree turn, forward through second vertical hula hoop and land in 2nd horizontal hula hoop.
In my code I chose the drone.left command to go left instead of turning the drone then going forward.
Post it
Video sped up
At the end of the video it looks like the drone messed up; but what happened was the Corse was moved around.
The purpose of this challenge is to take off from hula hoop, drop down, forward under rod, lift up, forward over barrier, land in hula hoop.
The new line of code learned in this challenge was the drone.down() command. this allowed the drone to pass under the broom.
Video sped up
The purpose of this challenge is to create your initials using coordinates for all or at least one letter. In between initials and at the end, include flips. in-between each letter.
The new code in this program was the drone.go command. This uses x, y, and z to make the drone go diagonally, up and down. I only used it to go forward (x) .
Diagram showing what the drone is doing, not including turns. The thick lines represent the solid lines the drone makes and the thin lines represent the times where the drone has to retrace over the line (this happens in the A). The swirls represent the flips.
(need partner/second drone) Take off two drones from different hula hoops, make an octagon in the air using cw or ccw and Loop. FInally return to take off hula hoop.
User Input number of sides, take off from hula hoop, make polygon in air, land in hula hoop.
Polygon code. My representation of user input was to create multiple shapes and when a number of sides were specified it would make that shape. I did this by using if, elif, and else. If number of sides equals, for example, 6, then the drone will make a hexagon. The same thing goes for 8, 4, 5, and 3.
For my video I chose to make a hexagon. This is what it looks like in the command prompt.
Take off from hula hoop, use curve to make horizontal circle, use curve to make vertical circle, use circle to make diagonal circle, land in hula hoop.
This code uses drone.curve(“x1”, “y1”, “z1”, “x2”, “y2”, “z2”, “speed”). This allows the drone to make a circle.
take off from hula hoop, use go to diagonally pass through hoop, land on raised platform, take off from platform, use go to diagonally pass through second hoop, land in hula hoop.
In this code I used the drone.go(“x”, “y”, “z”, “speed”) to make the drone pass diagonally through 2 hoops. To do this I gave values to the x and y values, but no the z, so the drone would stay horizontal.
User Input number of sides, take off from hula hoop, make polygon in air, land in hula hoop.
When a number of sides are put in, it makes that shape. I chose eityher a pentagon or a square.
Square
The point of this challenge is to either make your own challenge or use one a past student made. Due to time constrains, I went with a student made one, calleed Drone Walk.
Drone Walk - Make a zig zag path using 8 flips, making the drone "walk". Then return to the launch hula hoop. (Created by Aidan Wrightson)
This drone uses for loops and flips to make the drone walk.