X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fshooter%2FRunIndexWheelContinuous.java;h=ccc0e4374d6223121eefff87bc28ced1bee495c2;hb=b30e6822d5baa8ebff5f6320a4d7da9c992fd4a7;hp=062da20f01a5dd73c36a3dcfcd34f2c227f9a420;hpb=b6c65122a978685703718a9d0f1d8ee012cbf9c8;p=3501%2F2017steamworks 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 062da20..ccc0e43 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java +++ b/src/org/usfirst/frc/team3501/robot/commands/shooter/RunIndexWheelContinuous.java @@ -1,12 +1,8 @@ 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; -<<<<<<< HEAD -======= - ->>>>>>> Remove getters for shift pistons import edu.wpi.first.wpilibj.Timer; import edu.wpi.first.wpilibj.command.Command; @@ -35,16 +31,12 @@ public class RunIndexWheelContinuous extends Command { @Override protected void initialize() { -<<<<<<< HEAD t.start(); -======= - t.reset(); ->>>>>>> Remove getters for shift pistons } @Override protected void execute() { - if (t.get() > 1) { + if (t.get() >= 1) { if (Shooter.getShooter().getPistonValue() == Constants.Shooter.LOW_GEAR) { Shooter.getShooter().setHighGear(); } else {