From f97c7d8b9dcbd03ce7ebdfeae4cafe2a59b15f05 Mon Sep 17 00:00:00 2001 From: aarav18 Date: Tue, 22 Feb 2022 17:10:21 -0700 Subject: [PATCH] refined aimtocenter command --- src/main/java/frc4388/robot/commands/AimToCenter.java | 1 - 1 file changed, 1 deletion(-) diff --git a/src/main/java/frc4388/robot/commands/AimToCenter.java b/src/main/java/frc4388/robot/commands/AimToCenter.java index b24c657..592e008 100644 --- a/src/main/java/frc4388/robot/commands/AimToCenter.java +++ b/src/main/java/frc4388/robot/commands/AimToCenter.java @@ -16,7 +16,6 @@ public class AimToCenter extends CommandBase { // use odometry to find x and y later double x = 0; double y = 0; - double z = Math.sqrt(Math.pow(x, 2) + Math.pow(y, 2)); double m_targetAngle; // public static Gains m_aimGains;