pyrobosim.navigation.a_star.AStarPlanner
- class pyrobosim.navigation.a_star.AStarPlanner(*, grid_resolution: float, grid_inflation_radius: float, heuristic: str = 'euclidean', diagonal_motion: bool = True, compress_path: bool = False)
Occupancy grid based implementation of the A* path planning algorithm.
Methods
__init__(*, grid_resolution, ...[, ...])Creates an instance of grid based A* planner.
distance_between(cell1, cell2)Computes the distance between 2 cells in the grid.
Returns the graphs generated by the planner, if any.
Returns the latest path generated by the planner, if any.
heuristic_cost_estimate(cell1, cell2)Compute heuristic cost estimate using selected heuristic.
neighbors(cell)Get the neighbors of a cell in the grid.
plan(start, goal)Plans a path from start to goal.
reset()Resets the occupancy grid.
to_dict()Serializes the planner to a dictionary.
Attributes
The name of the plugin.