# Explore a concept in the browser Each lab opens with a short guided walkthrough: one explanation and one visual at a time. Use **Back** and **Next** to compare the staged results. Choose **Explore controls** for the full experiments described below; returning to the guide resets the current step. Start with a prediction, then explain the result to another student. ## Begin with one idea Open the [guided shooter demo](../labs/mechanism-fixed-shooter.html). Each step pairs a short explanation with the mechanism's actual model state. Compare the speed and heading gates before feeding. On desktop, the explanation sits beside the visual; on phones, they stack. The full sliders, sensor switches and source-code panel are available through **Explore controls**. ![Actual guided shooter walkthrough with a short step explanation beside the mechanism](../media/screenshots/guided-shooter.png) *Unedited desktop capture at commit 0c71dd1 from the [verified browser run](https://github.com/FRC1257/robotics-training/actions/runs/43047473739). The model is at guided step 3 of 4; it illustrates a readiness rule and does not reproduce measured robot physics.* ## Watch an AprilTag become a robot position Use the [AprilTag walkthrough](../labs/vision.html) to follow pixels, supplied corners and ID, camera pose and robot pose. Move the physical camera at step 5, then update its configured offset. At steps 6–7, change the measurement delay and compare a current estimate with and without capture-time motion history. Only the control relevant to the current concept appears. ![Actual AprilTag walkthrough showing an original marker pattern, four ideal corners and the decoded identity annotation](../media/screenshots/apriltag-corners.png) *Unedited screenshot from the [verified browser run](https://github.com/FRC1257/robotics-training/actions/runs/43053407819). The frame is constructed and its ideal observations are supplied analytically; this is not a physical camera capture or a running image detector.* ## Swerve translation and rotation Open the [swerve lab](../labs/swerve.html ':ignore'). With forward translation and zero rotation, every module should have the same velocity. Select rotation, disable steering optimization for the first comparison, and predict each corner's direction. Enable optimization and explain why the same physical velocity can use a negative wheel speed and a different steering angle.
Actual desktop swerve lab showing tangential module velocity arrows for pure rotation and the corresponding module state table
Unedited browser capture of this repository's lab at commit e09a4dc. The diagram describes ideal kinematics, not tire or motor dynamics. Select the image to inspect the full capture.
## Connect a mechanism to its code Open the [fixed-heading shooter lesson](../robot-types/fixed-shooter.md) and its embedded demo. Hold a feed request while changing wheel speed or chassis heading. Use **Step 20 ms** to see which gate prevents feeding, then compare the model decision with Team 254’s actual readiness checks. The animation beside the code stays synchronized with the larger mechanism view. The source notes explain where the teaching model differs from the real implementation. ![Actual shooter demo with a synchronized mechanism, sensor-to-output sequence and highlighted Team 254 source](../media/screenshots/mechanism-code.png) *Unedited desktop capture at commit b056d18 from the [verified browser run](https://github.com/FRC1257/robotics-training/actions/runs/42965365495). The Java excerpt is pinned and attributed; the browser runs an original JavaScript teaching model. All seven [robot-type lessons](../robot-types/README.md) include a mechanism demo.* ## PID on a phone Open the [PID lab](../labs/pid.html ':ignore'). The default plant has a constant downward load. Predict its final position with proportional feedback and no feedforward, then compare with the response after adding the stated gravity-compensation force. Use the sample table alongside the graph: error, requested output, and saturation are different quantities.
Actual mobile PID lab with vertically stacked controls, response graph, numerical samples, and model explanation
Unedited mobile browser capture after resetting and stepping the lab 500 times at commit e09a4dc. The model is paused at ten simulated seconds; it reports 0.750 m position and a 0.250 m error with these default inputs. This is a teaching-model result, not a hardware measurement.
## Experiment without leaving the lesson The [PID lesson](../frc/3-Closed_Loop_Control/2-Basics_of_PID.md) contains the working lab. Its controls, model description and numerical results stay beside the explanation. The embedded lab follows the lesson's theme; use **Open full lab** for a larger workspace. Loading an embed does not automatically mark that lab complete. ![Actual embedded PID lab inside a lesson, with near-black styling and purple controls](../media/screenshots/embedded-pid-dark.png) *Unedited desktop viewport capture of this application at commit e09a4dc. This is the actual teaching model rendered in the lesson, not a photograph of a robot.* ## Find a concept or code pattern Open search with the magnifying glass, **Ctrl/⌘ K**, or `/`. Try `SubsystemIOSim`, `interpolation tables` or a symptom such as `robot not moving`. Use the section filter, arrow keys and Enter to open a result. Escape closes the palette; the clear icon resets the query. Searches stay in your browser. ![Actual dark search palette showing interpolation results, breadcrumbs, highlighted terms and keyboard hints](../media/screenshots/search-dark.png) *Unedited desktop viewport capture at commit e09a4dc, searching the actual generated lesson index.* ## Investigate a real recording The [log explorer](../labs/log.html ':ignore') loads a small excerpt from a real 2024 Team 1257 recording. Start with [the source exercise](../robots/2024-log.md), identify the enabled interval, and compare the separate signal timestamps. This is a different kind of evidence from the synthetic PID and odometry models. The excerpt cannot establish transient peaks or a cause for a voltage change. These screenshots were produced by the [desktop/mobile CI browser run](https://github.com/FRC1257/robotics-training/actions/runs/42957979637), rather than generated as mockups. Their hashes and capture revision are retained in the repository's source inventory. The captures identify the exact tested revision.