From f7ab7af3bb6d4d2ad4ca61cbff226c1b4c61724b Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Thu, 4 Feb 2016 18:41:15 -0800 Subject: [PATCH] add code to stop motors in end() --- .../usfirst/frc/team3501/robot/commands/driving/TurnForTime.java | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2