initial commit
[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
17 public CommandBase(String commandName) {
18 super(commandName);
19
20 oi = Robot.oi;
21
22 drivetrain = Robot.drivetrain;
23 arm = Robot.arm;
24 claw = Robot.claw;
25 }
26
27 protected void initialize() {}
28
29 protected void execute() {}
30
31 protected void end() {}
32
33 protected void interrupted() {}
34}