| 1 | package org.usfirst.frc.team3501.bases; |
| 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.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 | |
| 11 | public abstract class CommandGroup |
| 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; |
| 23 | |
| 24 | public CommandGroup(String commandGroupName) { |
| 25 | super(commandGroupName); |
| 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; |
| 36 | } |
| 37 | } |