bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
grid_search.h File Reference
Include dependency graph for grid_search.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  bitsim
namespace  bitsim::planning

Functions

SearchResult< GridCell > bitsim::planning::bfs_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal, bool diagonal=true)
 Breadth-first search on an occupancy grid.
SearchResult< GridCell > bitsim::planning::theta_star_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal)
 Theta*: any-angle search on an occupancy grid.
bool bitsim::planning::line_of_sight (const OccupancyGrid &grid, const GridCell &a, const GridCell &b)
 Whether the straight segment between the centres of cells a and b stays clear: every cell the segment passes through is free, and it does not cut between two obstacles that meet at a corner. Used by theta_star_grid, and for drawing an any-angle path.