Submitted:
19 November 2026
Posted:
20 November 2026
You are already at the latest version
Abstract
The Model Predictive Path Integral (MPPI) controller shipped with ROS 2 Nav2 can stall in local minima in narrow, crowded, dynamic spaces, and its critics avoid collisions only through soft costs, with no formal safety guarantee. Several works outside Nav2 address both; we know of no public Nav2 controller plugin that combines local-minima escape with a barrier-based safety filter. This system paper presents Safe-Escape MPPI (SE-MPPI), a Nav2 plugin that adds online escape to MPPI and a control-barrier-function (CBF) safety filter for tracked dynamic obstacles, coordinated by a gain schedule. In a pre-registered live campaign (one simulated host, six repetitions per cell, no real robot, one post hoc amendment to its crash-stop rule, after which all s4 SE-MPPI trials ran), SE-MPPI without recoveries reached the goal in 5 of 6 on s1 (Wilson 95% interval [0.44, 0.97]) and 5 of 6 on the held-out s4, which lies outside the development family; stock without recoveries in 0 of 6 on each (Fisher exact \( p \) = 0.0152 for each). With Nav2's default recovery tree, on s1, stock 0 of 6 and SE-MPPI 3 of 6 (\( p \) = 0.1818, descriptive). s1 is the development scenario; s4 carries the claim. A third pocket, s3, a near-twin of a development geometry, gave 4 of 6 against 0 of 6 (\( p \) = 0.0606, not significant). In a randomized, paired 1,200-trial benchmark on a Python 2D mirror, not on the Nav2 controller itself, escape raises success on the static U-trap family from 0% to 80%; the escape—safety coordination matches an independent escape+CBF stack there, so we claim it only as a mechanism. By a standard argument for time-varying gains, the gain schedule keeps the look-ahead point's safe set forward invariant, but the guarantee is conditional: it covers only a look-ahead point and the tracked dynamic obstacles, assumes a Carathéodory closed-loop solution along which the barrier \( h_j \) is absolutely continuous and that the barrier inequality holds between control updates, and requires a slack-free quadratic program. A first version reached the goal in none of its 44 valid live trials; we report the four defects that we identify as the cause (one inferred, not logged), and four additions to the advised design: two were worked on until the development geometries passed (needed together in the sweeps) and two are safeguards for other configurations; with all four switched off, mirror U-trap success is 58%. Deployment warnings are in in Section 7.
Keywords:
model predictive control
; control barrier functions
; collision avoidance
; local-minima escape
; motion and path planning
; autonomous navigation
; ROS 2 Nav2
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.