BreakerBots' FRC robot code for the 2025 season. This repository contains the Java code that powers our robot "Leviathan".
The codebase follows WPILib's command-based programming paradigm and is organized as follows:
src/main/java/frc/robot/
├── commands/ # Robot commands/actions
│ ├── Autos.java # Autonomous routines
│ └── ExampleCommand.java
├── subsystems/ # Hardware control modules
│ └── ExampleSubsystem.java
├── Constants.java # Robot-wide configuration
├── Main.java # Program entry point
├── Robot.java # Core robot functionality
└── RobotContainer.java # Robot composition & control bindings
- A standerdized utility library for BreakerBots WPILib projects
- Includes various device drivers, utils, and more
Robot.java
: Manages robot lifecycle and mode transitions (auto, teleop, etc.)RobotContainer.java
: Creates/configures subsystems and commandsConstants.java
: Stores robot-wide configuration values
Commands define actions the robot can perform. Located in commands/
:
Autos.java
: Autonomous routine factoryExampleCommand.java
: Template for new commands
Subsystems represent robot hardware abstractions. Located in subsystems/
:
Drivetrain.java
: User Implementation of BreakerLib's "BreakerSwerveDrive" class, which uses the Phoenix Swerve API
- WPILib 2025 VS Code
- Java 11 or newer
- Git
- ChoreoLib
- PhotonLib
- PathPlannerLib
- Phoenix 6
- DogLog
- GVersion
-
Clone the repository:
git clone git@github.com:BreakerBots/Leviathan_2025.git
or:
- Open Github Desktop
- Navigate to: Current Repository -> Add -> Clone New Repository
- Select "BreakerBots/Leviathan_2025"
-
Open the project in WPILib VS Code
-
Build the project:
./gradlew build
or:
- Press Ctrl+Shift+P in VS Code
- Select "Build Robot Code"
To deploy to the robot:
- Connect to the robot's network or VH-109 Access Point
- Pres Shift+F5 in VS Code
This is a template project that needs to be developed for the 2025 season. Key tasks:
- Define robot subsystems
- Create game-specific commands
- Configure autonomous routines
- Set up driver controls
- Add constants for hardware IDs
This project is licensed under the WPILib BSD License - see WPILib-License.md for details.