/** This function is called periodically during operator control */ public void teleopPeriodic() { // Class teleop functions tankDrive.teleopPeriodic(); driveShift.teleopPeriodic(); arm.teleopPeriod(); // Shooter functions shooter.intake(); shooter.armPivot(); shooter.armPistons(); // Runs duel cameras cameraFeeds.run(); }
/** This function is called once at the beginning when the robot is disabled */ public void disabledInit() { // Disables duel cameras when robot is disabled cameraFeeds.end(); }
/** This function is called once at the beginning during teleopPeriodic */ public void teleopInit() { // Initial duel camera code cameraFeeds.init(); }