FRC Programming Workshop provides an interactive learning course, production code library, and technical handbook for FIRST Robotics Competition software engineering. The site follows the tiered documentation architecture of FRCDesign.org, translating mechanism workflows into robotics software patterns.
Site Layout and Navigation
Section titled “Site Layout and Navigation”Top Navigation and Contextual Sidebars
Section titled “Top Navigation and Contextual Sidebars”The top navigation bar divides the curriculum and reference materials into distinct engineering domains:
- Guided Learning Course: Six sequential stages from bench testing in Phoenix Tuner X to autonomous field-oriented swerve and vision.
- Mechanism Code: Production-grade Java subsystems and commands with hardware isolation.
- Programming Handbook: Theoretical foundations covering PID control, feedforward physics (), kinematics, and CAN architecture.
- Best Practices: Team Git workflows, stator current limits, soft limits, and pit turnaround checklists.
- Other Resources: Simulators (including PID Playground), vendor documentation portals, and a glossary.
- Educator’s Guide: Curriculum schedules, rookie and veteran pathways, and classroom lab challenges.
Selecting a section in the top navigation automatically updates the sidebar to display the chapter hierarchy for that section.
In-Page Table of Contents
Section titled “In-Page Table of Contents”On desktop displays, the right sidebar indicates your active position within the document. Selecting any heading scrolls directly to that section.
Code Snippets and Unit Safety
Section titled “Code Snippets and Unit Safety”Mechanism implementations in the Code Snippets section provide production Java code targeting modern WPILib releases.
Copy Buttons and Language Highlighting
Section titled “Copy Buttons and Language Highlighting”Hover over any code block to display the Copy Code button in the top-right corner. All code blocks use syntax highlighting:
// Setting a closed-loop position target with Motion Magicpublic void setTargetPosition(Angle targetAngle) { m_motor.setControl(m_motionMagic.withPosition(targetAngle));}WPILib Units Standard
Section titled “WPILib Units Standard”All code examples use the WPILib Units Library (edu.wpi.first.units.measure.*) rather than raw double primitives:
import edu.wpi.first.units.measure.Angle;import edu.wpi.first.units.measure.AngularVelocity;import edu.wpi.first.units.measure.Current;import static edu.wpi.first.units.Units.*;
Angle target = Degrees.of(45.0);AngularVelocity cruiseSpeed = RotationsPerSecond.of(10.0);Current currentLimit = Amps.of(40.0);Strongly typed units prevent unit conversion errors between degrees, radians, rotations, meters, and inches at compile time.
Automated Glossary Tooltips
Section titled “Automated Glossary Tooltips”Core robotics terms (such as PID, Feedforward, CAN FD, CANivore, Motion Magic, and Odometry) are highlighted throughout the documentation. Hovering over or selecting an underlined term displays its definition inline.
The complete term collection is available on the FRC Software Glossary page.
Full-Text Search
Section titled “Full-Text Search”Press Ctrl + K (or Cmd + K on macOS) or select the search bar in the header to open instant full-text search. You can search by class name (such as TalonFXConfiguration or SwerveSubsystem), concept (such as anti-windup or MegaTag2), or error code.