X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FRunIndexWheelContinuous.java;h=95940130f11aac8c50ebc54dc29af5d2d13dcf76;hp=1bf1309583fd06a0e5553ce95a2f1ac800d34094;hb=cb8e86cb498c12dcf4e2b7a5916fc6f4926b77cf;hpb=82fa994f28297c05b15018003f4d0094d303f280 diff --git a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java index 1bf1309..9594013 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java @@ -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 {