CustomPIDFCoefficients

public void CustomPIDFCoefficients(double p, double i, double d, double f)

This creates a new CustomPIDFCoefficients with constant coefficients.

Parameters

p

the coefficient for the proportional factor.

i

the coefficient for the integral factor.

d

the coefficient for the derivative factor.

f

the coefficient for the feedforward factor.


public void CustomPIDFCoefficients(double p, double i, double d, FeedForwardConstant f)

This creates a new CustomPIDFCoefficients with constant PID coefficients and a variable feedforward equation using a FeedForwardConstant.

Parameters

p

the coefficient for the proportional factor.

i

the coefficient for the integral factor.

d

the coefficient for the derivative factor.

f

the equation for the feedforward factor.