Custom Filtered PIDFCoefficients
This creates a new CustomFilteredPIDFCoefficients 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.
t
the time constant for the filter
f
the coefficient for the feedforward factor.
public void CustomFilteredPIDFCoefficients(double p, double i, double d, double t, FeedForwardConstant f)
This creates a new CustomFilteredPIDFCoefficients 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.
t
the time constant for the filter
f
the equation for the feedforward factor.