From: shainachen Date: Sat, 14 Jan 2017 23:15:52 +0000 (-0800) Subject: Implement RunFLyWheel class, add motor methods to Shooter class X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F2017steamworks;a=commitdiff_plain;h=08a5c955ede8f12caeec501cb2e7e43bac69e6b6 Implement RunFLyWheel class, add motor methods to Shooter class --- diff --git a/src/org/usfirst/frc/team3501/robot/Robot.java b/src/org/usfirst/frc/team3501/robot/Robot.java index 5b0f35e..580173e 100644 --- a/src/org/usfirst/frc/team3501/robot/Robot.java +++ b/src/org/usfirst/frc/team3501/robot/Robot.java @@ -12,6 +12,8 @@ public class Robot extends IterativeRobot { private static DriveTrain driveTrain; private static Shooter shooter; private static OI oi; + private static Shooter shooter; + private static OI oi; private static Intake intake; @Override @@ -34,6 +36,14 @@ public class Robot extends IterativeRobot { return OI.getOI(); } + public static Shooter getShooter() { + return Shooter.getShooter(); + } + + public static OI getOI() { + return OI.getOI(); + } + public static Intake getIntake() { return Intake.getIntake() }