From bf5b4b947f4da8328a1066fd81d8aeb4a61776d9 Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Mon, 12 Aug 2024 02:25:59 -0400 Subject: [PATCH] Fix RamseteController deprecation year --- .../java/edu/wpi/first/wpilibj2/command/RamseteCommand.java | 4 ++-- .../java/edu/wpi/first/math/controller/RamseteController.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/RamseteCommand.java b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/RamseteCommand.java index b73deba668e..bcd2a7929be 100644 --- a/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/RamseteCommand.java +++ b/wpilibNewCommands/src/main/java/edu/wpi/first/wpilibj2/command/RamseteCommand.java @@ -84,7 +84,7 @@ public class RamseteCommand extends Command { * @param requirements The subsystems to require. * @deprecated Use LTVUnicycleController instead. */ - @Deprecated(since = "2024", forRemoval = true) + @Deprecated(since = "2025", forRemoval = true) @SuppressWarnings("this-escape") public RamseteCommand( Trajectory trajectory, @@ -126,7 +126,7 @@ public RamseteCommand( * @param requirements The subsystems to require. * @deprecated Use LTVUnicycleController instead. */ - @Deprecated(since = "2024", forRemoval = true) + @Deprecated(since = "2025", forRemoval = true) @SuppressWarnings("this-escape") public RamseteCommand( Trajectory trajectory, diff --git a/wpimath/src/main/java/edu/wpi/first/math/controller/RamseteController.java b/wpimath/src/main/java/edu/wpi/first/math/controller/RamseteController.java index d936f9efc82..78e938fe8b1 100644 --- a/wpimath/src/main/java/edu/wpi/first/math/controller/RamseteController.java +++ b/wpimath/src/main/java/edu/wpi/first/math/controller/RamseteController.java @@ -50,7 +50,7 @@ public class RamseteController { * more damping in response. * @deprecated Use LTVUnicycleController instead. */ - @Deprecated(since = "2024", forRemoval = true) + @Deprecated(since = "2025", forRemoval = true) public RamseteController(double b, double zeta) { m_b = b; m_zeta = zeta; @@ -62,7 +62,7 @@ public RamseteController(double b, double zeta) { * * @deprecated Use LTVUnicycleController instead. */ - @Deprecated(since = "2024", forRemoval = true) + @Deprecated(since = "2025", forRemoval = true) public RamseteController() { this(2.0, 0.7); }