From 152c79f1fa43fa2b78e0ebdaa17ef2cc828d3a67 Mon Sep 17 00:00:00 2001 From: aarav18 Date: Fri, 18 Mar 2022 23:54:59 -0600 Subject: [PATCH] change --- .../frc4388/robot/commands/ShooterCommands/AimToCenter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/frc4388/robot/commands/ShooterCommands/AimToCenter.java b/src/main/java/frc4388/robot/commands/ShooterCommands/AimToCenter.java index 083eec7..cfe8fd6 100644 --- a/src/main/java/frc4388/robot/commands/ShooterCommands/AimToCenter.java +++ b/src/main/java/frc4388/robot/commands/ShooterCommands/AimToCenter.java @@ -66,7 +66,7 @@ public class AimToCenter extends CommandBase { if (x < 0) { return (180 + exp); } if (x == 0 && y > 0) { return (90 - gyro); } - if (x == 0 && y < 0) { return (-1 * gyro); } + if (x == 0 && y < 0) { return (-90 - gyro); } System.out.println("Invalid case."); return 0;