| 1 | package org.usfirst.frc.team3501.robot; |
| 2 | |
| 3 | import org.usfirst.frc.team3501.robot.Constants.DriveTrain; |
| 4 | import org.usfirst.frc.team3501.robot.subsystems.Shooter; |
| 5 | |
| 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; |
| 12 | public static Shooter shooter; |
| 13 | |
| 14 | @Override |
| 15 | public void robotInit() { |
| 16 | driveTrain = new DriveTrain(); |
| 17 | oi = new OI(); |
| 18 | shooter = new Shooter(); |
| 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 | } |