From 2fdf2455e03284dfb6b46ab092993ba83222a74e Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Wed, 17 Feb 2016 10:59:37 -0800 Subject: [PATCH] Access constants instead of Value --- src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; } -- 2.30.2