From 133ba5e74adb99c45523515bf1704ded0a26d9b4 Mon Sep 17 00:00:00 2001 From: "Timothy P. Ellsworth Bowers" Date: Fri, 10 Jan 2025 18:18:09 -0700 Subject: [PATCH 1/3] Cleanup of unused things; set CTRE UNLICENSED modified: src/main/java/frc/robot/Constants.java modified: src/main/java/frc/robot/RobotContainer.java modified: src/main/java/frc/robot/commands/DriveCommands.java --- src/main/java/frc/robot/Constants.java | 2 +- src/main/java/frc/robot/RobotContainer.java | 1 - src/main/java/frc/robot/commands/DriveCommands.java | 6 ------ 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 1ed48e94..6d6eeac6 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -69,7 +69,7 @@ public final class Constants { // under strict caveat emptor -- and submit any error and bugfixes // via GitHub issues. private static SwerveType swerveType = SwerveType.PHOENIX6; // PHOENIX6, YAGSL - private static CTREPro phoenixPro = CTREPro.LICENSED; // LICENSED, UNLICENSED + private static CTREPro phoenixPro = CTREPro.UNLICENSED; // LICENSED, UNLICENSED private static AutoType autoType = AutoType.PATHPLANNER; // PATHPLANNER, CHOREO private static VisionType visionType = VisionType.NONE; // PHOTON, LIMELIGHT, NONE diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index a2bedaaa..7cd9608a 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -222,7 +222,6 @@ private void configureBindings() { } // SET STANDARD DRIVING AS DEFAULT COMMAND FOR THE DRIVEBASE - // TODO: With a re-do of Phoenix Tuner X on George, ensure the signs are all correct!!!!! m_drivebase.setDefaultCommand( DriveCommands.fieldRelativeDrive( m_drivebase, diff --git a/src/main/java/frc/robot/commands/DriveCommands.java b/src/main/java/frc/robot/commands/DriveCommands.java index ac130384..7909b911 100644 --- a/src/main/java/frc/robot/commands/DriveCommands.java +++ b/src/main/java/frc/robot/commands/DriveCommands.java @@ -50,12 +50,6 @@ public class DriveCommands { private static final double WHEEL_RADIUS_MAX_VELOCITY = 0.25; // Rad/Sec private static final double WHEEL_RADIUS_RAMP_RATE = 0.05; // Rad/Sec^2 - // Create slew rate limiters for smoothing erratic joystick motions - private static final SlewRateLimiter linearVelocityFilter = - new SlewRateLimiter(OperatorConstants.kJoystickSlewLimit); - private static final SlewRateLimiter omegaFilter = - new SlewRateLimiter(OperatorConstants.kJoystickSlewLimit); - private DriveCommands() {} /** From e0992875a273483d4da0b5c1cff4121e23b83534 Mon Sep 17 00:00:00 2001 From: "Timothy P. Ellsworth Bowers" Date: Fri, 10 Jan 2025 18:20:28 -0700 Subject: [PATCH 2/3] YAGSL vendorlib update renamed: vendordeps/yagsl-2025.1.3.json -> vendordeps/yagsl-2025.1.3.jwt151.json --- .../{yagsl-2025.1.3.json => yagsl-2025.1.3.jwt151.json} | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) rename vendordeps/{yagsl-2025.1.3.json => yagsl-2025.1.3.jwt151.json} (95%) diff --git a/vendordeps/yagsl-2025.1.3.json b/vendordeps/yagsl-2025.1.3.jwt151.json similarity index 95% rename from vendordeps/yagsl-2025.1.3.json rename to vendordeps/yagsl-2025.1.3.jwt151.json index b3be624b..97dc57eb 100644 --- a/vendordeps/yagsl-2025.1.3.json +++ b/vendordeps/yagsl-2025.1.3.jwt151.json @@ -1,7 +1,7 @@ { - "fileName": "yagsl-2025.1.3.json", + "fileName": "yagsl-2025.1.3.jwt151.json", "name": "YAGSL", - "version": "2025.1.3", + "version": "2025.1.3.jwt151", "frcYear": "2025", "uuid": "1ccce5a4-acd2-4d18-bca3-4b8047188400", "mavenUrls": [ @@ -12,7 +12,7 @@ { "groupId": "swervelib", "artifactId": "YAGSL-java", - "version": "2025.1.3" + "version": "2025.1.3.jwt151" } ], "requires": [ From 80d22013c5e3d2ca9438e4eb34795ba862e87282 Mon Sep 17 00:00:00 2001 From: "Timothy P. Ellsworth Bowers" Date: Sat, 11 Jan 2025 08:15:04 -0700 Subject: [PATCH 3/3] Update to WPILib 2025.2.1 The WPILib Week 1 update, including all of the 2025 field images and AprilTags. modified: build.gradle --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 8de0975c..f1e53c3d 100644 --- a/build.gradle +++ b/build.gradle @@ -1,6 +1,6 @@ plugins { id "java" - id "edu.wpi.first.GradleRIO" version "2025.1.1" + id "edu.wpi.first.GradleRIO" version "2025.2.1" id "com.peterabeles.gversion" version "1.10.3" id "com.diffplug.spotless" version "6.25.0" id "io.freefair.lombok" version "8.11"