Purge code of all unused fields/classes. Only testing code.
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / Shoot.java
index 0b80c1d9c349f7d8b0ddcde6d0bd936e2f632f26..f0416b4eb11a64f34258dabc3ff5f9dd389c861e 100755 (executable)
@@ -1,7 +1,6 @@
 package org.usfirst.frc.team3501.robot.commands.shooter;
 
 import org.usfirst.frc.team3501.robot.Constants;
-import org.usfirst.frc.team3501.robot.Robot;
 
 import edu.wpi.first.wpilibj.command.CommandGroup;
 import edu.wpi.first.wpilibj.command.WaitCommand;
@@ -18,16 +17,8 @@ public class Shoot extends CommandGroup {
    * catapult.
    */
   public Shoot() {
-    if (Robot.shooter.usePhotogate()) {
-      if (Robot.shooter.isBallInside()) {
-        addSequential(new FireCatapult());
-        addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
-        addSequential(new ResetCatapult());
-      }
-    } else {
-      addSequential(new FireCatapult());
-      addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
-      addSequential(new ResetCatapult());
-    }
+    addSequential(new FireCatapult());
+    addSequential(new WaitCommand(Constants.Shooter.WAIT_TIME));
+    addSequential(new ResetCatapult());
   }
 }