Class TorqueWestCoast
java.lang.Object
org.texastorque.torquelib.control.TorqueWestCoast
Improvments to the algorithm used to drive a West Coast Drivetrain
durring teleop. Encapsulated in a class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
calculate
(double speed, double rotation) final double
getLeft()
final double
getRight()
final void
setCoef
(double coef) Deprecated.final void
setForwardCoef
(double forward) final void
setLeft
(double left) final void
setRight
(double right) final void
setTurnCoef
(double turn)
-
Constructor Details
-
TorqueWestCoast
public TorqueWestCoast(double forward, double turn)
-
-
Method Details
-
setCoef
Deprecated. -
calculate
public final void calculate(double speed, double rotation) -
getLeft
public final double getLeft() -
getRight
public final double getRight() -
setForwardCoef
public final void setForwardCoef(double forward) -
setTurnCoef
public final void setTurnCoef(double turn) -
setLeft
public final void setLeft(double left) -
setRight
public final void setRight(double right)
-