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
12 public class RunIndexWheelContinuous
extends Command
{
13 private double motorVal
;
15 public RunIndexWheelContinuous(double motorVal
) {
16 this.motorVal
= motorVal
;
19 // Called just before this Command runs the first time
21 protected void initialize() {
24 // Called repeatedly when this Command is scheduled to run
26 protected void execute() {
29 // Called once after isFinished returns true
31 protected void end() {
34 // Called when another command which requires one or more of the same
35 // subsystems is scheduled to run
37 protected void interrupted() {
41 protected boolean isFinished() {