Delete StopWinch and Climber subsystem, edit javadoc comments
[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() {
e74e5e9d 16
9d7d6676 17 requires(Robot.getDriveTrain());
7b3f27eb 18 requires(Robot.getClimber());
f761d7ba 19
0c916244
SG
20 }
21
22 @Override
23 protected void initialize() {
24 }
25
26 @Override
27 protected void execute() {
28 }
29
30 @Override
31 protected boolean isFinished() {
32 return true;
33 }
34
35 @Override
36 protected void end() {
9d7d6676 37 Robot.getDriveTrain().stop();
0c916244
SG
38
39 }
40
41 @Override
42 protected void interrupted() {
43 end();
44 }
45}