Changing constants

This commit is contained in:
Michael Mikovsky
2026-02-19 18:55:00 -08:00
parent 9bf368bf4a
commit 803371e99d
4 changed files with 16 additions and 15 deletions
@@ -91,8 +91,9 @@ public class Shooter extends SubsystemBase {
double AngSpeed = Math.abs(speed.omegaRadiansPerSecond * (180/Math.PI));
Pose2d robotPose2d = m_SwerveDrive.getPose2d();
double distanceToHub = robotPose2d.getTranslation().minus(FieldPositions.HUB_POSITION).getNorm();
//
double distanceToHub = (robotPose2d.getTranslation().minus(FieldPositions.HUB_POSITION).getNorm());
//Center of hub to cameras in inches
Logger.recordOutput("Hub Dist", distanceToHub);