This repository contains the code for the FRC 9155 robot for the 2026 season.
- Drive Motors: NEO Brushless (controlled by Spark Max)
- Angle Motors: NEO Brushless (controlled by Spark Max)
- Absolute Encoders: CTRE CANCoders
- Gyro (IMU): NavX-MXP (SPI)
- Motors: 2x Brushed Motors (CIM / 775pro / Bag)
- Controllers: 2x REV Spark Max
- Mode: Leader-Follower (Brushed Mode)
To deploy or edit this code, you must install the following software:
- WPILib 2026 - The core development environment (VS Code, Shuffleboard, Driver Station).
- NI FRC Game Tools 2026 - Drivers for the roboRIO and Driver Station.
You need these tools to configure IDs and update firmware:
- REV Hardware Client
- Used for: Configuring Spark Max controllers (CAN IDs 1-10), setting Motor Type to Brushed/Brushless.
- Phoenix Tuner X
- Used for: Configuring CANCoders (IDs 10-13).
- PathPlanner
- Used for: Creating autonomous paths.
The project automatically downloads these libraries (defined in vendordeps/):
- REVLib (2026.0.1) - For Spark Max motor controllers.
- YAGSL (2026.1.26) - Swerve Drive logic.
- Phoenix 6 & 5 - For CTRE devices (CANCoders).
- PathPlannerLib - For Autonomous routines.
- ReduxLib, Studica, ThriftyLib - Required for YAGSL.
- Left Stick: Drive
- Right Stick: Rotate
- Button X: Lift Up
- Button B: Lift Down
- Button A: Reset Gyroscope