Team 1257 Robotics Training
Team 1257’s free handbook for FIRST Robotics Competition (FRC) programming. Learn Java and WPILib, experiment with interactive robot demos, and trace real competition robot code. Start with a small working project and learn to explain what the robot is doing.
Choose your next step
| Your starting point | Start here | Finish with |
|---|---|---|
| New to programming | Java foundations and onboarding | A program you can run and explain |
| Know Java, new to FRC | Robot programming | A tested simulated subsystem |
| Learning controls or drivetrain | Interactive labs | A prediction, experiment, and explanation |
| Working on the team robot | Real robot case studies | A source-backed code trace or log investigation |
| Something is broken | Debugging playbooks | A reproducible symptom and evidence for the next check |
| Teaching or reviewing work | Mentor guide | A practical review of student understanding |
Curriculum
- Java: basics, control flow, functions and objects, each with practice programs.
- FRC robot programming: setup, motors, command-based subsystems, sensors, closed-loop control and autonomous.
- Git and GitHub: version control for team code.
- Vision: PhotonVision, Limelight and WPILibPi.
- Robot foundations: power, signals, mechanisms, strategy and safety.
- Programming by robot type: what changes for shooters, piece handlers, articulated scorers, drivetrains and climbers.
- Documentation and the team website: maintaining this library and frc1257.org.
Learning paths
- Newcomer: Java and robot basicsBuild programming vocabulary, practice small Java programs, and follow information and power through a robot.
- Robot programmer: commands and mechanismsConnect command-based architecture, a simulated intake, scheduler behavior, and a real Team 1257 code trace.
- Controls, localization, and autonomousConnect sensors and feedback to motion, drivetrain coordinates, paths, and recorded data.
- Vision: pixels, pose and alignmentConnect image formation, calibration, coordinate transforms and timestamped pose estimates to a controlled robot approach.
- Software architecture: IO, replay, and calibrationSeparate hardware from behavior, build repeatable simulation, and validate calibration and sensor data.
- Programming by robot typeTranslate a robot role and mechanism layout into sensors, control goals, command ownership and failure handling.
- Team integration: build, investigate, and communicateBring electrical, mechanical, programming, strategy, and safety perspectives into a shared review.
Each path links to your next unfinished activity in this browser. Learning paths lists every activity and has the progress export and import tools.
Try an idea before wiring hardware
Tune a simulated PID controller or explore swerve wheel vectors. Every lab names its assumptions and shows numerical results as well as pictures. Connect each experiment back to the matching Java lesson.
Learn from Team 1257
Read the robot code walkthroughs, investigate an actual 2024 log, and use the tested 2026 starter. Season-specific examples are labeled so you can distinguish current practice from historical material.
The resource guide connects this library to WPILib, vendor documentation, and specialist FRC courses. The glossary explains the words you encounter along the way.