From 2eec38746a27249b4fc7d20e757aba3522878d98 Mon Sep 17 00:00:00 2001 From: Team 199 Driver Station Computer <35879629+DriverStationComputer@users.noreply.github.com> Date: Sun, 22 Sep 2024 17:14:45 -0700 Subject: [PATCH] me and brandon are stpid its good now --- src/main/java/org/carlmontrobotics/RobotContainer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/carlmontrobotics/RobotContainer.java b/src/main/java/org/carlmontrobotics/RobotContainer.java index 7f7e31b..c9e6633 100644 --- a/src/main/java/org/carlmontrobotics/RobotContainer.java +++ b/src/main/java/org/carlmontrobotics/RobotContainer.java @@ -455,8 +455,8 @@ public Command constructPPSimpleAuto() { //Note: alliance detection and path generation work correctly! //Solution: Redeploy after auto. Pose2d endPos = (DriverStation.getAlliance().get() == DriverStation.Alliance.Blue) - ? currPos.transformBy(new Transform2d(1, 0, new Rotation2d(0))) - : currPos.transformBy(new Transform2d(-1, 0, new Rotation2d(0))); + ? currPos.transformBy(new Transform2d(-1, 0, new Rotation2d(0))) + : currPos.transformBy(new Transform2d(1, 0, new Rotation2d(0))); List bezierPoints = PathPlannerPath.bezierFromPoses(currPos, endPos);