Interactive labs
Start with the guided walkthrough: use Next to change one idea at a time and read what to notice in the visual. Choose Explore controls when you want to vary inputs yourself; Return to guide resets the current step. The labs run locally in your browser with no account or installation. They are teaching models, not validated robot simulations or hardware tuning tools.
AprilTag vision, one step at a time
Follow a camera observation to robot pose. The seven-step walkthrough starts with a synthetic camera image and reveals corners, tag identity, camera pose and robot pose. Later steps let you move the camera, correct its configured offset and change the measurement delay. Only the relevant control appears at each step; this demo uses Back/Next rather than the full Explore interface.
Concept labs
-
PID and feedforward lab — investigate error, saturation, windup, and gravity compensation.
-
Swerve kinematics lab — investigate coordinate frames, module velocities, desaturation, and steering optimization.
-
Command scheduler lab — step through requirements, interruption, release, and default commands.
-
Encoder units and homing lab — trace turns to distance and interpret switch polarity.
-
Motion profile lab — compare triangular and trapezoidal rest-to-rest reference moves.
-
Robot log explorer — inspect recorded voltage, module velocity, and enabled samples.
-
Odometry and delayed vision lab — compare drift and a simplified timestamped correction.
Mechanisms and real robot code
Open a robot-type lesson to use its embedded demo beside the explanation. Each pairs an original browser model with a short, pinned, MIT-licensed excerpt from Team 254 or Team 2910. Follow the short walkthrough first, then choose Explore controls for Run/Pause, 20 ms steps, sensor inputs, decisions and outputs; the browser does not execute the team's Java.
| Mechanism lesson | Try changing | Full-size demo |
|---|---|---|
| Fixed-heading shooter | Wheel speed and chassis heading before feed | Open |
| Turreted shooter | A reachable angle, a travel limit and a wrapped equivalent | Open |
| Piece handling | Front/back sensor priority and collection versus holding | Open |
| Elevator and wrist | A home reference, clearance height and wrist angle | Open |
| Telescoping arm | Shoulder alignment before extension | Open |
| Drivetrain | Translation, rotation and the lateral-drive constraint | Open |
| Climber | Homing, simulated cage detection and lift permission | Open |
The source panel identifies the team, revision, file and lines, and explains what the demo adds or simplifies. Sensor toggles are scenario inputs, not proof of physical detection or engagement. The climber demo illustrates a cage-related sequence, not a charge-station balance simulation.
All labs work with a keyboard. Use the numerical results alongside the plots and diagrams. Ask a mentor to review any plan to apply a concept to a real robot.