Fix instatiation bug by creating OI after the subsystems it uses
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Robot.java
index d10b2c5fdb0ac7ac2541cfb5ea23911d9e94c6d0..7678a7289cc4506c66670c42418b5292fa9a0ef5 100644 (file)
@@ -19,10 +19,10 @@ public class Robot extends IterativeRobot {
   @Override
   public void robotInit() {
     driveTrain = new DriveTrain();
-    oi = new OI();
-
     shooter = new Shooter();
     intakeArm = new IntakeArm();
+
+    oi = new OI();
   }
 
   @Override