Skip to main content

Module trees

Module trees 

Source
Expand description

Tree-expanding planners: RRT, RRT* (optionally informed), RRT# and RRT-Connect.

Both planners are incremental. Rrt::step and RrtStar::step do one iteration, run does many, and best_path returns the current best solution. One iteration:

graph LR
    Sample["sample (goal-biased)"] --> Nearest
    Nearest --> Steer
    Steer --> Check["check motion"]
    Check -->|valid| Add["add node"]
    Check -->|invalid or unknown| Sample
    Add -->|RRT*| Rewire["choose parent, rewire"]

Structs§

Rrt
The rapidly-exploring random tree: grows toward random samples, finds a feasible path fast, but does not improve it.
RrtConfig
Settings for Rrt.
RrtConnect
RRT-Connect: grows one tree from the start and one from the goal center, and after every extension of one tree greedily steers the other tree toward the new node until it either reaches it or hits an obstacle.
RrtSharp
RRT#: grows a graph like RRG and keeps the cost-to-come of every promising vertex optimal on that graph by replanning after each extension (Arslan and Tsiotras 2013).
RrtStar
RRT*: like Rrt, but each new node picks the cheapest valid parent among its neighbors and then rewires neighbors through itself when that is cheaper.
RrtStarConfig
Settings for RrtStar.

Enums§

Error
Why a tree planner could not be created.

Constants§

INFORMED_ATTEMPTS
The most samples a rejection-sampled informed iteration draws before it settles for an uninformed one.