Skip to content

Commit 7f7c62c

Browse files
authored
Merge pull request #26 from REVrobotics/2025-update
Update for 2025
2 parents e87ac7a + 97b4a89 commit 7f7c62c

19 files changed

Lines changed: 148 additions & 313 deletions

.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,16 @@ out/
169169
.fleet
170170

171171
# Simulation GUI and other tools window save file
172+
networktables.json
173+
simgui.json
172174
*-window.json
173175

174176
# Simulation data log directory
175177
logs/
176178

177179
# Folder that has CTRE Phoenix Sim device config storage
178180
ctre_sim/
181+
182+
# clangd
183+
/.cache
184+
compile_commands.json

.wpilib/wpilib_preferences.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"enableCppIntellisense": false,
33
"currentLanguage": "java",
4-
"projectYear": "2024",
4+
"projectYear": "2025beta",
55
"teamNumber": 2714
66
}

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# MAXSwerve Java Template Changelog
22

3+
## [2025.0] - 2024-11-07
4+
5+
- Updates project for 2025 FRC season
6+
- Uses new SPARK configuration mechanism introduced in REVLib 2025
7+
- Removes slew rate limiter since it is no longer needed with MAXSwerve 2.0 wheels
8+
39
## [2024.0] - 2024-01-08
410

511
- Updates project for 2024 FRC season

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# MAXSwerve Java Template v2024.0
1+
# MAXSwerve Java Template v2025.0
22

33
See [the online changelog](https://github.com/REVrobotics/MAXSwerve-Java-Template/blob/main/CHANGELOG.md) for information about updates to the template that may have been released since you created your project.
44

@@ -12,11 +12,11 @@ To get started, make sure you have calibrated the zero offsets for the absolute
1212

1313
## Prerequisites
1414

15-
* SPARK MAX Firmware v1.6.2 - Adds features that are required for swerve
16-
* REVLib v2023.1.2 - Includes APIs for the new firmware features
15+
* SPARK MAX Firmware v25.0.0
16+
* REVLib v2025.0.0
1717

1818
## Configuration
1919

2020
It is possible that this project will not work for your robot right out of the box. Various things like the CAN IDs, PIDF gains, chassis configuration, etc. must be determined for your own robot!
2121

22-
These values can be adjusted in the `Constants.java` file.
22+
These values can be adjusted in the `Configs.java` and `Constants.java` files.

WPILib-License.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright (c) 2009-2023 FIRST and other WPILib contributors
1+
Copyright (c) 2009-2024 FIRST and other WPILib contributors
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without

build.gradle

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
plugins {
22
id "java"
3-
id "edu.wpi.first.GradleRIO" version "2024.1.1"
3+
id "edu.wpi.first.GradleRIO" version "2025.1.1-beta-1"
44
}
55

66
java {
@@ -50,6 +50,7 @@ def includeDesktopSupport = false
5050
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
5151
// Also defines JUnit 5.
5252
dependencies {
53+
annotationProcessor wpi.java.deps.wpilibAnnotations()
5354
implementation wpi.java.deps.wpilib()
5455
implementation wpi.java.vendor.java()
5556

gradle/wrapper/gradle-wrapper.jar

121 Bytes
Binary file not shown.

gradle/wrapper/gradle-wrapper.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
distributionBase=GRADLE_USER_HOME
22
distributionPath=permwrapper/dists
3-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.5-bin.zip
3+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
44
networkTimeout=10000
55
validateDistributionUrl=true
66
zipStoreBase=GRADLE_USER_HOME

gradlew

Lines changed: 5 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gradlew.bat

Lines changed: 12 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)