1 package org
.usfirst
.frc
.team3501
.robot
;
3 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.DriveTrain
;
4 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Intake
;
5 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Shooter
;
7 import edu
.wpi
.first
.wpilibj
.IterativeRobot
;
8 import edu
.wpi
.first
.wpilibj
.command
.Scheduler
;
10 public class Robot
extends IterativeRobot
{
12 private static DriveTrain driveTrain
;
13 private static Shooter shooter
;
15 private static Intake intake
;
18 public void robotInit() {
19 driveTrain
= DriveTrain
.getDriveTrain();
21 shooter
= Shooter
.getShooter();
22 intake
= Intake
.getIntake();
27 public static DriveTrain
getDriveTrain() {
28 return DriveTrain
.getDriveTrain();
31 public static Shooter
getShooter() {
32 return Shooter
.getShooter();
35 public static OI
getOI() {
39 public static Intake
getIntake() {
40 return Intake
.getIntake();
44 public void autonomousInit() {
45 Scheduler
.getInstance();
49 public void autonomousPeriodic() {
50 Scheduler
.getInstance().run();
55 public void teleopInit() {
59 public void teleopPeriodic() {
60 Scheduler
.getInstance().run();