From: Shivani Ghanta Date: Sat, 14 Jan 2017 23:46:50 +0000 (-0800) Subject: Implement StopWinch X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=9e39234e0806343521734817d638bdc3de370210 Implement StopWinch --- 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 6c83816..d8267ff 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java +++ b/src/org/usfirst/frc/team3501/robot/commands/climber/StopWinch.java @@ -27,15 +27,17 @@ public class StopWinch extends Command { @Override protected boolean isFinished() { - return false; + return true; } @Override protected void end() { + Robot.getClimber().stop(); } @Override protected void interrupted() { + end(); } }