Skip to content

Commit

Permalink
hopefully final fixups
Browse files Browse the repository at this point in the history
  • Loading branch information
gerth2 committed Dec 15, 2024
1 parent 48bb053 commit e65b0a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion navigation/repulsorFieldPlanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
4 changes: 2 additions & 2 deletions potentialFieldPlotter.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit e65b0a5

Please sign in to comment.