From e8443f94d32f1364bc71af8233b469b010dcd6a1 Mon Sep 17 00:00:00 2001 From: Team 199 Driver Station Computer <35879629+DriverStationComputer@users.noreply.github.com> Date: Thu, 26 Sep 2024 18:48:20 -0700 Subject: [PATCH] fix the values (revert bs) --- 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);