Edit JavaDoc comments in two methods
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheelContinuous.java
CommitLineData
809609c9 1package org.usfirst.frc.team3501.robot.commands.shooter;
2
3import edu.wpi.first.wpilibj.command.Command;
4
5/**
89a76b33 6 * This command will run the index wheel motor continuously until the button
7 * triggering it is released.
357feb5c 8 *
89a76b33 9 * pre-condition: This command must be run by a button in OI.
10 *
a2a99ce1 11 * @param motorVal
0e77dfde 12 * [-1,1]
4f2fa45c 13 * @author shaina
809609c9 14 */
15public class RunIndexWheelContinuous extends Command {
a2a99ce1 16 private double motorVal;
4f2fa45c 17
a2a99ce1 18 public RunIndexWheelContinuous(double motorVal) {
19 this.motorVal = motorVal;
4f2fa45c 20 }
21
22 // Called just before this Command runs the first time
23 @Override
24 protected void initialize() {
25 }
26
27 // Called repeatedly when this Command is scheduled to run
28 @Override
29 protected void execute() {
30 }
31
32 // Called once after isFinished returns true
33 @Override
34 protected void end() {
35 }
36
37 // Called when another command which requires one or more of the same
38 // subsystems is scheduled to run
39 @Override
40 protected void interrupted() {
41 }
42
43 @Override
44 protected boolean isFinished() {
45 return false;
46 }
809609c9 47
48}