Field D*
Also known as Field D star
search heuristic-search
Field D* plans paths over a grid in which each cell has its own traversal cost, and it repairs a path when cells change. Its nodes are the cell corners, but a path may leave a corner through any point on the edge between two neighbouring corners, so it crosses cells at any angle, not only in 45-degree steps. The cost-to-goal g along such an edge is taken as linear between the values of its two corners (interpolation), and a closed form gives the best crossing point. Like D* Lite, it searches from the goal: the start can move, and after a cell changes only the affected corners are repaired. The crate returns the extracted interpolated path, or the cheapest 8-connected corner path where that one is cheaper, so the result never costs more than the 8-connected optimum.
Pseudocode
algorithm Field-D*(s-start, s-goal)input: start corner s-start, goal corner s-goal of a grid with per-cell costsoutput: an any-angle path from s-start to s-goal, or failure, after every changeg, rhs ← ∞, ∞ ▷ at every cornerrhs[s-goal] ← 0OPEN ← {s-goal} ▷ ordered by D* Lite's key towards s-startrepeatcompute-shortest-path()yield the cheaper of extract-path(s-start) and the cheapest 8-connected corner path ▷ failure if g[s-start] = ∞s-start ← the new start, if the robot movedfor each corner s of a cell that changed doupdate-corner(s)until s-start = s-goalprocedure compute-shortest-path()while min-key(OPEN) < key(s-start) or rhs[s-start] ≠ g[s-start] dos ← extract-min(OPEN)if g[s] > rhs[s] theng[s] ← rhs[s]elseg[s] ← ∞update-corner(s)for each corner s′ that has s as a neighbour doupdate-corner(s′)procedure update-corner(s)if s ≠ s-goal thenrhs[s] ← min { interpolate(s, s₁, s₂) : (s₁, s₂) a pair of consecutive neighbours of s }remove(OPEN, s)if g[s] ≠ rhs[s] theninsert(OPEN, s, key(s))function interpolate(s, s₁, s₂) ▷ s₁ straight, s₂ diagonal from sc, b ← cost of the cell s s₁ s₂, cost of the other cell along edge s s₁f ← g[s₁] − g[s₂]if f ≤ 0 thenreturn min(c, b) + g[s₁] ▷ along the edge to s₁if c ≤ min(f, b) thenreturn c · √2 + g[s₂] ▷ straight across c to s₂if f ≤ b theny ← min(f / √(c² − f²), 1) ▷ cross c to a point on s₁ s₂return c · √(1 + y²) + f · (1 − y) + g[s₂]x ← 1 − min(b / √(c² − b²), 1) ▷ along s s₁ at cost b, then across creturn b · x + c · √(1 + (1 − x)²) + g[s₂]In the crates
heuristic-searchfeaturefloatD* Lite over the corners of a cost grid with per-cell costs, interpolated any-angle paths through cell edges, cell-change repair and a moving start.
Lineage
Comes from
builds on D* Lite
Led to
Nothing on this site.
Papers
- The Field D* Algorithm for Improved Path Planning and Replanning in Uniform and Non-Uniform Cost Environments Dave Ferguson, Anthony Stentz · 2005· Technical report CMU-RI-TR-05-19, Robotics Institute, Carnegie Mellon University
- Using interpolation to improve path planning: The Field D* algorithm Dave Ferguson, Anthony Stentz · 2006· Journal of Field Robotics