X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fsubsystems%2FShooter.java;h=43aea8990254a242bdcc97d8b4f12d9c746005ca;hb=2fdf2455e03284dfb6b46ab092993ba83222a74e;hp=f547ab0ee84fa2ae9399eb75898534218615ba07;hpb=a56412b727a0e8168a8e4b46fddf1eaad6028f80;p=3501%2Fstronghold-2016 diff --git a/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java b/src/org/usfirst/frc/team3501/robot/subsystems/Shooter.java index f547ab0e..43aea899 100755 --- 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() { }