Skip to content
learnFRC.org
resource

Website Feature Guide

Documentation tools, interactive simulators, code snippet standards, and navigation systems on FRC Programming Workshop.

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.

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 (kS,kV,kA,kGkS, kV, kA, kG), 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.

On desktop displays, the right sidebar indicates your active position within the document. Selecting any heading scrolls directly to that section.


Mechanism implementations in the Code Snippets section provide production Java code targeting modern WPILib releases.

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 Magic
public void setTargetPosition(Angle targetAngle) {
m_motor.setControl(m_motionMagic.withPosition(targetAngle));
}

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);
Unit Safety

Strongly typed units prevent unit conversion errors between degrees, radians, rotations, meters, and inches at compile time.


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.


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.