FRC 5712 · Coding Workshop00 / 26 finished
WPILib 2027 is still in alpha: these pages change as the APIs settle.
Gray Matter Coding Workshop
FRC 5712 · Hemlock, Michigan
FRC Team 5712
Coding Workshops
26 lessons on programming an FRC robot, from spinning a motor in Tuner X to a swerve drive that finds itself with a camera.
What you’ll program
Four mechanisms. Five workshops.
01Hardware & CTREBench mechanisms tuned in Tuner X before robot code begins.

Position control
Robot Arm
Hold an exact angle while gravity pulls against you.

Velocity control
Shooter Flywheel
Keep one speed under load, shot after shot.
05–06Swerve & VisionThe whole robot: calibrated motion, field pose, and perception.

Holonomic drive
CTR Swerve
Eight motors, four encoders, one heading you trust.

Perception
AprilTag Vision
Let the camera correct what the wheels got wrong.
The syllabus
Read it in order. Each workshop builds on the one before it.
00
Getting Started
What the workshop is, what you need installed, and the CAD for the mechanisms.
01
Hardware & CTRE
Set up, identify, test, and tune a motor entirely in Phoenix Tuner X.
02
Code Foundations
The Java and the Commands v3 vocabulary a robot program is built out of, before you write any of it.
03
Robot Programming
Make the project, write the mechanism and its commands, bind them to a controller, and drive it closed loop.
04
Routines
Know when a mechanism has arrived, log it, and write routines that wait on it, for a button and for autonomous.
05
Swerve
Learn the parts and the terms, generate TunerConstants, and tune the drive.
06
Navigation
Run an autonomous, follow BLine paths, and drive to a pose on the field.
07
Vision
Mount a camera, correct odometry with AprilTags, and line up on a tag.
26 lessons · seven workshops · one code repository



