This repository contains the code for our 2026 FRC test robot, designed for the FIRST Robotics Competition.
- Swerve Drive Specialties MK4i modules
- NEO 500 motors for both drive and turning
- Gear ratio: L2 6.75:1
- Maximum speed: TBD
To set the zeros of the drivetrain align the wheels so the bolt head faces the port side (left if standing behind the robot). Use the Rev Hardware Client to set the zero on of the absolute encoders remembering to persist parameters.
- 4 belts
- NEO brushless motor with 3:1 gearbox
- 3 inch compliant wheels 3 times
- CTRE Pigeon 2.0 IMU for robot orientation and field-relative driving
- Written in Java
- Built with Gradle
- WPILib 2026 (required)
- REV Hardware Client (for NEO motor configuration)
- Phoenix Tuner X (for Pigeon 2.0 configuration)
src/main/java/frc/robot/
├── commands/ # Command classes for robot actions
├── subsystems/ # Subsystem classes for major robot components
├── constants/ # Configuration constants and ports
└── Robot.java # Main robot class
- Field-oriented swerve drive control
- Autonomous Commands:
- None currently
- [Add other major features]
- [Add autonomous routines if developed]
- Left Stick: Drive robot (Y axis for forward/backward, X axis for strafing)
- Right Stick: Rotate robot (X axis)
- A button: Wheals turn to X shape (useful for not getting pushed)
- Install WPILib 2026
- Install REV Hardware Client
- Install Phoenix Tuner X
- [Any other required software]
- Clone the repository:
git clone https://github.com/team1225/2026-swerve-drive.git- Open the project in WPILib VS Code
- Build the project:
./gradlew build- Create a new branch for your feature
- Make your changes
- Test on the robot
- For autonomous testing:
- Use SmartDashboard to select desired autonomous routine
- Ensure ample clear space in front of robot when testing Simple Drive
- Always be ready to disable the robot if needed
- For autonomous testing:
- Create a pull request
- Get code review
- Merge after approval
To contribute to this project, come join us at Team 1225.
Team 1225 - The Gorillas Henderson County Public Schools High School Robotics
Our team represents Henderson County Public Schools in North Carolina, competing in the FIRST Robotics Competition. The Gorillas have been inspiring students and promoting STEM education through competitive robotics since our founding.
[Add license information]