Commit | Line | Data |
---|---|---|
38a404b3 KZ |
1 | package org.usfirst.frc.team3501.robot; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.Constants.DriveTrain; | |
40348cab E |
4 | import org.usfirst.frc.team3501.robot.subsystems.Shooter; |
5 | ||
38a404b3 KZ |
6 | import edu.wpi.first.wpilibj.IterativeRobot; |
7 | import edu.wpi.first.wpilibj.command.Scheduler; | |
8 | ||
9 | public class Robot extends IterativeRobot { | |
10 | public static OI oi; | |
11 | public static DriveTrain driveTrain; | |
40348cab | 12 | public static Shooter shooter; |
38a404b3 KZ |
13 | |
14 | @Override | |
15 | public void robotInit() { | |
16 | driveTrain = new DriveTrain(); | |
17 | oi = new OI(); | |
40348cab | 18 | shooter = new Shooter(); |
38a404b3 KZ |
19 | } |
20 | ||
21 | @Override | |
22 | public void autonomousInit() { | |
23 | } | |
24 | ||
25 | @Override | |
26 | public void autonomousPeriodic() { | |
27 | Scheduler.getInstance().run(); | |
28 | ||
29 | } | |
30 | ||
31 | @Override | |
32 | public void teleopInit() { | |
33 | } | |
34 | ||
35 | @Override | |
36 | public void teleopPeriodic() { | |
37 | Scheduler.getInstance().run(); | |
38 | ||
39 | } | |
40 | } |