From: Meryem Esa Date: Fri, 5 Feb 2016 02:41:15 +0000 (-0800) Subject: add code to stop motors in end() X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=f7ab7af3bb6d4d2ad4ca61cbff226c1b4c61724b add code to stop motors in end() --- 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 7a27e7bc..b1b37cdd 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java +++ b/src/org/usfirst/frc/team3501/robot/commands/driving/TurnForTime.java @@ -56,6 +56,7 @@ public class TurnForTime extends Command { @Override protected void end() { + Robot.driveTrain.setMotorSpeeds(0, 0); } @Override