Skip to content

Commit

Permalink
Add latest path reset
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-mueller committed Dec 21, 2024
1 parent 0bb52c5 commit 76a374d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pyrobosim/pyrobosim/navigation/a_star.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ def neighbors(self, cell):

def reset(self):
"""Resets the occupancy grid."""
self.latest_path = Path()
self.grid = OccupancyGrid.from_world(
self.world,
resolution=self.grid_resolution,
Expand Down

0 comments on commit 76a374d

Please sign in to comment.