Expand description
Motion planning: A* grid search and potential-field velocity commands.
Operates on the OccupancyGrid type from
the bridge module. Two planners are provided:
astar: discrete A* on the occupancy grid returning a cell path.potential_field: continuous-space repulsive/attractive field producing a velocity command.
Structs§
- Grid
Path - Result of an A* search.
- Potential
Field Config - Configuration for the potential field planner.
- Velocity
Command - Output of the potential field planner: a 3-D velocity command.
Enums§
- Planning
Error - Errors from planning operations.
Functions§
- astar
- Run A* on
grid, returning the shortestGridPathfromstarttogoal. Cells with occupancy >= 0.5 are treated as impassable. - path_
to_ waypoints - Convert a
GridPath(grid cells) to world-space waypoints using the grid resolution and origin. - potential_
field - Compute a velocity command using attractive + repulsive potential fields.