Edit JavaDoc comments
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunFlyWheelContinuous.java
CommitLineData
809609c9 1package org.usfirst.frc.team3501.robot.commands.shooter;
2
3import edu.wpi.first.wpilibj.command.Command;
4
5/**
55cbd9ba 6 * Runs fly wheel continuously when corresponding button pressed
b6e97560 7 *
8 * @param motorVal
0e77dfde 9 * [-1,1]
b6e97560 10 * @author shaina
809609c9 11 */
12public class RunFlyWheelContinuous extends Command {
b6e97560 13 private double motorVal;
55cbd9ba 14
b6e97560 15 public RunFlyWheelContinuous(double motorVal) {
16 this.motorVal = motorVal;
55cbd9ba 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 }
809609c9 44
45}