From 46d3281534a7b0cb912f2a03a56100313b90eb7f Mon Sep 17 00:00:00 2001 From: NoMythic <2491nomythic@gmail.com> Date: Thu, 21 Mar 2024 17:08:08 -0500 Subject: [PATCH] Speakre to Speaker, for the Nth time --- src/main/java/frc/robot/subsystems/DrivetrainSubsystem.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/DrivetrainSubsystem.java b/src/main/java/frc/robot/subsystems/DrivetrainSubsystem.java index b3770022..ee5ebafc 100644 --- a/src/main/java/frc/robot/subsystems/DrivetrainSubsystem.java +++ b/src/main/java/frc/robot/subsystems/DrivetrainSubsystem.java @@ -290,7 +290,7 @@ public double calculateSpeakerAngle(){ deltaX = Math.abs(dtvalues.getX() - Field.RED_SPEAKER_X); } speakerDist = Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2)); - // SmartDashboard.putNumber("dist to speakre", speakerDist); + // SmartDashboard.putNumber("dist to speaker", speakerDist); // RobotState.getInstance().ShooterInRange = speakerDist