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
integrationWindow
intThe number of values to consider in the integrator's sum.
proportionalGain
floatThe gain for the proportional part of the PID controller.
derivativeGain
floatThe gain for the derivative part of the PID controller.
integralGain
floatThe gain for the integral part of the PID controller.