From fefaff8f3b5f3887f4bb87c2f9bec3010c694445 Mon Sep 17 00:00:00 2001 From: rmheuer <63077980+rmheuer@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:08:22 -0600 Subject: [PATCH] [Robot] Don't register both pathfinders --- .../com/swrobotics/robot/subsystems/swerve/SwerveDrive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/SwerveDrive.java b/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/SwerveDrive.java index 2de63ee..7f2b2c7 100644 --- a/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/SwerveDrive.java +++ b/Robot/src/main/java/com/swrobotics/robot/subsystems/swerve/SwerveDrive.java @@ -84,7 +84,7 @@ public SwerveDrive(FieldInfo fieldInfo, MessengerClient msg) { new PIDConstants(8.0), new PIDConstants(4.0, 0.0), minMax, Math.hypot(HALF_SPACING, HALF_SPACING), new ReplanningConfig(), 0.020), this); - Pathfinding.setPathfinder(new LocalADStar()); // TODO: Theta* +// Pathfinding.setPathfinder(new LocalADStar()); // TODO: Theta* Pathfinding.setPathfinder(new ThetaStarPathfinder(msg)); PathPlannerLogging.setLogActivePathCallback( (activePath) -> {