PIDController
Constructors
Inherited properties
Link copied to clipboard
Whether to clear the integral term when a new setpoint is set.
Link copied to clipboard
Link copied to clipboard
The default smoothing/low-pass gain for the derivative (kD) term.
Link copied to clipboard
The derivative/velocity error tolerance.
Link copied to clipboard
The positional error tolerance.
Link copied to clipboard
The lower clamp for the output.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
A null controller that does nothing.
Link copied to clipboard
The upper clamp for the output.
Functions
Inherited functions
Link copied to clipboard
Returns true if the error is within the percentage of the total input range, determined by setTolerance.
Link copied to clipboard
Calculate the next output of this control algorithm.
Calculates the next output of the PIDF controller.
Calculates the control value, u(t).
Link copied to clipboard
Clear the integral term.
Link copied to clipboard
open fun compose(@NonNull other: SystemController, @NonNull combiner: DoubleBinaryOperator): CompositeController
Composes this controller with another controller, returning a new controller that is the composition of the two.
Link copied to clipboard
Disables continuous input.
Link copied to clipboard
Enables continuous input.
Link copied to clipboard
Link copied to clipboard
Get the derivative smoothing coefficient.
Link copied to clipboard
Link copied to clipboard
Returns the current setpoint of the PIDFController.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Whether the input is continuous.
Link copied to clipboard
Get the PIDF controller associated with this controller, if applicable.
Link copied to clipboard
Sets whether the integral term should be cleared when a new setpoint is set.
Link copied to clipboard
Sets the coefficients for this controller.
Note!
Link copied to clipboard
Set the Derivative coefficient on this controller
Link copied to clipboard
Set the derivative smoothing coefficient.
Link copied to clipboard
Set the setpoint Feedforward coefficient on this controller
Link copied to clipboard
Set the Integral coefficient on this controller
Link copied to clipboard
Set the bounds for the integral term.
Link copied to clipboard
Sets the Integration zone range.
Link copied to clipboard
Clamps the maximum output magnitude that can be achieved via calculate.
Link copied to clipboard
Set the Proportional coefficient on this controller
Link copied to clipboard
Sets the setpoint for the PIDFController
Link copied to clipboard
Sets the error which is considered tolerable for use with atSetpoint.
Link copied to clipboard
Update the supplied PID coefficients with the current controller values.