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