import CANTalon from ctre instead of wpilib libraries
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Robot.java
CommitLineData
38a404b3
KZ
1package org.usfirst.frc.team3501.robot;
2
cca02549 3import org.usfirst.frc.team3501.robot.subsystems.DriveTrain;
38a404b3
KZ
4import edu.wpi.first.wpilibj.IterativeRobot;
5import edu.wpi.first.wpilibj.command.Scheduler;
6
7public class Robot extends IterativeRobot {
38a404b3
KZ
8
9 @Override
10 public void robotInit() {
cca02549
CZ
11 DriveTrain.getDriveTrain();
12 OI.getOI();
13 }
14
15 public static DriveTrain getDriveTrain(){
16 return DriveTrain.getDriveTrain();
17 }
18
19 public static OI getOI(){
20 return OI.getOI();
38a404b3
KZ
21 }
22
23 @Override
24 public void autonomousInit() {
25 }
26
27 @Override
28 public void autonomousPeriodic() {
29 Scheduler.getInstance().run();
30
31 }
32
33 @Override
34 public void teleopInit() {
35 }
36
37 @Override
38 public void teleopPeriodic() {
39 Scheduler.getInstance().run();
40
41 }
42}