Access constants instead of Value
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / subsystems / Shooter.java
index f547ab0ee84fa2ae9399eb75898534218615ba07..43aea8990254a242bdcc97d8b4f12d9c746005ca 100755 (executable)
@@ -100,6 +100,12 @@ public class Shooter extends Subsystem {
     hood.set(Constants.Shooter.closed);
   }
 
+  public boolean isHoodDown() {
+    if (hood.get() == Constants.Shooter.open)
+      return true;
+    return false;
+  }
+
   @Override
   protected void initDefaultCommand() {
   }