Edit JavaDoc comments in shooter commands
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheel.java
CommitLineData
809609c9 1package org.usfirst.frc.team3501.robot.commands.shooter;
2
3import edu.wpi.first.wpilibj.command.Command;
4
5/**
973f0ac4 6 * This command runs index wheel at a given speed for given time in seconds.
7 *
8 * pre-condition: fly wheel is running at full speed to prepare for shooting
9 * fuel
10 *
809609c9 11 *
0e77dfde 12 * @param motorVal
a149fd64 13 * value range is from -1 to 1
809609c9 14 * @param time
c0860df7 15 * in seconds
16 * @author shaina
809609c9 17 */
18public class RunIndexWheel extends Command {
c0860df7 19 private double time;
20 private double motorVal;
21
22 public RunIndexWheel(double motorVal, double time) {
23 this.motorVal = motorVal;
24 this.time = time;
25 }
26
27 // Called just before this Command runs the first time
28 @Override
29 protected void initialize() {
30 }
31
32 // Called repeatedly when this Command is scheduled to run
33 @Override
34 protected void execute() {
35 }
36
37 // Called once after isFinished returns true
38 @Override
39 protected void end() {
40 }
41
42 // Called when another command which requires one or more of the same
43 // subsystems is scheduled to run
44 @Override
45 protected void interrupted() {
46 }
47
48 @Override
49 protected boolean isFinished() {
50 return false;
51 }
809609c9 52
53}