Class TorqueLogisticRegression
java.lang.Object
org.texastorque.torquelib.control.TorqueLogisticRegression
A logistic regression model that can be used to calculate speed from error.
-
Constructor Summary
ConstructorDescriptionTorqueLogisticRegression
(double maxSpeed, double maxDistance, double growth) -
Method Summary
-
Constructor Details
-
TorqueLogisticRegression
public TorqueLogisticRegression(double maxSpeed, double maxDistance, double growth)
-
-
Method Details
-
calculate
public double calculate(double current, double requested)
-