1 package org
.usfirst
.frc
.team3501
.bases
;
3 import org
.usfirst
.frc
.team3501
.robot
.OI
;
4 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Arm
;
6 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Claw
;
7 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Drivetrain
;
8 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Pneumatics
;
9 import org
.usfirst
.frc
.team3501
.util
.AutonData
;
11 import edu
.wpi
.first
.wpilibj
.command
.Scheduler
;
13 public abstract class Command
14 extends edu
.wpi
.first
.wpilibj
.command
.Command
{
16 protected static OI oi
;
18 protected static AutonData autonData
;
20 protected static Drivetrain drivetrain
;
21 protected static Arm arm
;
22 protected static Claw claw
;
24 protected static Pneumatics pneumatics
;
26 public Command(String commandName
) {
31 autonData
= Robot
.autonData
;
33 drivetrain
= Robot
.drivetrain
;
37 pneumatics
= Robot
.pneumatics
;
40 protected void schedule(Command c
) {
41 Scheduler
.getInstance().add(c
);
44 protected void initialize() {}
46 protected void execute() {}
48 protected void end() {}
50 protected void interrupted() {}