Package org.wildstang.framework.pid
Class PIDConstants
- java.lang.Object
-
- org.wildstang.framework.pid.PIDConstants
-
public class PIDConstants extends java.lang.Object
Represents the 4 PID constants: F, P, I, and D. Feed-forward-proportional-integral-derivative controller https://en.wikipedia.org/wiki/PID_controller#Feed-forward
-
-
Constructor Summary
Constructors Constructor Description PIDConstants(double f, double p, double i, double d)
Create a new PID constant set.
-
-
-
Constructor Detail
-
PIDConstants
public PIDConstants(double f, double p, double i, double d)
Create a new PID constant set.- Parameters:
f
- Feed-forward - Major proportion of the output.p
- Proportional - Proportional to the current value of the error.i
- Integral - Accounts for past values of the error.d
- Derivative - Best estimate of the future trend of the error.
-
-