please work/fix
authorEvanYap <evanyap.14@gmail.com>
Fri, 3 Feb 2017 03:13:32 +0000 (19:13 -0800)
committerEvanYap <evanyap.14@gmail.com>
Fri, 3 Feb 2017 03:13:32 +0000 (19:13 -0800)
1  2 
src/org/usfirst/frc/team3501/robot/Robot.java

index 67507ddce713f65e7f6d794dcbaf3f4738ceba2b,80d3abc5e6d5a7eea1ed6f2ea830e6a153312092..4681b192fd951470578c3148809f76e6b862ba1a
@@@ -8,19 -6,10 +8,20 @@@ import edu.wpi.first.wpilibj.IterativeR
  import edu.wpi.first.wpilibj.command.Scheduler;
  
  public class Robot extends IterativeRobot {
 +  private static DriveTrain driveTrain;
 +  private static Shooter shooter;
 +  private static OI oi;
 +  private static Intake intake;
 +
    @Override
    public void robotInit() {
 +    driveTrain = DriveTrain.getDriveTrain();
 +    oi = OI.getOI();
 +    shooter = Shooter.getShooter();
 +    intake = Intake.getIntake();
  
 +    // init
    }
  
    public static DriveTrain getDriveTrain() {
      return OI.getOI();
    }
  
 +  public static Intake getIntake() {
 +    return Intake.getIntake();
 +  }
 +
    @Override
    public void autonomousInit() {
+     Scheduler.getInstance();
    }
  
    @Override