public class RamseteFollower
extends TrajectoryFollower
Time-varying, non-linear feedback controller for nonholonomic drives. See equation 5.12 of Ramsete01.pdf.
@JvmOverloads public RamseteFollower(double b, double zeta, @NotNull Pose2d admissibleError, double timeout, @NotNull NanoClock clock)
Time-varying, non-linear feedback controller for nonholonomic drives. See equation 5.12 of Ramsete01.pdf.
b
- b parameter (non-negative)zeta
- zeta parameter (on (0, 1))admissibleError
- admissible/satisfactory pose error at the end of each movetimeout
- max time to wait for the error to be admissibleclock
- clock@JvmOverloads public RamseteFollower(double b, double zeta, @NotNull Pose2d admissibleError, double timeout)
Time-varying, non-linear feedback controller for nonholonomic drives. See equation 5.12 of Ramsete01.pdf.
b
- b parameter (non-negative)zeta
- zeta parameter (on (0, 1))admissibleError
- admissible/satisfactory pose error at the end of each movetimeout
- max time to wait for the error to be admissible@JvmOverloads public RamseteFollower(double b, double zeta, @NotNull Pose2d admissibleError)
Time-varying, non-linear feedback controller for nonholonomic drives. See equation 5.12 of Ramsete01.pdf.
b
- b parameter (non-negative)zeta
- zeta parameter (on (0, 1))admissibleError
- admissible/satisfactory pose error at the end of each move@JvmOverloads public RamseteFollower(double b, double zeta)
Time-varying, non-linear feedback controller for nonholonomic drives. See equation 5.12 of Ramsete01.pdf.
b
- b parameter (non-negative)zeta
- zeta parameter (on (0, 1))@NotNull public Pose2d getLastError()
Robot pose error computed in the last update
call.
update
protected void setLastError(@NotNull Pose2d p)
Robot pose error computed in the last update
call.
update
@NotNull protected DriveSignal internalUpdate(@NotNull Pose2d currentPose, @Nullable Pose2d currentRobotVel)