bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
grid_search.h
Go to the documentation of this file.
1#ifndef BITSIM_PLANNING_GRID_SEARCH_H
2#define BITSIM_PLANNING_GRID_SEARCH_H
3
5#include "bitsim/planning/a_star_search.h" // SearchResult
7
8namespace bitsim
9{
10namespace planning
11{
12
24 const GridCell &goal, bool diagonal = true);
25
37 const GridCell &goal);
38
45bool line_of_sight(const OccupancyGrid &grid, const GridCell &a, const GridCell &b);
46
47} // namespace planning
48} // namespace bitsim
49
50#endif // BITSIM_PLANNING_GRID_SEARCH_H
The basic types of bitsim. Code outside this file names Eigen's matrix and vector types only through ...
A rectangle of the plane cut into square cells, each free or occupied.
Definition occupancy_grid.h:43
bool 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...
Definition grid_search.cpp:38
SearchResult< GridCell > theta_star_grid(const OccupancyGrid &grid, const GridCell &start, const GridCell &goal)
Theta*: any-angle search on an occupancy grid.
Definition grid_search.cpp:136
SearchResult< GridCell > bfs_grid(const OccupancyGrid &grid, const GridCell &start, const GridCell &goal, bool diagonal)
Breadth-first search on an occupancy grid.
Definition grid_search.cpp:88
Definition a_star_search.cpp:8
Definition dc_motor_backend_base.h:9
A cell of an OccupancyGrid: its column, along x, and row, along y.
Definition occupancy_grid.h:21
What a search found.
Definition a_star_search.h:23