Skip to content
This repository was archived by the owner on Dec 6, 2025. It is now read-only.

Commit 2ff9ae9

Browse files
Update to 2025
Signed-off-by: thenetworkgrinch <[email protected]>
1 parent 1d5b173 commit 2ff9ae9

17 files changed

+828
-823
lines changed

.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": "2025beta",
4+
"projectYear": "2025",
55
"teamNumber": 3481
66
}

build.gradle

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

66
java {
@@ -33,6 +33,8 @@ deploy {
3333
frcStaticFileDeploy(getArtifactTypeClass('FileTreeArtifact')) {
3434
files = project.fileTree('src/main/deploy')
3535
directory = '/home/lvuser/deploy'
36+
deleteOldFiles = false // Change to true to delete files on roboRIO that no
37+
// longer exist in deploy directory of this project
3638
}
3739
}
3840
}
@@ -45,7 +47,7 @@ def deployArtifact = deploy.targets.roborio.artifacts.frcJava
4547
wpi.java.debugJni = false
4648

4749
// Set this to true to enable desktop support.
48-
def includeDesktopSupport = false
50+
def includeDesktopSupport = true
4951

5052
// Defining my dependencies. In this case, WPILib (+ friends), and vendor libraries.
5153
// Also defines JUnit 5.
@@ -99,4 +101,4 @@ wpi.java.configureTestTasks(test)
99101
// Configure string concat to always inline compile
100102
tasks.withType(JavaCompile) {
101103
options.compilerArgs.add '-XDstringConcat=inline'
102-
}
104+
}

src/main/java/frc/robot/RobotContainer.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
package frc.robot;
66

7+
import com.pathplanner.lib.auto.NamedCommands;
78
import edu.wpi.first.math.MathUtil;
89
import edu.wpi.first.math.geometry.Pose2d;
910
import edu.wpi.first.math.geometry.Rotation2d;
@@ -117,6 +118,8 @@ public RobotContainer()
117118
{
118119
// Configure the trigger bindings
119120
configureBindings();
121+
DriverStation.silenceJoystickConnectionWarning(true);
122+
NamedCommands.registerCommand("test", Commands.print("I EXIST"));
120123
}
121124

122125
/**
Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"fileName": "PathplannerLib-2025.1.1.json",
3+
"name": "PathplannerLib",
4+
"version": "2025.1.1",
5+
"uuid": "1b42324f-17c6-4875-8e77-1c312bc8c786",
6+
"frcYear": "2025",
7+
"mavenUrls": [
8+
"https://3015rangerrobotics.github.io/pathplannerlib/repo"
9+
],
10+
"jsonUrl": "https://3015rangerrobotics.github.io/pathplannerlib/PathplannerLib.json",
11+
"javaDependencies": [
12+
{
13+
"groupId": "com.pathplanner.lib",
14+
"artifactId": "PathplannerLib-java",
15+
"version": "2025.1.1"
16+
}
17+
],
18+
"jniDependencies": [],
19+
"cppDependencies": [
20+
{
21+
"groupId": "com.pathplanner.lib",
22+
"artifactId": "PathplannerLib-cpp",
23+
"version": "2025.1.1",
24+
"libName": "PathplannerLib",
25+
"headerClassifier": "headers",
26+
"sharedLibrary": false,
27+
"skipInvalidPlatforms": true,
28+
"binaryPlatforms": [
29+
"windowsx86-64",
30+
"linuxx86-64",
31+
"osxuniversal",
32+
"linuxathena",
33+
"linuxarm32",
34+
"linuxarm64"
35+
]
36+
}
37+
]
38+
}

vendordeps/PathplannerLib-beta.json

Lines changed: 0 additions & 38 deletions
This file was deleted.

vendordeps/Phoenix5-5.35.0.json

Lines changed: 171 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
{
2+
"fileName": "Phoenix5-5.35.0.json",
3+
"name": "CTRE-Phoenix (v5)",
4+
"version": "5.35.0",
5+
"frcYear": "2025",
6+
"uuid": "ab676553-b602-441f-a38d-f1296eff6537",
7+
"mavenUrls": [
8+
"https://maven.ctr-electronics.com/release/"
9+
],
10+
"jsonUrl": "https://maven.ctr-electronics.com/release/com/ctre/phoenix/Phoenix5-frc2025-latest.json",
11+
"requires": [
12+
{
13+
"uuid": "e995de00-2c64-4df5-8831-c1441420ff19",
14+
"errorMessage": "Phoenix 5 requires low-level libraries from Phoenix 6. Please add the Phoenix 6 vendordep before adding Phoenix 5.",
15+
"offlineFileName": "Phoenix6-frc2025-latest.json",
16+
"onlineUrl": "https://maven.ctr-electronics.com/release/com/ctre/phoenix6/latest/Phoenix6-frc2025-latest.json"
17+
}
18+
],
19+
"conflictsWith": [
20+
{
21+
"uuid": "e7900d8d-826f-4dca-a1ff-182f658e98af",
22+
"errorMessage": "Users must use the Phoenix 5 replay vendordep when using the Phoenix 6 replay vendordep.",
23+
"offlineFileName": "Phoenix6-replay-frc2025-latest.json"
24+
},
25+
{
26+
"uuid": "fbc886a4-2cec-40c0-9835-71086a8cc3df",
27+
"errorMessage": "Users cannot have both the replay and regular Phoenix 5 vendordeps in their robot program.",
28+
"offlineFileName": "Phoenix5-replay-frc2025-latest.json"
29+
}
30+
],
31+
"javaDependencies": [
32+
{
33+
"groupId": "com.ctre.phoenix",
34+
"artifactId": "api-java",
35+
"version": "5.35.0"
36+
},
37+
{
38+
"groupId": "com.ctre.phoenix",
39+
"artifactId": "wpiapi-java",
40+
"version": "5.35.0"
41+
}
42+
],
43+
"jniDependencies": [
44+
{
45+
"groupId": "com.ctre.phoenix",
46+
"artifactId": "cci",
47+
"version": "5.35.0",
48+
"isJar": false,
49+
"skipInvalidPlatforms": true,
50+
"validPlatforms": [
51+
"windowsx86-64",
52+
"linuxx86-64",
53+
"linuxarm64",
54+
"linuxathena"
55+
],
56+
"simMode": "hwsim"
57+
},
58+
{
59+
"groupId": "com.ctre.phoenix.sim",
60+
"artifactId": "cci-sim",
61+
"version": "5.35.0",
62+
"isJar": false,
63+
"skipInvalidPlatforms": true,
64+
"validPlatforms": [
65+
"windowsx86-64",
66+
"linuxx86-64",
67+
"linuxarm64",
68+
"osxuniversal"
69+
],
70+
"simMode": "swsim"
71+
}
72+
],
73+
"cppDependencies": [
74+
{
75+
"groupId": "com.ctre.phoenix",
76+
"artifactId": "wpiapi-cpp",
77+
"version": "5.35.0",
78+
"libName": "CTRE_Phoenix_WPI",
79+
"headerClassifier": "headers",
80+
"sharedLibrary": true,
81+
"skipInvalidPlatforms": true,
82+
"binaryPlatforms": [
83+
"windowsx86-64",
84+
"linuxx86-64",
85+
"linuxarm64",
86+
"linuxathena"
87+
],
88+
"simMode": "hwsim"
89+
},
90+
{
91+
"groupId": "com.ctre.phoenix",
92+
"artifactId": "api-cpp",
93+
"version": "5.35.0",
94+
"libName": "CTRE_Phoenix",
95+
"headerClassifier": "headers",
96+
"sharedLibrary": true,
97+
"skipInvalidPlatforms": true,
98+
"binaryPlatforms": [
99+
"windowsx86-64",
100+
"linuxx86-64",
101+
"linuxarm64",
102+
"linuxathena"
103+
],
104+
"simMode": "hwsim"
105+
},
106+
{
107+
"groupId": "com.ctre.phoenix",
108+
"artifactId": "cci",
109+
"version": "5.35.0",
110+
"libName": "CTRE_PhoenixCCI",
111+
"headerClassifier": "headers",
112+
"sharedLibrary": true,
113+
"skipInvalidPlatforms": true,
114+
"binaryPlatforms": [
115+
"windowsx86-64",
116+
"linuxx86-64",
117+
"linuxarm64",
118+
"linuxathena"
119+
],
120+
"simMode": "hwsim"
121+
},
122+
{
123+
"groupId": "com.ctre.phoenix.sim",
124+
"artifactId": "wpiapi-cpp-sim",
125+
"version": "5.35.0",
126+
"libName": "CTRE_Phoenix_WPISim",
127+
"headerClassifier": "headers",
128+
"sharedLibrary": true,
129+
"skipInvalidPlatforms": true,
130+
"binaryPlatforms": [
131+
"windowsx86-64",
132+
"linuxx86-64",
133+
"linuxarm64",
134+
"osxuniversal"
135+
],
136+
"simMode": "swsim"
137+
},
138+
{
139+
"groupId": "com.ctre.phoenix.sim",
140+
"artifactId": "api-cpp-sim",
141+
"version": "5.35.0",
142+
"libName": "CTRE_PhoenixSim",
143+
"headerClassifier": "headers",
144+
"sharedLibrary": true,
145+
"skipInvalidPlatforms": true,
146+
"binaryPlatforms": [
147+
"windowsx86-64",
148+
"linuxx86-64",
149+
"linuxarm64",
150+
"osxuniversal"
151+
],
152+
"simMode": "swsim"
153+
},
154+
{
155+
"groupId": "com.ctre.phoenix.sim",
156+
"artifactId": "cci-sim",
157+
"version": "5.35.0",
158+
"libName": "CTRE_PhoenixCCISim",
159+
"headerClassifier": "headers",
160+
"sharedLibrary": true,
161+
"skipInvalidPlatforms": true,
162+
"binaryPlatforms": [
163+
"windowsx86-64",
164+
"linuxx86-64",
165+
"linuxarm64",
166+
"osxuniversal"
167+
],
168+
"simMode": "swsim"
169+
}
170+
]
171+
}

0 commit comments

Comments
 (0)