projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Change turning to using arcade drive turning to be smoother
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
commands
/
driving
/
TurnForTime.java
diff --git
a/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java
b/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java
index 368d10459f2289f94a406ff3ecc1ece79653592b..f0f2ecf6fca6c79e39d7879010832abcbd1506a3 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java
+++ b/
src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java
@@
-45,9
+45,11
@@
public class TurnForTime extends Command {
timer.start();
if (direction == Direction.RIGHT) {
timer.start();
if (direction == Direction.RIGHT) {
- Robot.driveTrain.drive(speed, -speed);
+ // Robot.driveTrain.drive(speed, -speed);
+ Robot.driveTrain.arcadeDrive(0, speed);
} else if (direction == Direction.LEFT) {
} else if (direction == Direction.LEFT) {
- Robot.driveTrain.drive(-speed, speed);
+ // Robot.driveTrain.drive(-speed, speed);
+ Robot.driveTrain.arcadeDrive(0, speed);
}
}
}
}