projects
/
3501
/
stronghold-2016
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add second piston that controls hood to isHoodDown method
[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 69bff0bda6ca9475560fa93853f245dbdeeea05b..3633c04ca10e2fea9e5c63a656427a86642eaea1 100755
(executable)
--- a/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
+++ b/
src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java
@@
-105,7
+105,8
@@
public class Shooter extends Subsystem {
}
public boolean isHoodDown() {
- if (hood1.get() == Constants.Shooter.open)
+ if (hood1.get() == Constants.Shooter.open
+ && hood2.get() == Constants.Shooter.open)
return true;
return false;
}