Constructor PidController
- Namespace
- Gamelogic.Extensions.Algorithms
- Assembly
- Gamelogic.Extensions.dll
PidController(int, float, float, float)
Initializes a new instance of the PidController class with specified gains and integration window.
public PidController(int integrationWindow, float proportionalGain, float derivativeGain, float integralGain)
Parameters
integrationWindowintThe number of values to consider in the integrator's sum.
proportionalGainfloatThe gain for the proportional part of the PID controller.
derivativeGainfloatThe gain for the derivative part of the PID controller.
integralGainfloatThe gain for the integral part of the PID controller.