Package org.texastorque.torquelib.legacy
Class TorqueWCDTeleopDriver
java.lang.Object
org.texastorque.torquelib.legacy.TorqueWCDTeleopDriver
Improvments to the algorithm used to drive a West Coast Drivetrain
durring teleop. Encapsulated in a class.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getLeft()
double
getRight()
void
setCoef
(double coef) Deprecated.void
setForwardCoef
(double forward) void
setLeft
(double left) void
setRight
(double right) void
setTurnCoef
(double turn) void
update
(double x, double y)
-
Constructor Details
-
TorqueWCDTeleopDriver
public TorqueWCDTeleopDriver(double forward, double turn)
-
-
Method Details
-
setCoef
Deprecated.This will be removed after fully debugged- Parameters:
coef
-
-
update
public void update(double x, double y) -
getLeft
public double getLeft() -
getRight
public double getRight() -
setForwardCoef
public void setForwardCoef(double forward) -
setTurnCoef
public void setTurnCoef(double turn) -
setLeft
public void setLeft(double left) -
setRight
public void setRight(double right)
-