This repository is the code that operates FRC Team 1310's 2025 swerve drive.
This project uses prettier java code formatting. Be sure to follow the instructions here.
In addition to the standard WPILib dependencies, this project relies on Runnymede Robotics' Runnymede Swerve Library.
The library can be built locally and installed, or it can be accessed from Maven Central.
If you are developing the swerve robot locally and don't need anything other than the current version of RunnymedeSwerve, you don't need to do anything. You can use the latest version of the library from Maven Central, and set it in your build.gradle file like this:
implementation 'ca.team1310:swerve:2.0.6'If you are updating the RunnymedeSwerve library at the same time, then follow the instructions for local building in RunnymedeSwerve and update the version number in the build.gradle file to match your locally installed version. This codebase will read from your lmaven local repository to find the installed working copy of the library.
The first time you build against a new library, run the following:
./gradlew clean && \
./gradlew compileJavawhich will fetch the latest version from your local repository.