From: Arnav495 Date: Wed, 18 Feb 2026 20:26:19 +0000 (-0800) Subject: Fix typo. X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=8320df5822f340d7d5a0c681edf2cfd0a862d46f;p=FRC2026.git Fix typo. --- diff --git a/src/main/java/frc/robot/subsystems/shooter/Shooter.java b/src/main/java/frc/robot/subsystems/shooter/Shooter.java index 3fd48ac..ad29439 100644 --- a/src/main/java/frc/robot/subsystems/shooter/Shooter.java +++ b/src/main/java/frc/robot/subsystems/shooter/Shooter.java @@ -81,7 +81,7 @@ public class Shooter extends SubsystemBase implements ShooterIO { } /**@return velocity in m/s */ - public double getShooterVelcoity(){ + public double getShooterVelocity(){ return inputs.shooterSpeedLeft; } @@ -96,7 +96,7 @@ public class Shooter extends SubsystemBase implements ShooterIO { * @return Whether the shooter is at the target speed with tolerance of 1 m/s */ public boolean atTargetSpeed(){ - return Math.abs(getShooterVelcoity() - shooterTargetSpeed) < 1.0; + return Math.abs(getShooterVelocity() - shooterTargetSpeed) < 1.0; } /** @@ -106,4 +106,4 @@ public class Shooter extends SubsystemBase implements ShooterIO { public double getTargetVelocity(){ return Units.rotationsToRadians(shooterTargetSpeed); } -} \ No newline at end of file +}