src/main/java/frc/robot/Robot.java
@Override
  public void robotPeriodic() {

    // Update subclass internal values
    shooter.updateCurrentPower();
    elevator.update();
    limelight.updateLimelightTracking();

    // Update dashboard
    dashboard.PIDtoDashboard(shooterPID, "Shooter");
    dashboard.PIDtoDashboard(turretPID, "Turret");
    dashboard.PIDtoDashboard(hoodPID, "Hood");
    dashboard.printElevatorStorage(elevator);
    dashboard.printTurretDegrees(turret);
    dashboard.printHoodDegrees(hood);
    dashboard.printLeftClimberPosition(climber);
    dashboard.printRightClimberPosition(climber);
    dashboard.printLimelightData(limelight);
  }
// This function is called every 20ms while the robot is enabled
This function is called every 20ms while the robot is enabled
This function is called every 20ms while the robot is enabled
@Override
  public void robotPeriodic() {
    shooter.updateCurrentPower();
    elevator.update();
    limelight.updateLimelightTracking();
    dashboard.PIDtoDashboard(shooterPID, "Shooter");
    dashboard.PIDtoDashboard(turretPID, "Turret");
    dashboard.PIDtoDashboard(hoodPID, "Hood");
    dashboard.printElevatorStorage(elevator);
    dashboard.printTurretDegrees(turret);
    dashboard.printHoodDegrees(hood);
    dashboard.printLeftClimberPosition(climber);
    dashboard.printRightClimberPosition(climber);
    dashboard.printLimelightData(limelight);
  }
@ Override public void robotPeriodic ( ) { shooter . updateCurrentPower ( ) ; elevator . update ( ) ; limelight . updateLimelightTracking ( ) ; dashboard . PIDtoDashboard ( shooterPID , "Shooter" ) ; dashboard . PIDtoDashboard ( turretPID , "Turret" ) ; dashboard . PIDtoDashboard ( hoodPID , "Hood" ) ; dashboard . printElevatorStorage ( elevator ) ; dashboard . printTurretDegrees ( turret ) ; dashboard . printHoodDegrees ( hood ) ; dashboard . printLeftClimberPosition ( climber ) ; dashboard . printRightClimberPosition ( climber ) ; dashboard . printLimelightData ( limelight ) ; }
This function is called every 20ms while the robot is enabled
This function is called every 20ms while the robot is enabled
// Update subclass internal values // Update dashboard