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 *
357feb5c 8 * Run stopFlyWheel command to stop
9 *
b6e97560 10 * @param motorVal
0e77dfde 11 * [-1,1]
b6e97560 12 * @author shaina
809609c9 13 */
14public class RunFlyWheelContinuous extends Command {
b6e97560 15 private double motorVal;
55cbd9ba 16
b6e97560 17 public RunFlyWheelContinuous(double motorVal) {
18 this.motorVal = motorVal;
55cbd9ba 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 }
809609c9 46
47}