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);