Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
Motion planning

sampling-planning

Sampling-based motion planning for no_std: RRT, RRT*, RRT-Connect, PRM, SPARS, FMT*, BIT*, AIT*, SST and KPIECE

cargo add sampling-planning

Who it is for

  • Robotics engineers who need a path for an arm, a mobile base or a car-like vehicle through a continuous space with obstacles, and who bring their own collision checker.
  • Vehicles with a turning radius: the Dubins and Reeds-Shepp spaces plan along the actual shortest car paths, not along straight lines that are fixed up afterwards.
  • Systems that can only be forward-simulated (no steering function, just "apply this control for that long"): SST, SST* and KPIECE work over a Propagator instead.
  • Anyone comparing planners on the same problem; the bundled example runs eleven of them on one world and draws the results.
  • Embedded and other no_std targets with an allocator, and test setups that need reproducible runs.
  • For discrete graphs and grids, heuristic-search is the better fit; for many robots sharing one map, mapf-search; for dynamics with bounded disturbances where the plan has to hold for every reachable state, robust-planning.

Algorithms 20

  • AIT* Adaptively Informed Trees

    BIT*-style forward search guided by a lazy LPA* reverse search that is repaired on every invalid edge.

    AitStar

  • BFMT* Bidirectional Fast Marching Tree

    Bidirectional FMT* that marches trees from start and goal over one batch and joins them where they meet, with optimal or first-meeting termination.

    BfmtStar

  • BIT* Batch Informed Trees

    Batch-informed tree search over radius or k-nearest graphs with informed batches and pruning.

    BitStar

  • Dubins paths Dubins curves

    Computes the shortest paths of a forward-only car with a minimum turning radius.

    DubinsDubinsPath

  • FMT* Fast Marching Tree

    Batch planner that marches a tree outward over a fixed set of samples, connecting each node to its locally cheapest open neighbor.

    FmtStar

  • RRT* that, once a solution exists, samples only the informed set, with direct prolate-hyperspheroid sampling in Euclidean spaces.

    RrtStarProlateHyperspheroid

  • KPIECE Kinodynamic Planning by Interior-Exterior Cell Exploration

    Single-level KPIECE that explores a grid over a user projection of the state space using a forward-simulation Propagator.

    Kpiece

  • PRM that stores edges unchecked and checks only the edges of candidate query paths.

    Prm

  • Path shortcutting shortcutting

    Greedy and randomized shortcutting that replace pieces of a solution path by direct valid motions, never returning a more expensive path.

    shortcutshortcut_random

  • PRM Probabilistic Roadmap

    Multi-query probabilistic roadmap with fixed-radius or fixed-k connections, queried with Dijkstra on a reusable roadmap.

    Prm

  • PRM* optimal PRM

    Asymptotically optimal PRM connecting each node within a shrinking radius or to its k ln n nearest neighbors.

    Prm

  • Reeds-Shepp paths Reeds-Shepp curves

    Computes the shortest paths of a car that drives forward and backward with a minimum turning radius.

    ReedsSheppReedsSheppPath

  • RRT Rapidly-exploring Random Tree

    Grows a rapidly-exploring random tree from the start by steering toward goal-biased random samples until it reaches the goal region.

    Rrt

  • RRT# RRT sharp

    RRT* with dynamic-programming replanning: grows an RRG and repairs it with LPA*-style replanning after each extension.

    RrtSharp

  • RRT* optimal RRT

    Asymptotically optimal RRT with choose-parent and rewiring over a shrinking radius or k-nearest neighborhood.

    RrtStar

  • RRT-Connect bidirectional RRT

    Bidirectional RRT that grows trees from start and goal with a greedy connect step.

    RrtConnect

  • SPARS Sparse Roadmap Spanner

    Sparse roadmap spanner built alongside a dense PRM* graph.

    Spars

  • SPARS2 Sparse Roadmap Spanner 2

    Sparse roadmap spanner built without a dense graph.

    Spars2

  • SST Stable Sparse RRT

    Kinodynamic stable sparse RRT over a forward-simulation Propagator, freeing inactive leaves; asymptotically near-optimal.

    Sst

  • SST* Stable Sparse RRT*

    SST with selection and pruning radii shrinking over epochs, which makes it asymptotically optimal.

    SstSstStarSchedule