Nav2 Local Controllers: DWB, MPPI, Regulated Pure Pursuit, and a Hand-Built MPC

How mobile robot local controllers decide: DWB trajectory scoring, MPPI sampling, Regulated Pure Pursuit arcs, and a from-scratch MPC with the local-minimum bug that testing exposed.

In this article

  • 1. The question every local controller answers
  • 2. DWB: sample a grid, score it, keep the winner
  • 3. MPPI: let randomness do the search
  • 4. Regulated Pure Pursuit: no search at all
  • 5. A true MPC, written from scratch
  • 6. Choosing between them
  • 7. Design considerations that apply to every controller