From: EvanYap Date: Sun, 5 Feb 2017 00:28:40 +0000 (-0800) Subject: save in case my comp crashes X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=3eb26e6f5719bc9ad478fc6ffe4beb0809a36ef9 save in case my comp crashes --- diff --git a/src/org/usfirst/frc/team3501/robot/OI.java b/src/org/usfirst/frc/team3501/robot/OI.java index 815d0cd..29fc9aa 100644 --- a/src/org/usfirst/frc/team3501/robot/OI.java +++ b/src/org/usfirst/frc/team3501/robot/OI.java @@ -89,6 +89,7 @@ public class OI { * Robot.getDriveTrain().setClimbing(false); } */ toggleWinch.whenPressed(new ToggleWinch()); + } public static OI getOI() { diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 1eb3df8..f505ed2 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -17,7 +17,7 @@ public class Robot extends IterativeRobot { @Override public void robotInit() { - driveTrain = driveTrain; + driveTrain = DriveTrain.getDriveTrain(); oi = OI.getOI(); shooter = Shooter.getShooter(); intake = Intake.getIntake();