From: iefomit Date: Sun, 22 Mar 2026 01:43:10 +0000 (-0700) Subject: won auto? X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=634789171c345c0b0cd84d925e0a24f6f8004213;p=FRC2026.git won auto? --- diff --git a/src/main/java/frc/robot/subsystems/shooter/Shooter.java b/src/main/java/frc/robot/subsystems/shooter/Shooter.java index ba902d2..0e44386 100644 --- a/src/main/java/frc/robot/subsystems/shooter/Shooter.java +++ b/src/main/java/frc/robot/subsystems/shooter/Shooter.java @@ -81,17 +81,13 @@ public class Shooter extends SubsystemBase implements ShooterIO { Logger.recordOutput("Shooter/realVelocity", shooterMotorLeft.getVelocity().getValueAsDouble() * ShooterConstants.SHOOTER_LAUNCH_DIAMETER); Logger.recordOutput("Shooter/targetVelocity", shooterTargetSpeed); - // SmartDashboard.putString("WON AUTO?", (HubActive.wonAuto()) ? "WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOON" : "lost"); double actualWheelVelocity = shooterMotorLeft.getVelocity().getValueAsDouble() * ShooterConstants.SHOOTER_LAUNCH_DIAMETER; + SmartDashboard.putNumber("Shooter Speed Error (mps)", shooterTargetSpeed - actualWheelVelocity); - - boolean autoWon = HubActive.wonAuto(); - SmartDashboard.putBoolean("Auto Won", autoWon); - SmartDashboard.putString("Auto Result", autoWon ? "WON" : "LOST"); + SmartDashboard.putString("WON AUTO?", (HubActive.wonAuto()) ? "WOOOOOOON" : "lost"); SmartDashboard.putBoolean("Shooter At Speed", atTargetSpeed()); SmartDashboard.putBoolean("Shooter Running", shooterTargetSpeed > 0); - SmartDashboard.putString("WON AUTO?", (HubActive.wonAuto()) ? "WOOOOOOON" : "lost"); } /**