Planning & Search in Rust
Esc

Loading…

↑↓ move ↵ open Esc close
Colour theme
All algorithms

Dubins paths

Also known as Dubins curves

other sampling-planning

A Dubins path is the shortest path between two poses (a position and a heading) for a car that drives only forward and cannot turn tighter than a minimum radius. Dubins proved that such a path has at most three pieces: arcs of the minimum radius to the left (L) or right (R) and straight lines (S). So it is enough to compute the six words LSL, RSR, RSL, LSR, RLR and LRL in closed form and keep the shortest one. In sampling-planning, Dubins is a state space whose distance is this length and whose interpolation follows the path; DubinsPath holds the word and its three segment lengths. The distance is not symmetric, so use it with planners that measure from tree nodes toward targets, such as RRT, RRT* and SST.

Pseudocode

algorithm Dubins-Path(p, q, ρ)input: start pose p = (x, y, θ), goal pose q, minimum turning radius ρoutput: the shortest forward path from p to q with turning radius at least ρd ← |q.xy − p.xy| / ρ                       ▷ normalize: unit turning radiusφ ← atan2(q.y − p.y, q.x − p.x)α ← (p.θ − φ) mod 2πβ ← (q.θ − φ) mod 2πif d ≈ 0 and α ≈ β thenreturn straight line of length d · ρbest ← nilfor each word w in LSL, RSR, RSL, LSR, RLR, LRL do(t, s, u) ← segment-lengths(w, d, α, β)   ▷ closed form; nil if w is infeasibleif (t, s, u) ≠ nil and t + s + u < length of best thenbest ← (w, t, s, u)return best, with each segment length scaled by ρ▷ L, R: arcs of radius ρ to the left or right; S: a straight segment▷ LSL and RSR always exist, so best is never nil

In the crates

Lineage

Comes from

Nothing on this site.

Led to

Reeds-Shepp paths generalizes it

Papers

  1. On Curves of Minimal Length with a Constraint on Average Curvature, and with Prescribed Initial and Terminal Positions and Tangents L. E. Dubins · 1957· American Journal of Mathematics introduces doi 10.2307/2372560
  2. Classification of the Dubins set Andrei M. Shkel, Vladimir Lumelsky · 2001· Robotics and Autonomous Systems analyses doi 10.1016/s0921-8890(00)00127-5