Table of Contents

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 int

The number of values to consider in the integrator's sum.

proportionalGain float

The gain for the proportional part of the PID controller.

derivativeGain float

The gain for the derivative part of the PID controller.

integralGain float

The gain for the integral part of the PID controller.