mirror of
https://github.com/Team4388/2022NoWayHome.git
synced 2026-06-09 08:48:07 -06:00
change
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user