Package xbot.common.math
Class PIDPropertyManager
java.lang.Object
xbot.common.math.PIDPropertyManager
- Direct Known Subclasses:
PIDManager
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionPIDPropertyManager
(String functionName, PropertyFactory propMan, RobotAssertionManager assertionManager, double defaultP, double defaultI, double defaultD, double defaultF, double errorThreshold, double derivativeThreshold, double timeThreshold, double defaultIZone) -
Method Summary
Modifier and TypeMethodDescriptiondouble
getD()
double
boolean
boolean
boolean
double
double
getF()
double
getI()
double
getIZone()
double
getP()
double
void
setD
(double d) void
setDerivativeThreshold
(double derivativeThreshold) void
setEnableDerivativeThreshold
(boolean isEnabled) void
setEnableErrorThreshold
(boolean isEnabled) void
setEnableTimeThreshold
(boolean isEnabled) void
setErrorThreshold
(double errorThreshold) void
setF
(double f) void
setI
(double i) void
setIZone
(double iZone) void
setP
(double p) void
setTimeThreshold
(double timeThreshold)
-
Constructor Details
-
PIDPropertyManager
@AssistedInject public PIDPropertyManager(@Assisted String functionName, PropertyFactory propMan, RobotAssertionManager assertionManager, @Assisted("defaultP") double defaultP, @Assisted("defaultI") double defaultI, @Assisted("defaultD") double defaultD, @Assisted("defaultF") double defaultF, @Assisted("errorThreshold") double errorThreshold, @Assisted("derivativeThreshold") double derivativeThreshold, @Assisted("timeThreshold") double timeThreshold, @Assisted("iZone") double defaultIZone)
-
-
Method Details
-
getP
public double getP() -
setP
public void setP(double p) -
getI
public double getI() -
setI
public void setI(double i) -
getD
public double getD() -
setD
public void setD(double d) -
getF
public double getF() -
setF
public void setF(double f) -
getIZone
public double getIZone() -
setIZone
public void setIZone(double iZone) -
getErrorThreshold
public double getErrorThreshold() -
setErrorThreshold
public void setErrorThreshold(double errorThreshold) -
getDerivativeThreshold
public double getDerivativeThreshold() -
setDerivativeThreshold
public void setDerivativeThreshold(double derivativeThreshold) -
getTimeThreshold
public double getTimeThreshold() -
setTimeThreshold
public void setTimeThreshold(double timeThreshold) -
getEnableErrorThreshold
public boolean getEnableErrorThreshold() -
setEnableErrorThreshold
public void setEnableErrorThreshold(boolean isEnabled) -
getEnableDerivativeThreshold
public boolean getEnableDerivativeThreshold() -
setEnableDerivativeThreshold
public void setEnableDerivativeThreshold(boolean isEnabled) -
getEnableTimeThreshold
public boolean getEnableTimeThreshold() -
setEnableTimeThreshold
public void setEnableTimeThreshold(boolean isEnabled)
-