projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Access constants instead of Value
[3501/stronghold-2016]
/
src
/
org
/
usfirst
/
frc
/
team3501
/
robot
/
subsystems
/
Shooter.java
diff --git
a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
index f547ab0ee84fa2ae9399eb75898534218615ba07..43aea8990254a242bdcc97d8b4f12d9c746005ca 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
@@
-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() {
}