driver practice changes
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheelContinuous.java
index 1bf1309583fd06a0e5553ce95a2f1ac800d34094..95940130f11aac8c50ebc54dc29af5d2d13dcf76 100644 (file)
@@ -34,7 +34,7 @@ public class RunIndexWheelContinuous extends Command {
 
   @Override
   protected void execute() {
-    if (timeSinceInitialized() % 1 == 0) {
+    if (timeSinceInitialized() % 0.5 <= 0.02) {
       if (Shooter.getShooter().getPistonValue() == Constants.Shooter.LOW_GEAR) {
         Shooter.getShooter().setHighGear();
       } else {