Commit | Line | Data |
---|---|---|
b449387d LH |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.OI; | |
4 | import org.usfirst.frc.team3501.robot.Robot; | |
5 | import org.usfirst.frc.team3501.robot.subsystems.*; | |
6 | ||
7 | import edu.wpi.first.wpilibj.command.Command; | |
8 | ||
9 | public 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 | } |