1 package org
.usfirst
.frc
.team3501
.robot
.commands
.climber
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 * This command stops the winch
10 * post-condition: the motor values are set to 0.
12 * @author shivanighanta
15 public class StopWinch
extends Command
{
20 requires(Robot
.getClimber());
25 protected void initialize() {
29 protected void execute() {
33 protected boolean isFinished() {
38 protected void end() {
39 Robot
.getClimber().stop();
44 protected void interrupted() {