Skip to content

Commit

Permalink
[Robot] Don't register both pathfinders
Browse files Browse the repository at this point in the history
  • Loading branch information
rmheuer committed Nov 26, 2023
1 parent f9128a9 commit fefaff8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) -> {
Expand Down

0 comments on commit fefaff8

Please sign in to comment.