Commit | Line | Data |
---|---|---|
9738295a SG |
1 | package org.usfirst.frc.team3501.robot.commands.climber; |
2 | ||
3 | import edu.wpi.first.wpilibj.command.Command; | |
4 | ||
5 | /** | |
6 | * Runs the winch continuously at a given motor value | |
7 | * | |
8 | * @author shivanighanta | |
9 | * | |
10 | */ | |
11 | public class RunWinchContinuous extends Command { | |
12 | private double motorVal; | |
13 | ||
14 | public RunWinchContinuous(double motorVal) { | |
15 | this.motorVal = motorVal; | |
16 | } | |
17 | ||
18 | @Override | |
19 | protected void initialize() { | |
20 | } | |
21 | ||
22 | @Override | |
23 | protected void execute() { | |
24 | ||
25 | } | |
26 | ||
27 | @Override | |
28 | protected boolean isFinished() { | |
29 | return false; | |
30 | } | |
31 | ||
32 | @Override | |
33 | protected void end() { | |
34 | ||
35 | } | |
36 | ||
37 | @Override | |
38 | protected void interrupted() { | |
39 | } | |
40 | } |