1 package org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
6 * Runs index wheel continuously when corresponding button is pressed
8 * Run stopIndexWheel to stop
14 public class RunIndexWheelContinuous
extends Command
{
15 private double motorVal
;
17 public RunIndexWheelContinuous(double motorVal
) {
18 this.motorVal
= motorVal
;
21 // Called just before this Command runs the first time
23 protected void initialize() {
26 // Called repeatedly when this Command is scheduled to run
28 protected void execute() {
31 // Called once after isFinished returns true
33 protected void end() {
36 // Called when another command which requires one or more of the same
37 // subsystems is scheduled to run
39 protected void interrupted() {
43 protected boolean isFinished() {