Flight School: Day 2

Day 1 standings

    Today

    1. Conditionals
    2. AI Vision
    3. Drone stations
    4. Finals and Prize Store
    The standings come straight from the scoreboard on this device. Read out the top three. Then make the point: today has more coins on offer than yesterday, so every team can still win.

    Day 2, Session 5

    Conditionals

    9:00–10:10

    1. The mind reader
    2. if, elif and else
    3. while loops and games
    4. Robot challenge
    Session 5 runs until recess at 10:10. Yesterday’s programs did the same thing every time. Today’s programs check something, then decide. The robots go first: everything this morning is tested in the Flight School simulator, then run on VEX AIM. The drones join in at the end of Session 6, once the robots have learned to see.

    Example: The mind reader

    Variables
    Output
    Don’t explain anything yet. Ask a student for a secret number from 1 to 100, press Run, and type it in. The computer finds it in 7 tries or fewer, every time. Challenge the room: can anyone pick a number that takes 8 tries? (Nobody can.) Then ask how it does it. It always guesses the middle of what is left, so every guess throws away half the numbers: 100, 50, 25, 12, 6, 3, 1. Point at the while, the if and the elif: by recess they will have written a game that uses all three.

    Comparing values

    • >greater than
    • <less than
    • ==equal to
    • !=not equal to
    • >=greater than or equal to
    • <=less than or equal to

    Every comparison is True or False

    7 <= 7      # True
    "7" == 7    # False

    Join them with and, or, not

    fuel > 20 and wind < 30
    wind > 40 or raining
    not landed
    One equals sign sets a variable. Two equals signs ask a question. "7" == 7 is False because one is text and one is a number. and needs both sides True; or needs at least one; not flips True and False.

    Comparisons in Python

    Variables
    Output
    Before you press Run, go line by line and have the room call out True or False for each print. Then Step through to check. Line 5 is the one most get wrong: wind is 12, so wind < 10 is False, and and needs both. Line 8: 35 - 12 is 23, and 23 >= 23 is True.

    True or false?

      1. 3 + 4 * 2 == 14 False Multiply first: 3 + 8 is 11.
      2. "7" == 7 False Text is never equal to a number.
      3. x = 8; x > 5 and x < 8 False 8 is not less than 8, and and needs both.
      4. x = 8; x < 5 or x == 8 True or only needs one side, and x == 8 is True.
      5. not 10 > 3 False 10 > 3 is True, and not flips it.
      6. fuel = 30; fuel = fuel - 15; fuel >= 15 True fuel ends at 15, and 15 >= 15 is True.
      7. 2 * 2 * 2 == 2 + 2 + 2 + 2 True Both sides are 8.
      8. "apple" < "banana" True Text compares in alphabetical order.
      9. "Zebra" < "apple" True Every capital letter comes before every small letter.
      10. a = 5; b = a; a = 9; b == 9 False b was set to 5. Changing a later doesn’t change b.
      Everyone stands. Thumbs up for True, thumbs down for False, then Reveal. Wrong answers sit down; the last ones standing earn their team a coin. Expect most of the room to be out by question 3. The last two questions are deliberately mean: capitals sort before small letters, and b keeps the value it was given.

      What is an if?

      An if runs lines only when its condition is True.

      • The line ends with a colon.
      • Indented lines belong to the if.
      • elif checks another condition.
      • else catches everything left.

      Pre-flight check

      if battery < 20:
          print("Charge it first")
      elif wind > 40:
          print("Too windy")
      else:
          print("Cleared for take-off")
      Python checks from the top and runs the first branch that is True, then skips the rest. Only one branch ever runs. Ask: battery 10 and wind 60, what prints? (Charge it first: the first True branch wins.)

      Example: Password

      Output
      Run it and let students call out guesses. Type them exactly as said: Falcon42 with a capital F is denied, because == checks every character. input() waits for someone to type, and gives back what they typed as text. Ask: how could we give three tries? Keep that for the while loop.

      Example: Flight checker

      Output
      int() turns the typed text into a number, so it can be compared with 40. Without it, Python would be comparing text with a number, like "7" == 7 in the quiz. Ask for a wind speed that gives each message. Then the edge cases: what does exactly 40 print? (Fly low: 40 is not greater than 40.)

      Predict: Which medal?

      • ABronze
      • BGold
      • CBronze, then Gold
      Output
      Vote first. Most students say Gold, since both Gold conditions are True. Answer: A, Bronze. score > 50 is True, so the first branch runs and Python never looks at the rest. Ask how to fix it: put the hardest check first.

      Example: Asteroid dodge

      Variables
      Output
      A ship flies through an asteroid field for 10 seconds. Each second there is a 1 in 4 chance of a hit. Before each Run, teams bet: home or destroyed? It is close to 50/50. random.randint(1, 4) picks 1, 2, 3 or 4, so == 1 happens a quarter of the time. break stops the loop early. Ask: what would you change to make the game harder? (randint(1, 3), or fewer shields.)

      Try it: Dice duel

      1. Roll a dice for you and one for the robot. Print who wins, or Draw.me = random.randint(1, 6)
      2. Play 5 rounds. Count your wins and print the score at the end.for game in range(5):
      3. Bonus: print Double six! when both dice are 6.if me == 6 and bot == 6:
      Students work on their Flight School page: Challenges, Conditionals, Dice duel. The draw is the else: if neither roll is bigger, they must be equal. Common errors: = instead of ==, a missing colon, and else with a condition after it. The wins variable must start at 0 before the loop, not inside it.

      Example: Dice duel

      Variables
      Output
      Run it a few times and let the room cheer. Ask what happens if wins = 0 moves inside the loop. (It resets every round, so you can never win more than 1.)

      What is a while loop?

      A while loop repeats as long as its condition is True.

      • for repeats a set number of times.
      • while repeats until something changes.
      • If nothing changes, it never stops.

      Exactly 3 times

      for i in range(3):
          robot.move_for(50, 0)

      Until it has the ball

      while not robot.has_sports_ball():
          robot.move_for(50, 0)
      Use while when you don’t know how many times. The robot doesn’t know how far away the ball is, so it can’t use range: it drives a little, checks, and goes again. not flips True and False, so while not has the ball means while it doesn’t have the ball.

      Example: Three tries

      Variables
      Output
      The password program again, now with three tries. The loop keeps going while the guess is wrong and there are tries left; and means it stops as soon as either one changes. Run it and get it wrong three times, then run it and get it right on the second go. Ask: why do we need the if after the loop? (The loop can end for two different reasons.)

      Try it: Guess the number

      1. The computer picks a secret number from 1 to 100.secret = random.randint(1, 100)
      2. Keep asking for guesses until the player gets it. Print Too high or Too low each time.guess = int(input("Guess: "))
      3. Bonus: count the guesses and print the total at the end.tries = tries + 1
      Students work on their Flight School page: Challenges, Conditionals, Guess the number. This is the mind reader turned round: now the player guesses. guess must start at a value that isn’t the secret (0 works), or the while never starts. Teams who finish play each other. The best possible score is 7, using the mind reader’s halving trick.

      Example: Guess the number

      Variables
      Output
      Play it as a class: students call out guesses. Someone will use the halving trick from the mind reader; point it out when they do.

      Sensor commands

      • robot.has_sports_ball()True when the robot is holding a ball.
      • drone.get_z_position()The drone’s height, in millimetres.
      • robot.vision.get_data()What the robot’s camera can see. After recess.
      A sensor command asks the robot or drone a question while the program runs. Put one in an if or a while and the program can react. These are real VEX commands; they work the same on the real robot and drone.

      Conditionals challenges

      Test it in the Flight School simulator, then run it on your robot.

      Leave this up while teams work. Click a challenge to open its slide. Robots run at the stations. Teams that finish early can try the bonus, or go back to the Day 2 examples and change them. The drone versions of these ideas come after the vision lesson.

      Challenge: Ball keeper

      1 coin

      Drive forward until the robot has the ball, then kick it.

      • The ball moves every time you press Run.
      • Use a while loop and robot.has_sports_ball().
      • Bonus: after the kick, drive back to where you started.

      On the real robot: put the ball anywhere 30 to 70 cm straight ahead, and move it before every run. A team earns the coin when the same program works with the ball in two different places.

      Day 2, Session 6

      AI Vision

      10:30–12:30

      1. How the robot sees
      2. Balls and barrels
      3. AprilTags
      4. Robot vision challenges
      5. Drone challenges
      6. Drone vision
      Session 6 runs until lunch at 12:30. Every VEX AIM robot has an AI Vision camera on the front. By lunch, teams will have robots that find a ball wherever it is. Once the robot vision challenges are done, the drones come out: first if and while on the drone, then its cameras.

      Example: Find and fetch

      Press Run, then press it again: the ball is somewhere new each time, and the robot finds it every time. The black panel in the corner is what the robot’s camera sees. Then walk through the three parts: look around until the camera sees the ball and turn to face it; drive forward until the ball is collected, adding up the distance in d; drive back the same distance and put the ball down. Teams write this exact program as the last challenge of the session.

      How the robot sees

      • CameraOn the front of the robot, looking forward.
      • AITrained to spot certain objects in the picture.
      • ObjectsSports balls, orange barrels, blue barrels, other robots and AprilTags.
      • RangeIt only sees what is in front of it. Turn to look around.
      The camera takes many pictures a second, and the AI model draws a box round every object it recognises. It was trained on the AIM kit, so it knows a sports ball but not a tennis ball or a water bottle. Hold up a ball and a barrel as you talk.

      What the camera reports

      ball = robot.vision.get_data(SPORTS_BALL)
      • .existsTrue if it found one.
      • .centerXWhere it is across the picture, 0 to 320.
      • .bearingDegrees to turn to face it.
      • .widthHow wide it looks. Wider is closer.
      middle: 160 SPORTS_BALL width 56 0 320 centerX 220
      get_data gives back a list of everything it found, biggest first, so ball[0] is the closest ball. Always check .exists before using the rest: if the camera sees nothing, the other numbers are all 0. A centerX of 160 means straight ahead.

      Example: Robot reactions

      Run it several times. The ball moves each time. When the ball is in front, the robot gets excited and turns to face it; when it is behind, the camera can’t see it and the robot is sad. Ask: how would you make it look around first? (Turn in small steps until it sees the ball.)

      See what your robot sees

      1. Make this the first line of your program:robot.screen.show_aivision()
      2. Run it.
      3. The robot’s screen shows its camera, with a box round everything it spots.
      4. Hold a ball and a barrel in front of it.
      Every team tries this on their real robot before the challenges. It is the best debugging tool for vision: if the box isn’t on the screen, the program can’t see the object either. Watch for bright windows behind objects; strong light makes detection harder.

      Predict: Which zone?

      The barrel is blue. Which zone does the robot drive into?

      Vote: Orange zone, Blue zone, or neither. Answer: Blue. It only looks for orange barrels, finds none, so .exists is False and the else runs. This is most of the Barrel sorter challenge.

      AprilTags

      • WhatA printed black and white square.
      • NumberEach tag has an ID from 0 to 37.
      • WhoThe robot and the drone can both read them.
      tags = robot.vision.get_data(ALL_TAGS)
      print(tags[0].id)
      • ID 1
      • ID 2
      • ID 3
      Hold up a printed tag. Each pattern means one number, so a robot can read a sign without knowing any letters. Warehouses use these to guide robots. .id gives the number on the biggest tag the camera can see. Print the tags from the VEX AIM resources before the session.

      Vision challenges

      Objects and tags move on every Run. For coins, it has to work with them in at least two different places.

      Leave this up while teams work. A program that only works in one place didn’t use the camera. Give teams most of the session here: once the robot challenges are done, the drone challenges start.

      Challenge: Face the ball

      1 coin

      Turn until the robot is facing the ball.

      • The ball moves every time you press Run.
      • Turn in small steps until the camera sees it.
      • Then turn by its bearing.

      On the real robot: put the ball anywhere about 50 cm away, including behind. Turning by the bearing corrects the last bit; a team that only turns in 20 degree steps will usually be a little off.

      Challenge: Barrel sorter

      2 coins

      Orange barrel: drive into the left zone. Blue barrel: drive into the right zone.

      • The barrel is 50 cm ahead.
      • It could be either colour.

      Real setup: a barrel 50 cm ahead of the start, and a 35 cm taped square 40 cm to the left and 40 cm to the right. Swap the barrel colour while the team isn’t looking, then they press Start.

      Challenge: Tag reader

      2 coins

      Read the AprilTag, then drive into the zone with the same number.

      • Zone 1 is left, zone 2 is right, zone 3 is behind you.
      • Use if, elif and else.

      Real setup: tape tag 1, 2 or 3 to a box or barrel 50 cm ahead, facing the robot. Taped zones 40 cm left, 40 cm right and 30 cm behind, numbered with tape. Change the tag between runs.

      Challenge: Find and fetch

      3 coins

      Find the ball, collect it, bring it back to the start and put it down.

      • The ball can be anywhere in front of the robot.
      • Count how far you drive, so you can drive back.

      The hardest robot challenge of camp. The trick is the variable d, which adds up how far the robot drove so it can reverse the same distance. Real setup: ball anywhere up to 80 cm away, in front of the robot.

      Drone challenges

      Test it in the Flight School simulator, then fly it with an instructor.

      The robots have had their turn; now the same if and while ideas go on the drone. None of these need the camera yet. Drones fly one at a time in the flying zone with an instructor. While a team waits for a drone, they work on the next challenge in the Flight School simulator.

      Challenge: Smart climb

      1 coin

      Take off to 50 cm, climb 20 cm at a time while lower than 1.5 m, then land.

      • drone.get_z_position() gives the height in mm.
      • Use it in a while loop.
      • Bonus: then come back down to 50 cm the same way before landing.

      Switch to 3D to see the height. The drone stops at 1.5 m because it checks before every climb. On the real drone, read the height on the dashboard: it should finish within 20 cm of 1.5 m.

      Challenge: Zigzag

      2 coins

      Collect the 4 coins. They zigzag left and right.

      • Take off to 80 cm.
      • Coin 1: 40 cm ahead, 40 cm right.
      • Then every 50 cm ahead, 80 cm across, swapping sides.
      • Use a loop and an if.

      The first coin is a special case, then the pattern repeats. The if swaps the direction each time round. Faster teams may spot they could write side = 360 - side instead.

      Challenge: Square spiral

      2 coins

      Fly a square spiral that grows by 40 cm every side.

      • Sides: 40, 80, 120, 160, 200 cm.
      • Turn right after every side.
      • Use a loop and a variable that grows.

      A variable that changes inside a loop. Ask what to change for a spiral that grows by 30 cm. The sim drone stops at the edge of the zone if a side is too long.

      Challenge: Hurdles

      3 coins

      Jump 3 hurdles that get higher, and drop down for the coin after each one.

      • Hurdles: 80 cm, 1.1 m, 1.4 m high.
      • First one 30 cm ahead, then every 80 cm.
      • Drop to 50 cm after each one for the coin.
      • The jump grows by 30 cm each time.

      Switch to 3D. The hurdles are orange bars: the drone must go over them. The coins after each hurdle force it back down. Clearing a hurdle needs at least 12 cm of space above it.

      The drone’s cameras

      • ForwardLooks ahead, like the robot’s camera.
      • DownwardLooks at the floor under the drone.
      • SeesAprilTags only, not balls or barrels.
      tags = drone.vision.get_data(
          DOWNWARD_CAMERA, ALL_TAGS)
      
      if tags[0].exists:
          drone.land()
      The drone has two cameras. The downward one is how it can find a landing spot on the floor. Same idea as the robot: get_data gives a list, and [0].exists says whether it found a tag.

      Calling drone vision

      tags = drone.vision.get_data(DOWNWARD_CAMERA, ALL_TAGS)
      • drone.visionThe drone’s cameras.
      • .get_data( )Take a picture and list the tags in it.
      • DOWNWARD_CAMERAWhich camera to use. Always first.
      • ALL_TAGSWhat to look for: any tag, or just one, like TAG5.
      • tags =Keep the list so you can check it.

      The robot has only one camera, so it leaves the camera out: robot.vision.get_data(ALL_TAGS)

      Read the line left to right. The one new part compared with the robot is the camera: the drone has two, so you have to say which one, and it always comes first. The second part is what to look for. ALL_TAGS finds any tag; TAG0 to TAG37 finds only that number and ignores the rest. Typing the camera second, or leaving it out, is the most common mistake this session.

      What the drone gets back

      tags = drone.vision.get_data(
          DOWNWARD_CAMERA, ALL_TAGS)
      
      if tags[0].exists:
          print(tags[0].id)
      • tags[0]The biggest tag it can see.
      • .existsTrue if it found one.
      • .idThe number on the tag.
      • .widthHow big it looks. Bigger means lower.
      looking down id 5 width nothing seen: .exists False, .id 0
      Exactly the same as the robot: a list, biggest first, so tags[0] is the tag that fills most of the picture. Point at the bottom line. When it sees nothing, .id is 0, and 0 is also a real tag number, so a program that skips .exists can’t tell “no tag” from “tag 0”. Check .exists first, every time. .width grows as the drone gets lower, which is handy for judging height over a tag.

      When the drone can see

      • In the airOn the ground the downward camera sees nothing. Take off first.
      • HeightHigher sees more floor. Lower sees the tag bigger. About 40 cm works well.
      • Below itThe tag has to be under the drone, not off to the side.
      • One photoget_data is a photo, not a video. Ask again after every move.
      These four explain nearly every “it can’t see the tag” question today. The drone needs to be at least 10 cm up before the downward camera reports anything. The last row is the big one and the next slide shows it. On the real drone, good light matters too: shadows across a tag or glare from a window can stop it being read. The simulator models only the downward camera; FORWARD_CAMERA always comes back empty there, so use it only on the real drone.

      Ask again after you move

      Looks once

      drone.take_off(climb_to=400)
      tags = drone.vision.get_data(
          DOWNWARD_CAMERA, ALL_TAGS)
      
      while not tags[0].exists:
          drone.move_for(0, 100)

      tags never changes, so it flies forever.

      Looks every step

      drone.take_off(climb_to=400)
      tags = drone.vision.get_data(
          DOWNWARD_CAMERA, ALL_TAGS)
      
      while not tags[0].exists:
          drone.move_for(0, 100)
          tags = drone.vision.get_data(
              DOWNWARD_CAMERA, ALL_TAGS)

      A new photo after each move, so it stops over the tag.

      Ask the room what the left one does before revealing the answer. tags is a variable: it holds the photo from the moment get_data ran, and moving doesn’t update it. The fix is to call get_data again inside the loop. Putting the call straight in the while line does the same thing in one line: while not drone.vision.get_data(DOWNWARD_CAMERA, ALL_TAGS)[0].exists. Either is fine.

      Predict: What does it show?

      There is a tag right under the drone. What does the controller show?

      Vote: the tag’s number, or No tag. Answer: No tag. It took the photo while still sitting on the floor, where the downward camera can’t see. Ask a team to fix it by swapping the first two lines, then Run again: now it shows the tag number. Same lesson as the last slide: look at the right moment.

      Example: The drone decides

      There is a real AprilTag under the drone, and it changes every Run: 1, 2 or 3. The drone reads it after take-off and picks a different flight for each number: 1 flies a square, 2 climbs high and spins, 3 dashes forward. Run it a few times and have the room call out the tag number before the drone moves. Same if, elif and else as this morning; only the question has changed.

      Drone vision challenges

      Tags move on every Run. For coins, it has to work with them in at least two different places.

      Leave this up while teams work. Drone tag challenges work for real with printed tags taped to the floor. Tag landing is also this afternoon’s final, so every team should try it before lunch.

      Challenge: Tag landing

      2 coins

      Fly forward until the downward camera sees the tag, then land on it.

      • The tag moves every time you press Run.
      • Fly low, about 40 cm, so the camera can see it.

      Real setup: a tag on the floor somewhere between 65 cm and 1.85 m straight ahead of the take-off spot. Move it between runs. Landing within 25 cm of the tag earns the coins. This is also this afternoon’s final.

      Challenge: Tag messenger

      3 coins

      Read the tag under the drone, then land on the pad with the same number.

      • The tag under the drone says 1, 2 or 3.
      • Pad 1: 1 m ahead, 80 cm left.
      • Pad 2: 1 m ahead, 80 cm right.
      • Pad 3: 1.8 m ahead.

      Works for real too: tape tag 1, 2 or 3 under the take-off spot and three numbered pads. Swap the tag between runs without the team seeing.

      Challenge: Elevator

      2 coins

      Read the floor number on the tag, climb to that floor, then land.

      • The tag says 1, 2, 3 or 4.
      • Each floor is 50 cm higher.
      • One climb, worked out from the tag.

      Some teams will write four ifs; that works. Show the one-line maths version afterwards. Check the height on the 3D view.

      Challenge: Land on tag 5

      2 coins

      Two tags are ahead. Land on tag 5, not tag 3.

      • Tag 3 and tag 5 are straight ahead.
      • They swap places every Run.
      • Ask the camera for one tag only.

      The same program as Tag landing with one word changed. Teams who used ALL_TAGS will land on whichever tag comes first.

      Challenge: Tag counter

      3 coins

      Count the tags you fly over and show the number on the controller.

      • 2 to 4 tags, different every Run.
      • Fly 2.4 m in 10 cm steps, 40 cm high.
      • Print the count on the controller screen.

      The hardest drone challenge of the day. Most first attempts count every step the tag is visible and get 10 or more. The fix is remembering the last answer in a variable.

      Day 2, Session 7

      Drone stations

      1:10–2:10

      1. Slalom
      2. Over and under
      3. Tag landing
      4. Drone challenges
      Four stations, one team at each, rotating every 12 minutes. The stations should already be set up; the setup slides with measurements are at the end of this deck.

      The stations

      1. Code it and test it in the simulator.
      2. Show the instructor.
      3. Fly it for real.
      4. Move on when the timer ends.
      Stations 1 to 3 each have an instructor and a drone. Station 4 is laptops: teams code drone challenges in the Flight School simulator. Teams start at the station matching their number and move to the next one when the 12 minute timer ends. Press the timer to start each rotation. A run that finishes the course earns the coins; teams can retry as many times as time allows.

      Station: Slalom

      2 coins

      Weave between the 3 poles, then land on the pad.

      • Take off to 80 cm.
      • Pole 1 is 60 cm ahead. The poles are 65 cm apart.
      • Go left of pole 1, right of pole 2, then left of pole 3.
      • The pad is 2.45 m ahead.

      Touching a pole ends the run. The fast teams will spot the repeating pattern: right 80, forward 65, left 80, forward 65. Challenge them to write it with a loop.

      Station: Over and under

      3 coins

      Fly under the bar, over the table, then land on the pad.

      • The bar is 60 cm ahead and 90 cm high.
      • The table starts 1.1 m ahead and is 75 cm high.
      • The pad is 2.3 m ahead.

      Switch to 3D so teams can see the heights. The drone has to stay low until it is past the bar, then climb before it reaches the table. Touching the bar or the table ends the run.

      Station: Tag landing

      2 coins

      Find the tag with the downward camera and land on it.

      • The tag is somewhere between 65 cm and 1.85 m ahead.
      • The instructor moves it before every run.
      • Land within 25 cm of the tag.

      Teams who did Tag landing this morning can use the same program. Move the tag before every run so a fixed distance won’t work. Measure from the centre of the tag to the centre of the drone.

      More drone challenges

      Station 4. Code it in the Flight School simulator. Finished ones can be flown for real at the end.

      The laptop station. The first three are new; the rest are from this morning for teams who didn’t finish them. A simulator run that passes earns the coins at this station. Real flights of these can happen in the last session.

      Challenge: Spiral staircase

      2 coins

      Fly round a square twice, climbing 20 cm at every corner.

      • Square with 80 cm sides.
      • Climb 20 cm at every corner.
      • Twice round, 8 coins.

      Best watched in 3D. Ask how high it ends: 50 cm plus 8 climbs of 20 cm is 2.1 m.

      Challenge: Rollercoaster

      2 coins

      Ride the rollercoaster: up, along, down, along, three times.

      • Forward 40 cm, up 70 cm.
      • Forward 40 cm, down 70 cm.
      • Three times round.

      A warm-up for the laptop station. Ask for a version with 4 humps that still fits in the zone.

      Challenge: Maze

      3 coins

      Fly round both walls and land on the pad.

      • Wall 1: 60 cm ahead, gap on the right.
      • Wall 2: 1.5 m ahead, gap on the left.
      • Too tall to fly over.
      • Pad: 2.3 m ahead.

      Use 2D view to plan. Teams should sketch the route with distances before coding. Wall 1 ends 40 cm right of the start; wall 2 ends 40 cm left of it.

      Day 2, Session 8

      Finals and Prize Store

      2:30–[3:30]

      1. Last station runs
      2. Tag landing showdown
      3. Final standings
      4. Prize Store
      About 20 minutes of open stations so teams can finish what they missed, then the showdown, standings and the Prize Store.

      Last station runs

      • Go to any station you haven’t finished.
      • Get your Tag landing program ready for the showdown.
      Open stations for 20 minutes: teams choose where to go. Make sure every team leaves with a Tag landing program that has worked at least once; they need it for the showdown.

      Tag landing showdown

      1. An instructor puts the tag in a new spot.
      2. Each team runs its Tag landing program once.
      3. We measure from the centre of the tag to the centre of the drone.
      4. Closest: 3 coins. Second: 2 coins. Third: 1 coin.
      Everyone watches from behind the line. Before each run, let the team before choose where the tag goes, inside the taped zone. Read every distance out loud and write it on the board. Award coins on the scoreboard (press C). A team whose program doesn’t find the tag scores no distance and can’t place.

      Final standings

        The standings come straight from the scoreboard. Count down from last to first if you want suspense, then congratulate the winning team.

        Prize Store

        • SquishySquishy
        • Pokémon card packPokémon cards
        • LabubuLabubu
        Teams shop in order, from most coins to fewest, one team at a time. Set prices before the session and write them on the board. Teams decide together how to spend their coins.

        Setup: Slalom

        StartPole 1Pole 2Pole 3Pad60 cm65 cm65 cm55 cmdrone path
        • Poles3 pool noodles, each standing in a cone.
        • LineTape the start, the poles and the pad in a straight line.
        • PadA taped square or a landing pad, 2.45 m from the start.
        Measure from the centre of the start square. Pool noodles need to stand at least 1.2 m tall so the drone at 80 cm can’t fly over them. Leave 1.5 m clear on both sides of the line.

        Setup: Over and under

        Bar on chairsTabledrone pathStartPad90 cm75 cm60 cm50 cm60 cm60 cm
        • BarA pool noodle across two chair backs, about 90 cm up.
        • TableA table 1.1 m from the start, about 75 cm high.
        • PadA taped square 2.3 m from the start, past the table.
        Measure your bar and table heights and tell teams if they differ: the code has to fit the real course. Tape the noodle down so the downdraught can’t blow it off. Nobody sits at or near the table.

        Setup: Tag landing

        The tag goes anywhere in hereStart65 cmup to 1.2 m further
        • TagOne printed AprilTag, flat on the floor, taped at the corners.
        • ZoneMark 65 cm and 1.85 m from the start with tape.
        • TapeA tape measure to check each landing.
        Move the tag to a new spot inside the zone before every run, straight ahead of the start. Any tag ID works for ALL_TAGS. Tape the corners so the downdraught can’t lift it.