add Motor value in constants
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / climber / StopWinch.java
1 package org.usfirst.frc.team3501.robot.commands.climber;
2
3 import org.usfirst.frc.team3501.robot.Robot;
4
5 import edu.wpi.first.wpilibj.command.Command;
6
7 /**
8 * Stops the winch
9 *
10 * @author shivanighanta
11 *
12 */
13 public class StopWinch extends Command {
14
15 public StopWinch() {
16 <<<<<<< HEAD
17 requires(Robot.getDriveTrain());
18 =======
19 requires(Robot.getClimber());
20 >>>>>>> add Motor value in constants
21
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() {
39 Robot.getDriveTrain().stop();
40
41 }
42
43 @Override
44 protected void interrupted() {
45 end();
46 }
47 }