Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Lazy PRM

sampling sampling-planning

Lazy PRM is a form of PRM, which builds a graph of random valid states with edges between near states, but it does not check the edges for collisions when it adds them. At query time it finds the cheapest path through the graph and checks only the edges on that path; if an edge is invalid, Lazy PRM marks it, leaves it out and searches again, and edges found valid stay valid for later queries. This saves most collision checks when checks are expensive and most edges are never used. In sampling-planning it is the lazy mode of Prm, and it returns the same path as the eager PRM for the same samples.

Pseudocode

algorithm Lazy-PRM-Query(G, s, goal)input: roadmap G with unchecked edges, start s, goal region goaloutput: a cheapest valid path from s to goal through G, or failureconnect-endpoints(G, s, goal)                ▷ checked motions into and out of Grepeatroute ← dijkstra(G, s, goal)               ▷ skips edges marked invalidif route = nil thenreturn failureok ← confirm-lazy-edges(G, route)until okreturn routeprocedure Grow(G, n)input: roadmap G, number of samples nfor i in 1, …, n dox ← sample()if state-valid(x) thenadd-node(G, x)for each y in G within the connection radius of x doadd-edge(G, y, x, status: unchecked)   ▷ no collision check yetfunction confirm-lazy-edges(G, route)for each unchecked edge e of route, in travel order doif motion-valid(e) thenstatus[e] ← valid                        ▷ remembered for later querieselsestatus[e] ← invalidreturn falsereturn true

In the crates

  • sampling-planning

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

    Prm

Lineage

Comes from

builds on PRM

Led to

Nothing on this site.

Papers

  1. Path planning using lazy PRM R. Bohlin, L. E. Kavraki · 2000· IEEE International Conference on Robotics and Automation (ICRA) introduces doi 10.1109/ROBOT.2000.844107