Make ShooterTest command
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
CommitLineData
38a404b3
KZ
1package org.usfirst.frc.team3501.robot;
2
3import org.usfirst.frc.team3501.robot.Constants.DriveTrain;
4import edu.wpi.first.wpilibj.IterativeRobot;
5import edu.wpi.first.wpilibj.command.Scheduler;
6
7public class Robot extends IterativeRobot {
8 public static OI oi;
9 public static DriveTrain driveTrain;
10
11 @Override
12 public void robotInit() {
13 driveTrain = new DriveTrain();
14 oi = new OI();
15 }
16
17 @Override
18 public void autonomousInit() {
19 }
20
21 @Override
22 public void autonomousPeriodic() {
23 Scheduler.getInstance().run();
24
25 }
26
27 @Override
28 public void teleopInit() {
29 }
30
31 @Override
32 public void teleopPeriodic() {
33 Scheduler.getInstance().run();
34
35 }
36}