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 at a given time and motor value | |
7 | * | |
8 | * @author shivanighanta | |
9 | * | |
10 | */ | |
11 | public class RunWinch extends Command { | |
12 | private double time; | |
13 | private double motorVal; | |
14 | ||
15 | public RunWinch(double time, double motorVal) { | |
16 | this.time = time; | |
17 | this.motorVal = motorVal; | |
18 | } | |
19 | ||
20 | @Override | |
21 | protected void initialize() { | |
22 | } | |
23 | ||
24 | @Override | |
25 | protected void execute() { | |
26 | ||
27 | } | |
28 | ||
29 | @Override | |
30 | protected boolean isFinished() { | |
31 | return false; | |
32 | } | |
33 | ||
34 | @Override | |
35 | protected void end() { | |
36 | ||
37 | } | |
38 | ||
39 | @Override | |
40 | protected void interrupted() { | |
41 | } | |
42 | } |