1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import org
.usfirst
.frc
.team3501
.robot
.OI
;
4 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Shooter
;
6 import edu
.wpi
.first
.wpilibj
.command
.Command
;
11 public class ShooterTest
extends Command
{
12 public static Shooter shooter
;
15 public ShooterTest() {
16 // Use requires() here to declare subsystem dependencies
17 // eg. requires(chassis);
21 // Called just before this Command runs the first time
23 protected void initialize() {
27 // Called repeatedly when this Command is scheduled to run
29 protected void execute() {
32 // Make this return true when this Command no longer needs to run execute()
34 protected boolean isFinished() {
38 // Called once after isFinished returns true
40 protected void end() {
43 // Called when another command which requires one or more of the same
44 // subsystems is scheduled to run
46 protected void interrupted() {