Edit JavaDoc comments in two methods
[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/**
0e77dfde 6 * Runs index wheel at a given speed for given time in seconds
809609c9 7 *
0e77dfde 8 * @param motorVal
9 * [-1,1]
809609c9 10 * @param time
c0860df7 11 * in seconds
12 * @author shaina
809609c9 13 */
14public class RunIndexWheel extends Command {
c0860df7 15 private double time;
16 private double motorVal;
17
18 public RunIndexWheel(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}