projects
/
3501
/
2017steamworks
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
implement tank drive and toggle winch
[3501/2017steamworks]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
subsystems
/
DriveTrain.java
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
b/src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
index 383abd6824cdd1129bcabd1c7a22156644cd9a90..f3df881225b0e65deb11323b234fa46928246f99 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
@@
-97,6
+97,10
@@
public class DriveTrain extends Subsystem {
robotDrive.arcadeDrive(thrust, twist, true);
}
+ public void tankDrive(double left, double right) {
+ robotDrive.tankDrive(left, right);
+ }
+
public void stop() {
setMotorValues(0, 0);
}