SystemController

Generic interface that represents a controller algorithm to move a system from one state to another.

Author

Lucas Bubner, 2024

Since

4.0.0

Inheritors

Properties

Link copied to clipboard
A null controller that does nothing.

Functions

Link copied to clipboard
abstract fun calculate(process: Double, setpoint: Double): Double
Calculate the next output of this control algorithm.
Link copied to clipboard
Composes this controller with another controller, returning a new controller that is the composition of the two.
Link copied to clipboard
Gets the current coefficients for this controller.
Link copied to clipboard
Get the PIDF controller associated with this controller, if applicable.
Link copied to clipboard
open fun reset()
Reset this controller back to an un-accumulated state, if applicable.
Link copied to clipboard
open fun setCoefficients(@NonNull coeffs: Array<Double>)
open fun setCoefficients(@NonNull coeffs: Array<Double>)
Sets the coefficients for this controller.