PIDController
Traditional proportional-integral-derivative controller.
Parameters
the PIDCoefficients that contains the PID gains
whether to reset the integral term when the error crosses
Constructors
Properties
Functions
Calculates the PID output from an error MotionState.
Calculates the PID output from reference and measured MotionStates.
Calculates the PID output
Calculates the PID output from a reference (setpoint) and measured value.
Calculates the PID output from a reference (setpoint) and measured value, with their respective derivatives.
Disables continuous input.
Enables continuous input.
Sets the range the accumulated error (integral term) is clamped to, to prevent unbounded windup while the error stays the same sign (e.g. an arm held against a mechanical stop, or fighting a constant load). Defaults to unbounded.