From e65b0a530452037144ad309ea4727183812b088f Mon Sep 17 00:00:00 2001 From: Chris Gerth Date: Sun, 15 Dec 2024 17:05:45 -0600 Subject: [PATCH] hopefully final fixups --- navigation/repulsorFieldPlanner.py | 2 +- potentialFieldPlotter.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/navigation/repulsorFieldPlanner.py b/navigation/repulsorFieldPlanner.py index 4fd24b7..ed8b923 100644 --- a/navigation/repulsorFieldPlanner.py +++ b/navigation/repulsorFieldPlanner.py @@ -362,7 +362,7 @@ def update(self, curCmd:DrivetrainCommand, stepSize_m:float) -> DrivetrainComman return nextCmd - def _updateStuckStatus(self, curCmd:DrivetrainCommand, stepSize_m:float) -> bool: + def _updateStuckStatus(self, curCmd:DrivetrainCommand, stepSize_m:float) -> None: # Add our new command to the list self.stuckPrevCmdBuffer.append(curCmd.desPose) diff --git a/potentialFieldPlotter.py b/potentialFieldPlotter.py index 6da7ca8..406ffeb 100644 --- a/potentialFieldPlotter.py +++ b/potentialFieldPlotter.py @@ -92,8 +92,8 @@ def main(): # Set up the actual repulsor field planner rfp = RepulsorFieldPlanner() - #rfp.setGoal(GOAL_SPEAKER) - rfp.setGoal(GOAL_PICKUP) + rfp.setGoal(GOAL_SPEAKER) + #rfp.setGoal(GOAL_PICKUP) # Field boundary canvas.add_rectangle(0.0, 0.0, FIELD_X_M, FIELD_Y_M, color="black")