Welcome
Team 2702's reference for FRC best practices, recipes, and training material.
This site collects the practices and patterns Team 2702 (Rebels) relies on: how we write robot code, how we tune mechanisms, and the training material we use to bring new members up to speed. Much of it is specific to our setup (CTRE Phoenix 6 with Pro-licensed Krakens), but most of it applies to any team.
Software Practices
How we approach robot software: keep it simple, learn from others, standardize.
CTRE Control Modes
Closed-loop tuning for flywheels, turrets, arms, elevators, and deployments, in Volts and Amps.
Tuning Procedures
Jump straight to the step-by-step tuning procedure for your mechanism.
Robot Mechanisms
How a robot breaks down into subsystems: intakes, shooters, end effectors, elevators, arms, and the superstructure.
Homing and Zeroing
How a robot finds where its mechanisms are at power-up: hard stops, encoders, hall effect sensors, and two-encoder turrets.
Vision
How a robot finds itself on the field with a camera: AprilTags, PnP solving, and calibration.
Object Detection
Finding game pieces with a camera: when it's worth it, the detection pipeline, color thresholds, and trained neural networks.
Localization
How a robot tracks its pose: odometry, Kalman filters, WPILib's pose estimators, and factor graphs with GTSAM.
Swerve Drive
How a swerve drivetrain works: its parts, the kinematics math, module control, gearing, and why it replaced tank and mecanum.
Training
Guided material for new members. Work in progress.
Contributing
How to add a recipe, write math, and build interactive components.