public static Shooter shooter;
public static IntakeArm intakeArm;
public static Photogate photogate;
+ public static CameraFeeds cameraFeeds;
// Sendable Choosers send a drop down menu to the Smart Dashboard.
private static SendableChooser defenseChooser;
shooter = new Shooter();
intakeArm = new IntakeArm();
photogate = new Photogate();
+ cameraFeeds = new CameraFeeds();
oi = new OI();
@Override
public void teleopInit() {
// if intake is front, switch back to shooter as front
+ // this is done on purpose!
if (choseIntakeIsFront)
driveTrain.toggleFlipped();
+ cameraFeeds.init();
Scheduler.getInstance().add(new SetLowGear());
}
@Override
public void teleopPeriodic() {
Scheduler.getInstance().run();
+ cameraFeeds.run();
}
}