From: Harel Dor Date: Thu, 10 Mar 2016 00:00:48 +0000 (-0800) Subject: Fix instatiation bug by creating OI after the subsystems it uses X-Git-Url: http://challenge-bot.com/repos/?p=3501%2Fstronghold-2016;a=commitdiff_plain;h=fab544eb2395a8aa847abc1890bc635e5ba63a7c Fix instatiation bug by creating OI after the subsystems it uses --- 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