From d8f05ae056cb16e8db22341c258779c91544e135 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:12:41 -0700 Subject: [PATCH] we screwed it up ignore the old one our bad --- 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 c9e6633..7f7e31b 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);