X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fdriving%2FTurnForTime.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fdriving%2FTurnForTime.java;h=f0f2ecf6fca6c79e39d7879010832abcbd1506a3;hp=368d10459f2289f94a406ff3ecc1ece79653592b;hb=6c72e0a830472f433d7d3a3fbba284abfafeb1f0;hpb=a28e24c71f76b39e7ab73fb3e8932acb0c694ae8 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 368d1045..f0f2ecf6 100755 --- 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) { - Robot.driveTrain.drive(speed, -speed); + // Robot.driveTrain.drive(speed, -speed); + Robot.driveTrain.arcadeDrive(0, speed); } else if (direction == Direction.LEFT) { - Robot.driveTrain.drive(-speed, speed); + // Robot.driveTrain.drive(-speed, speed); + Robot.driveTrain.arcadeDrive(0, speed); } }