Code · 2026 · REBUILT
2026 Robot Code
Code for our 2026 robot, which won the Creativity Award at the Ventura District event. It is written in Python with RobotPy, a change from the Java we used in earlier years.
What’s in it
1661-RobotCode-2026
- Swerve drivetrain on CTRE Phoenix 6, with constants generated by Tuner X
- Shooter subsystem with a flywheel, feeder and screw, all on TalonFX motor controllers with current limits
- PathPlanner autonomous routines with named commands for the shooter, feeder and intake
- Field-centric driving, SysId characterization routines and drivetrain telemetry over NetworkTables
- pyfrc tests that run without a robot
Tech at a glance
- Language
- Python
- Framework
- RobotPy (command-based)
- Vendor libraries
- Phoenix 6, PathPlanner
Try it
Quick start
Install dependencies
python -m robotpy syncSimulate
python -m robotpy simRun the tests
python -m robotpy testDeploy to a roboRIO
python -m robotpy deployFull instructions are in the README on GitHub.
This code is released under the MIT License, so you are welcome to learn from it and reuse it.
Want to join?
If you go to Buckley, come by the robotics room after school. We’ll find something for you to work on.
