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