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 * Run stopIndexWheel to stop
9 *
10 * @param motorVal
11 * [-1,1]
12 * @author shaina
13 */
14 public class RunIndexWheelContinuous extends Command {
15 private double motorVal;
16
17 public RunIndexWheelContinuous(double motorVal) {
18 this.motorVal = motorVal;
19 }
20
21 // Called just before this Command runs the first time
22 @Override
23 protected void initialize() {
24 }
25
26 // Called repeatedly when this Command is scheduled to run
27 @Override
28 protected void execute() {
29 }
30
31 // Called once after isFinished returns true
32 @Override
33 protected void end() {
34 }
35
36 // Called when another command which requires one or more of the same
37 // subsystems is scheduled to run
38 @Override
39 protected void interrupted() {
40 }
41
42 @Override
43 protected boolean isFinished() {
44 return false;
45 }
46
47 }