From: Kevin Zhang Date: Wed, 17 Feb 2016 18:59:37 +0000 (-0800) Subject: Access constants instead of Value X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=2fdf2455e03284dfb6b46ab092993ba83222a74e Access constants instead of Value --- diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index e54ca726..43aea899 100755 --- a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java +++ b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java @@ -6,7 +6,6 @@ import org.usfirst.frc.team3501.robot.sensors.Lidar; import edu.wpi.first.wpilibj.CANTalon; import edu.wpi.first.wpilibj.CounterBase.EncodingType; import edu.wpi.first.wpilibj.DoubleSolenoid; -import edu.wpi.first.wpilibj.DoubleSolenoid.Value; import edu.wpi.first.wpilibj.Encoder; import edu.wpi.first.wpilibj.command.Subsystem; @@ -102,7 +101,7 @@ public class Shooter extends Subsystem { } public boolean isHoodDown() { - if (hood.get() == Value.kReverse) + if (hood.get() == Constants.Shooter.open) return true; return false; }