Skip to content
Robot On-Ramp
Level 1, Pup0 XP0 of 150 XP to Scout

Eight weeks

The map

Guest

Your run

Total XP
0
Rank
Pup

150 XPto Scout

Continue

What you are about to build

Week 1Read5 min+12 XP

Week 1: 0 of 9 missions · 0 of 71 across the course · 0 of 2,257 XP earned

You are playing as a guest. Join your team to keep your progress on any device.

Join a team
  1. Setup and Java Basics0/9

    Teach a computer five facts about a robot, then stop it setting a motor on fire.

    0/27

    By the end of this week: clamp logic with if/else, tested with 2.0, -3.5 and 0.5

    1. Read6 min+13 XP

      Boxes with names on them

      Store a number once, use it everywhere.

      Finish What you are about to build first.
    2. Code8 min+40 XP

      The robot spec sheet

      Five facts about a robot, printed by your own program.

      Finish Boxes with names on them first.
    3. Quiz5 min+18 XP

      The division that lies to you

      Six questions about the maths Java does behind your back.

      Finish The robot spec sheet first.
    4. Read5 min+12 XP

      Asking the robot a question

      if, else, and why 1.4 is not a motor speed.

      Finish The division that lies to you first.
    5. Code10 min+86 XP

      Boss: keep every motor legal

      The week's deliverable - if/else that no mechanism can escape.

      Finish Asking the robot a question first.
    6. CodeHomework8 min+42 XP

      Homework: how far did it actually go?

      Turn encoder ticks into inches, the way every auto routine does.

      Finish Boss: keep every motor legal first.
    7. QuizStretch5 min+18 XP

      Stretch: decimals are liars

      Why 0.1 + 0.2 is not 0.3, and what to do about it.

      Finish The division that lies to you first.
  2. Methods and Reading Errors0/8

    Write it once, name it, and learn to read the compiler when it complains.

    0/24

    By the end of this week: applyDeadband(), matching WPILib's MathUtil exactly

    Week 2 opens once week 1 is done, or when your mentor opens it.

    1. Read5 min+12 XP

      Write it once, use it everywhere

      A method is a question your code can ask over and over.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    2. Code7 min+40 XP

      Give it a name

      Turn last week's four copies of clamp into one method.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    3. Read5 min+12 XP

      The compiler is talking to you

      Three habits that turn a wall of red into a one-line fix.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    4. Quiz7 min+20 XP

      Eight real errors

      Every message here came out of the actual compiler. Find the line.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    5. Code8 min+40 XP

      Make it compile

      Broken code, real messages, your job to fix it.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    6. Read5 min+12 XP

      And, or, not

      Three words that make one if do the work of three.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    7. Code10 min+84 XP

      Boss: applyDeadband

      The week's deliverable - and the real WPILib method, line for line.

      Opens with week 2. Finish week 1, or ask your mentor to open it.
    8. CodeHomework8 min+40 XP

      Homework: two methods the robot needs

      Are we there yet, and should the rollers be spinning?

      Opens with week 2. Finish week 1, or ask your mentor to open it.
  3. Classes and Objects0/9

    Build the blueprint. Then build the robot out of it.

    0/27

    By the end of this week: A Motor class and a Drivetrain built from two of them, pushed to GitHub

    Week 3 opens once week 2 is done, or when your mentor opens it.

    1. Read4 min+12 XP

      Blueprint and thing

      One class, four motors. Find out how that works.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    2. Code6 min+24 XP

      Use somebody else's class

      Drive two encoders that already exist. Notice they remember separate things.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    3. Read5 min+14 XP

      Constructors, this, private, final

      Four words that turn a pile of fields into a class you can trust.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    4. Quiz4 min+18 XP

      Blueprint check

      Five questions. Then you build the real thing.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    5. Code12 min+92 XP

      Motor, then Drivetrain

      The week's boss. Build the class the whole robot is made of.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    6. Read4 min+12 XP

      You already wrote a subsystem

      Your Drivetrain versus the real WPILib one. Spot the difference.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    7. Quiz4 min+16 XP

      Git, in order

      Rehearse the five commands on your phone before you type them for real.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    8. ChecklistHomework25 min+30 XP

      Open your first pull request

      The real thing, on a laptop. Six steps, ending with a human reading your code.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
    9. CodeHomework10 min+40 XP

      The Intake class

      Homework. Your own class, holding a motor, with one trap in it.

      Opens with week 3. Finish week 2, or ask your mentor to open it.
  4. First Robot Code in Simulation0/10

    Write five lines. Drive a robot across your screen.

    0/30

    By the end of this week: Arcade drive working in the simulator, with a deadband on both sticks

    Week 4 opens once week 3 is done, or when your mentor opens it.

    1. Robot5 min+26 XP

      Make it move

      Two lines of Java and a robot rolls across the field. Start here.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    2. Read5 min+14 XP

      Fifty times a second

      What you just ran, and why nothing in robot code ever happens only once.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    3. Quiz4 min+18 XP

      Loop check

      Five questions about the loop before you build on top of it.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    4. Robot6 min+28 XP

      Two sticks, two sides

      Tank drive: the left stick runs the left side, the right stick runs the right.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    5. Robot6 min+30 XP

      The robot that spins

      Somebody deleted one line. Press Run, watch it spin, work out why.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    6. Read4 min+12 XP

      WPILib already wrote your deadband

      Your week 2 method, shipped in the library, with one improvement.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    7. Robot12 min+80 XP

      Arcade drive

      The week's boss. One stick to go, one stick to turn, and a deadband on both.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    8. RobotHomework8 min+30 XP

      Slow mode

      Homework. Hold the right bumper for half speed, the way every driver asks for.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    9. ChecklistHomework30 min+24 XP

      Homework: make the project on your own laptop

      Everything you have driven so far has been ours. This one is yours.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
    10. RobotStretch6 min+20 XP

      A second speed

      Stretch. Left bumper for a crawl, and a decision about what happens when both are held.

      Opens with week 4. Finish week 3, or ask your mentor to open it.
  5. Command-Based Programming0/8

    Stop writing what happens every loop. Start saying what you want.

    0/24

    By the end of this week: An IntakeSubsystem with an intakeCommand bound to the A button

    Week 5 opens once week 4 is done, or when your mentor opens it.

    1. Read5 min+14 XP

      Four words and a referee

      Subsystem, command, trigger, scheduler. What each one actually is.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    2. Robot6 min+26 XP

      Watch the scheduler

      A finished robot with one line missing. Add it and the panel comes alive.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    3. Read5 min+14 XP

      Lambdas and command factories

      Arrows, and the four short ways to make a command.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    4. Quiz4 min+20 XP

      Command check

      Five questions on factories, lambdas and bindings before you build one.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    5. Robot12 min+85 XP

      IntakeSubsystem

      The week's boss. Build a subsystem, hand out a command, bind it to A.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    6. RobotHomework7 min+28 XP

      Spit it back out

      Homework. Outtake on B held, and the same command on X as a latch.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    7. RobotHomework10 min+50 XP

      Move the drive in

      Homework. Week 4's arcade drive becomes a subsystem with a default command.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
    8. RobotStretch6 min+22 XP

      IndexerSubsystem

      Stretch. A third mechanism, from an empty file, with no starter to lean on.

      Opens with week 5. Finish week 4, or ask your mentor to open it.
  6. Sensors and Simple Autonomous0/9

    Give the robot one thing it can see. Then let it drive itself.

    0/27

    By the end of this week: intakeUntilLoadedCommand() plus a sequential autonomous routine that drives, loads and parks

    Week 6 opens once week 5 is done, or when your mentor opens it.

    1. Read4 min+12 XP

      One bit of truth

      A beam break is a light and a detector. Learn which way round it reads.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    2. Robot8 min+28 XP

      Wire in the beam break

      Add the sensor, and put what it says on the dashboard.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    3. Read5 min+13 XP

      Commands that know when to stop

      until() and withTimeout(): two ways to end a command that is not a button.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    4. Quiz4 min+20 XP

      Sensor check

      Five questions about pins, polarity and endings.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    5. Robot7 min+30 XP

      Stop when it is in

      One line of decorator turns a held button into a command that finishes itself.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    6. Robot12 min+76 XP

      Fifteen seconds with nobody driving

      The week's boss. Chain two commands into a routine the robot runs on its own.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    7. Read5 min+14 XP

      What PID does (watch only)

      Two traces of the same arm. One overshoots. Nobody is tuning anything today.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    8. RobotHomework10 min+42 XP

      Rewrite the routine

      Homework. Forward, load, park — then do the first two at the same time.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
    9. QuizHomework4 min+18 XP

      withTimeout or until?

      Homework reflection. Five questions that make you pick, and say why.

      Opens with week 6. Finish week 5, or ask your mentor to open it.
  7. Real Hardware0/8

    Same code, real motors. Safety first, then the swap that proves the point.

    0/24

    By the end of this week: A PWM subsystem converted to SPARK MAX on CAN, with the commands, bindings and auto untouched

    Week 7 opens once week 6 is done, or when your mentor opens it.

    1. Checklist8 min+30 XP

      Safety briefing

      Six rules and a signature. Nobody enables a robot until a mentor has ticked these.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    2. Read6 min+14 XP

      What is actually on the robot

      roboRIO, CAN bus, CAN ids, PWM, inversion, vendor libraries. The vocabulary.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    3. Quiz4 min+20 XP

      Hardware check

      Five questions before anybody touches a real robot.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    4. Robot12 min+82 XP

      The swap

      The week's boss. Move the robot onto the CAN bus without touching a single command.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    5. Read5 min+13 XP

      Deploy day

      What a browser cannot do for you, and everything either side of it that it can.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    6. RobotHomework12 min+48 XP

      Somebody else's robot

      Homework. A real project you did not write. Find your way around it and change two things.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    7. QuizHomework5 min+18 XP

      Where does that live?

      Homework. Five questions about the project you just toured. No editor, just navigation.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
    8. ChecklistHomework20 min+24 XP

      One thing you would improve

      Homework. Read last season's real code, pick one thing, and say why in the team channel.

      Opens with week 7. Finish week 6, or ask your mentor to open it.
  8. Mini Capstone0/10

    Pick one job. Ship it. Show it to the team.

    0/30

    By the end of this week: One feature, working on the robot, demoed and explained

    Week 8 opens once week 7 is done, or when your mentor opens it.

    1. Read6 min+15 XP

      Pick your feature

      Seven jobs on the team robot. Read the code, then choose one.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    2. Robot8 min+45 XP

      Slow mode

      Easier. Hold the right bumper and the drivetrain calms down.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    3. RobotHomework7 min+45 XP

      Reverse the intake

      Easier. B spits the game piece back out when the roller jams.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    4. RobotHomework7 min+45 XP

      Put the intake on the dashboard

      Easier. Let the drive team see the roller and the sensor from the pit.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    5. RobotHomework9 min+50 XP

      Move the numbers into Constants

      Easier. One number, one place, so changing it takes ten seconds.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    6. RobotHomework9 min+55 XP

      An intake that knows when to stop

      Harder. Tap X and the roller runs until the beam break sees the piece.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    7. RobotStretch10 min+55 XP

      A simple autonomous

      Harder. Fifteen seconds with nobody driving. Make them count.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    8. RobotStretch9 min+55 XP

      A second command for the drivetrain

      Harder. Tap Y and the robot creeps forward on its own, then stops.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    9. ChecklistHomework30 min+60 XP

      Demo day

      Six boxes. Tick the last one and you have shipped to a real robot.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
    10. Read5 min+15 XP

      What happens at kickoff

      January, the game reveal, and the first task with your name on it.

      Opens with week 8. Finish week 7, or ask your mentor to open it.
Map · Robot On-Ramp