Delete OI code in commands that run continuously
authorshainachen <shaina.sierra@gmail.com>
Sat, 21 Jan 2017 20:00:48 +0000 (12:00 -0800)
committerCindy Zhang <cindyzyx9@gmail.com>
Wed, 25 Jan 2017 03:40:38 +0000 (19:40 -0800)
src/org/usfirst/frc/team3501/robot/commands/shooter/RunFlyWheelContinuous.java

index 806611d91335e0ebd7caa42401d1daea7a78602a..081b13e3e8891e4638cf5b36374a27b86a1c25c3 100644 (file)
@@ -40,7 +40,6 @@ public class RunFlyWheelContinuous extends Command {
   // Called once after isFinished returns true
   @Override
   protected void end() {
-    Robot.getShooter().stopFlyWheel();
   }
 
   // Called when another command which requires one or more of the same
@@ -53,7 +52,7 @@ public class RunFlyWheelContinuous extends Command {
   @Override
   protected boolean isFinished() {
     // TODO
-    return !Robot.getOI().toggleFlyWheel.get();
+    return false;
   }
 
 }