X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2Fclimber%2FStopWinch.java;h=892d2ddfb2c726a90814d39bc7c0b2c00a1ba344;hb=43980ce140ec7ed3392eb4d117092389f1ad57dd;hp=903f22b94488c57bb6bdee942894ef6f4b40e084;hpb=e2e9a7a7c86cb8b19704096ed9fd8929f70420fc;p=3501%2F2017steamworks diff --git a/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java b/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java index 903f22b..892d2dd 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java @@ -15,6 +15,8 @@ import edu.wpi.first.wpilibj.command.Command; public class StopWinch extends Command { public StopWinch() { + requires(Robot.getClimber()); + } @Override