add clean DriveForTime command
[3501/2015-FRC-Spark] / src / org / usfirst / frc3501 / RiceCatRobot / subsystems / DriveTrain.java
index 49ffefa32b0b5fff9c304e0462721ae55c17863c..4117c6a45ec2635608d6aaba91aaa7f4c0c5fe5f 100644 (file)
@@ -104,4 +104,8 @@ public class DriveTrain extends Subsystem {
   @Override
   protected void initDefaultCommand() {
   }
+
+  public void stop() {
+    setMotorSpeeds(0, 0);
+  }
 }