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
  • Python
  • RobotPy
  • Swerve drive
  • Phoenix 6
  • PathPlanner

Tech at a glance

Language
Python
Framework
RobotPy (command-based)
Vendor libraries
Phoenix 6, PathPlanner

Try it

Quick start

Install dependenciespython -m robotpy sync
Simulatepython -m robotpy sim
Run the testspython -m robotpy test
Deploy to a roboRIOpython -m robotpy deploy

Full 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.