Delete shooter method comments
authorshainachen <shaina.sierra@gmail.com>
Tue, 17 Jan 2017 05:02:31 +0000 (21:02 -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/RunIndexWheel.java
src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java

index a240d3ec7574ea1cd9e0dbd42a89b940f204d6eb..4c8cd54d102573329a4ee36dc4ca10288249ff20 100644 (file)
@@ -39,7 +39,6 @@ public class RunIndexWheel extends Command {
   protected void initialize() {
     timer.start();
     Robot.getShooter().setIndexWheelMotorVal(motorVal);
-
   }
 
   // Called repeatedly when this Command is scheduled to run
@@ -51,7 +50,6 @@ public class RunIndexWheel extends Command {
   @Override
   protected void end() {
     Robot.getShooter().stopIndexWheel();
-
   }
 
   // Called when another command which requires one or more of the same
index d3d49b841a3322514b344e72b401155a1050094b..aba8b3e956d8fd4ad3def135ae7ebe228e4259e1 100644 (file)
@@ -40,7 +40,6 @@ public class RunIndexWheelContinuous extends Command {
   // Called once after isFinished returns true
   @Override
   protected void end() {
-    Robot.getShooter().stopIndexWheel();
   }
 
   // Called when another command which requires one or more of the same
@@ -52,8 +51,7 @@ public class RunIndexWheelContinuous extends Command {
 
   @Override
   protected boolean isFinished() {
-    // TODO
-    return Robot.getOI().toggleIndexWheel.get();
+    return false;
   }
 
 }