projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Switch left and right side of robot, remove capability to switch front temporarily
[3501/stronghold-2016]
/
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 0f52e115d8eda7dca2cfbf7b04cc8a49fb08084b..1a4e6e5b96c04dfc58689e377aa2ec5ba9dd1ae8 100644
(file)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/DriveTrain.java
@@
-222,7
+222,7
@@
public class DriveTrain extends PIDSubsystem {
public void setMotorSpeeds(double left, double right) {
double k = (isFlipped() ? -1 : 1);
- robotDrive.tankDrive(-left
* k, -right * k
);
+ robotDrive.tankDrive(-left
, -right
);
}
/**