bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
a_star_search.cpp File Reference
#include "bitsim/planning/a_star_search.h"
#include <cmath>
Include dependency graph for a_star_search.cpp:

Namespaces

namespace  bitsim
namespace  bitsim::planning

Functions

SearchResult< GridCell > bitsim::planning::a_star_grid (const OccupancyGrid &grid, const GridCell &start, const GridCell &goal, bool diagonal=true, real_t weight=1.0)
 A* on an occupancy grid, moving to the neighbours of a cell (see OccupancyGrid::neighbours) with the distance between cell centres as the cost and the straight-line distance to the goal as the heuristic, which never guesses too high.