Fix conflict in indexer piston
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheelContinuous.java
index cf200ebfdd2afcce5d5fc1fa95ee476c25a05cc9..ccc0e4374d6223121eefff87bc28ced1bee495c2 100644 (file)
@@ -1,7 +1,7 @@
 package org.usfirst.frc.team3501.robot.commands.shooter;
 
-import org.usfirst.frc.team3501.robot.Robot;
 import org.usfirst.frc.team3501.robot.Constants;
+import org.usfirst.frc.team3501.robot.Robot;
 import org.usfirst.frc.team3501.robot.subsystems.Shooter;
 import edu.wpi.first.wpilibj.Timer;
 import edu.wpi.first.wpilibj.command.Command;
@@ -36,7 +36,7 @@ public class RunIndexWheelContinuous extends Command {
 
   @Override
   protected void execute() {
-    if (t.get() > 1) {
+    if (t.get() >= 1) {
       if (Shooter.getShooter().getPistonValue() == Constants.Shooter.LOW_GEAR) {
         Shooter.getShooter().setHighGear();
       } else {