From e21e129f122fed7906015e87dc95592679d02c3f Mon Sep 17 00:00:00 2001 From: Ryan Blue Date: Tue, 13 Aug 2024 19:55:26 -0400 Subject: [PATCH] [wpimath, commands] Fix RamseteController deprecation year (#6953) --- .../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 b73deba668..bcd2a7929b 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 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, 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 d936f9efc8..78e938fe8b 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 class RamseteController { * * @deprecated Use LTVUnicycleController instead. */ - @Deprecated(since = "2024", forRemoval = true) + @Deprecated(since = "2025", forRemoval = true) public RamseteController() { this(2.0, 0.7); }