Class TorqueLogisticRegression

java.lang.Object
org.texastorque.torquelib.control.TorqueLogisticRegression

public final class TorqueLogisticRegression extends Object
A logistic regression model that can be used to calculate speed from error.
  • Constructor Details

    • TorqueLogisticRegression

      public TorqueLogisticRegression(double maxSpeed, double maxDistance, double growth)
  • Method Details

    • calculate

      public double calculate(double current, double requested)