Skip to main content

Module roadmaps

Module roadmaps 

Source
Expand description

Roadmap and batch planners: PRM, PRM*, lazy PRM, SPARS, SPARS2, FMT* and BFMT*.

These planners do not grow a tree from the start. Prm builds a graph once and answers many queries on it; FMT* marches a tree through a batch of samples drawn up front, BFMT* marches two, from the start and from the goal. Neither needs a Steering function: edges are direct motions along StateSpace::interpolate.

graph LR
    Grow["grow: sample, check state"] --> Connect["connect to neighbors"]
    Connect --> Grow
    Connect --> Query["query: attach start and goal"]
    Query --> Dijkstra
    Dijkstra -->|lazy: invalid edge| Query

Structs§

BfmtStar
BFMT*: marches one tree outward from the start and one inward from the goal center over the same batch, alternating expansions, and joins them where they meet (Starek, Gomez, Schmerling, Janson, Moreno and Pavone 2015).
BfmtStarConfig
Settings for BfmtStar.
FmtStar
FMT*: draws a batch of samples, then marches a tree outward from the start in order of cost-to-come, connecting each unvisited neighbor of the cheapest open node to its locally cheapest open neighbor.
FmtStarConfig
Settings for FmtStar.
Prm
A probabilistic roadmap: a graph of valid sampled states connected by valid motions, built once and queried for many start and goal pairs.
PrmConfig
Settings for Prm.
Spars
SPARS: an incremental sparse roadmap spanner that keeps a dense k-nearest PRM* graph next to the sparse one (Dobson and Bekris 2014, “Sparse roadmap spanners for asymptotically near-optimal motion planning”), ported from OMPL’s SPARS.
Spars2
SPARS2: an incremental sparse roadmap spanner that needs no dense graph (Dobson and Bekris 2013, “Improving sparse roadmap spanners”), ported from OMPL’s SPARStwo.
Spars2Config
Settings for Spars2. The defaults follow OMPL’s SPARStwo.
SparsConfig
Settings for Spars. The defaults follow OMPL’s SPARS.

Enums§

Connection
How a new roadmap node picks the nodes it tries to connect to.
Error
Why a roadmap planner could not be created or queried.
GuardKind
Why a guard was added to a sparse roadmap.
Termination
When BfmtStar stops marching.

Constants§

NEAR_ATTEMPTS
The most attempts Spars2 makes to draw one valid state near a sample.