X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fintakearm%2FMoveIntakeArm.java;h=b90b83e0723621f717eb8a84dc64f33e7043440a;hb=7988f380b7cf243129ad2678b2d3f5c300ad29c4;hp=1991726ac0430491e27144202c7e544599ab4f7c;hpb=9e9154afeb74372b98fb56c9288d5513e8ba6517;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/commands/intakearm/MoveIntakeArm.java b/src/org/usfirst/frc/team3501/robot/commands/intakearm/MoveIntakeArm.java index 1991726a..b90b83e0 100755 --- a/src/org/usfirst/frc/team3501/robot/commands/intakearm/MoveIntakeArm.java +++ b/src/org/usfirst/frc/team3501/robot/commands/intakearm/MoveIntakeArm.java @@ -1,6 +1,6 @@ package org.usfirst.frc.team3501.robot.commands.intakearm; -import org.usfirst.frc.team3501.robot.Constants; +import org.usfirst.frc.team3501.robot.Constants.IntakeArm; import org.usfirst.frc.team3501.robot.Robot; import edu.wpi.first.wpilibj.DoubleSolenoid.Value; @@ -20,7 +20,7 @@ public class MoveIntakeArm extends Command { @Override protected void initialize() { - if (direction == Constants.IntakeArm.EXTEND) + if (direction == IntakeArm.EXTEND) Robot.intakeArm.extendPistons(); else Robot.intakeArm.retractPistons();