mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[wpimath, commands] Fix RamseteController deprecation year (#6953)
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user