add compressor on/off
[3501/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / commands / CommandBase.java
CommitLineData
b449387d
LH
1package org.usfirst.frc.team3501.robot.commands;
2
3import org.usfirst.frc.team3501.robot.OI;
4import org.usfirst.frc.team3501.robot.Robot;
5import org.usfirst.frc.team3501.robot.subsystems.*;
6
7import edu.wpi.first.wpilibj.command.Command;
8
9public abstract class CommandBase extends Command {
10
11 protected static OI oi;
12
13 protected static Drivetrain drivetrain;
14 protected static Arm arm;
15 protected static Claw claw;
16
510cff21
LH
17 protected static Pneumatics pneumatics;
18
b449387d
LH
19 public CommandBase(String commandName) {
20 super(commandName);
21
22 oi = Robot.oi;
23
24 drivetrain = Robot.drivetrain;
25 arm = Robot.arm;
26 claw = Robot.claw;
510cff21
LH
27
28 pneumatics = Robot.pneumatics;
b449387d
LH
29 }
30
31 protected void initialize() {}
32
33 protected void execute() {}
34
35 protected void end() {}
36
37 protected void interrupted() {}
38}