mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[wpimath] Deprecate RamseteController (#6494)
LTVUnicycleController is a drop-in replacement with better tuning knobs. The RamseteCommand examples were removed instead of retrofitted with LTVUnicycleController because we're planning on removing the command controller classes anyway, so it would be wasted effort. The SimpleDifferentialDriveSimulation example shows direct LTVUnicycleController usage.
This commit is contained in:
@@ -69,7 +69,9 @@ public class RamseteCommand extends Command {
|
||||
* @param outputVolts A function that consumes the computed left and right outputs (in volts) for
|
||||
* the robot drive.
|
||||
* @param requirements The subsystems to require.
|
||||
* @deprecated Use LTVUnicycleController instead.
|
||||
*/
|
||||
@Deprecated(since = "2024", forRemoval = true)
|
||||
@SuppressWarnings("this-escape")
|
||||
public RamseteCommand(
|
||||
Trajectory trajectory,
|
||||
@@ -109,7 +111,9 @@ public class RamseteCommand extends Command {
|
||||
* @param kinematics The kinematics for the robot drivetrain.
|
||||
* @param outputMetersPerSecond A function that consumes the computed left and right wheel speeds.
|
||||
* @param requirements The subsystems to require.
|
||||
* @deprecated Use LTVUnicycleController instead.
|
||||
*/
|
||||
@Deprecated(since = "2024", forRemoval = true)
|
||||
@SuppressWarnings("this-escape")
|
||||
public RamseteCommand(
|
||||
Trajectory trajectory,
|
||||
|
||||
Reference in New Issue
Block a user