From fab544eb2395a8aa847abc1890bc635e5ba63a7c Mon Sep 17 00:00:00 2001 From: Harel Dor Date: Wed, 9 Mar 2016 16:00:48 -0800 Subject: [PATCH] Fix instatiation bug by creating OI after the subsystems it uses --- src/org/usfirst/frc/team3501/robot/Robot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index d10b2c5f..7678a728 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -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 -- 2.30.2