Exemplo n.º 1
0
  /** 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();
  }
Exemplo n.º 2
0
 /** 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();
 }
Exemplo n.º 3
0
 /** This function is called once at the beginning during teleopPeriodic */
 public void teleopInit() {
   // Initial duel camera code
   cameraFeeds.init();
 }