Implement RunFLyWheel class, add motor methods to Shooter class
authorshainachen <shaina.sierra@gmail.com>
Sat, 14 Jan 2017 23:15:52 +0000 (15:15 -0800)
committerArunima DIvya <adivya822@student.fuhsd.org>
Thu, 26 Jan 2017 04:15:40 +0000 (20:15 -0800)
src/org/usfirst/frc/team3501/robot/Robot.java

index 5b0f35e01656a4fd26370230fbd4e7eeb7a8eaec..580173e19262c066bff984edfff37c9bb64478f5 100644 (file)
@@ -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()
   }