[wpimath, commands] Fix RamseteController deprecation year (#6953)

This commit is contained in:
Ryan Blue
2024-08-13 19:55:26 -04:00
committed by GitHub
parent 05e955f87e
commit e21e129f12
2 changed files with 4 additions and 4 deletions

View File

@@ -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,

View File

@@ -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);
}