add Motor value in constants
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / StopWinch.java
CommitLineData
0c916244
SG
1package org.usfirst.frc.team3501.robot.commands.climber;
2
3import org.usfirst.frc.team3501.robot.Robot;
4
5import edu.wpi.first.wpilibj.command.Command;
6
7/**
8 * Stops the winch
9 *
10 * @author shivanighanta
11 *
12 */
13public class StopWinch extends Command {
14
15 public StopWinch() {
7b3f27eb 16<<<<<<< HEAD
9d7d6676 17 requires(Robot.getDriveTrain());
7b3f27eb
SG
18=======
19 requires(Robot.getClimber());
20>>>>>>> add Motor value in constants
f761d7ba 21
0c916244
SG
22 }
23
24 @Override
25 protected void initialize() {
26 }
27
28 @Override
29 protected void execute() {
30 }
31
32 @Override
33 protected boolean isFinished() {
34 return true;
35 }
36
37 @Override
38 protected void end() {
9d7d6676 39 Robot.getDriveTrain().stop();
0c916244
SG
40
41 }
42
43 @Override
44 protected void interrupted() {
45 end();
46 }
47}