Class PidController
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
Represents a Proportional-Integral-Derivative (PID) controller that calculates control values based on the difference between a desired set point and a measured process variable.
[Version(4, 1, 0)]
public sealed class PidController
- Inheritance
-
PidController
- Inherited Members
- Extension Methods
Constructors
- PidController(int, float, float, float)
Initializes a new instance of the PidController class with specified gains and integration window.
Properties
- FilteredValue
Gets the filtered control value based on the PID gains and the current, differentiated, and integrated values.
- Value
Gets or sets the current value of the PID controller. Setting this value updates both the differentiator and integrator.