Commit | Line | Data |
---|---|---|
5b3b1652 | 1 | package org.usfirst.frc.team3501.bases; |
b2640783 | 2 | |
299be031 LH |
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; | |
10 | ||
5b3b1652 | 11 | public abstract class CommandGroup |
299be031 LH |
12 | extends edu.wpi.first.wpilibj.command.CommandGroup { |
13 | ||
14 | protected static OI oi; | |
15 | ||
16 | protected static AutonData autonData; | |
17 | ||
18 | protected static Drivetrain drivetrain; | |
19 | protected static Arm arm; | |
20 | protected static Claw claw; | |
21 | ||
22 | protected static Pneumatics pneumatics; | |
b2640783 LH |
23 | |
24 | public CommandGroup(String commandGroupName) { | |
25 | super(commandGroupName); | |
299be031 LH |
26 | |
27 | oi = Robot.oi; | |
28 | ||
29 | autonData = Robot.autonData; | |
30 | ||
31 | drivetrain = Robot.drivetrain; | |
32 | arm = Robot.arm; | |
33 | claw = Robot.claw; | |
34 | ||
35 | pneumatics = Robot.pneumatics; | |
b2640783 LH |
36 | } |
37 | } |