TL;DR
This paper introduces safety-aware-stl-mppi, a novel robotic motion planning framework that combines the parallelizable exploratory power of sampling-based control with the formal safety guarantees of Signal Temporal Logic (STL). By translating complex STL specifications into discrete-time, time-varying Control Barrier Functions (CBFs) and applying a lightweight, closed-form projection, the algorithm achieves 100% empirical safety satisfaction in real-time simulations while minimizing arbitrary, non-convex cost functions.
What Problem Does This Paper Address?
Robotic systems operating in the real world must navigate complex, time-sensitive missions—such as a drone delivering packages while avoiding moving forklifts, or a Mars rover inspecting targets before its battery runs out. To formally express these intricate spatio-temporal requirements, researchers use Signal Temporal Logic (STL).
However, planning trajectories that guarantee the satisfaction of STL specifications is computationally brutal. Traditional optimization methods (like Mixed-Integer Linear Programming) provide hard safety guarantees but are far too slow for online, real-time deployment. Conversely, sampling-based methods like Model Predictive Path Integral (MPPI) control are highly parallelizable and excellent at handling arbitrary, non-convex cost functions, but they typically treat safety constraints as "soft" penalties. This means standard MPPI can easily violate safety boundaries if the penalty weights aren't perfectly tuned or if the robot faces conflicting objectives.
This paper bridges the gap: it provides a way to enforce hard STL safety constraints within a highly efficient, real-time MPPI framework.
Methods
The authors propose a three-step framework to integrate STL specifications directly into the MPPI pipeline:
- STL to Time-Varying CBF Encoding: The authors adapt continuous-time STL-to-CBF translation rules into a discrete-time formulation. Complex temporal operators (like "always avoid region X" or "eventually reach region Y between time $t_1$ and $t_2$") are recursively mapped to a single, time-varying Control Barrier Function (CBF). This function defines a time-dependent "safe region" (the zero-superlevel set).
- Safety-Augmented MPPI Cost: During the standard MPPI sampling step, thousands of candidate control trajectories (rollouts) are generated in parallel. The framework penalizes rollouts that violate the time-varying CBF conditions, biasing the weighted average of the samples toward safer trajectories.
- Lightweight Closed-Form Projection: Because the weighted average of safe samples isn't guaranteed to be perfectly safe itself, the authors introduce a safety filter. By applying a first-order Taylor expansion to the discrete-time CBF constraint, they turn the safety enforcement step into a standard Quadratic Program (QP). Crucially, when actuation limits are unconstrained, this QP admits an analytical, closed-form solution, allowing the nominal MPPI trajectory to be projected back into the safe zone instantaneously.
Datasets
The method was evaluated using simulated environments rather than static datasets:
- Mars Rover Case Studies: Four distinct artificial scenarios testing different robot dynamics (single integrator, double integrator, and non-linear dynamics), varying environments (triangles, squares, and up to 13 circular obstacles), and complex STL specifications.
- Quadcopter Simulation: A photorealistic 3D simulation using a Crazyflie quadcopter model inside NVIDIA Isaac Lab, tasked with navigating a factory environment containing seven obstacles (package tables, stands, and forklifts).
Key Insights and Ideas
- Time-Varying CBFs for Temporal Logic: Traditional CBFs are typically static (e.g., "don't hit this wall"). By utilizing time-varying CBFs, the system can natively handle time-bounded logic constraints (e.g., "you only need to be inside the charging zone between seconds 60 and 70").
- The Power of First-Order Approximations: Enforcing exact discrete-time CBF constraints is non-convex and slow. Approximating the constraint via a first-order Taylor expansion unlocks a closed-form solution that can run at high frequencies (e.g., 200Hz in the quadcopter test), making it viable for real-time robotic control.
- Robustness to Adversarial Goals: In scenarios where the user-defined goal directly conflicts with safety (e.g., a target located inside an obstacle), the framework successfully prioritizes safety, choosing to stay safe rather than blindly pursuing the high-reward but dangerous goal.
Key Results
The proposed method was compared against four baselines: Vanilla MPPI, Reach-avoid MPPI, Robustness-based MPPI, and Penalty-based MPPI.
- 100% Success Rate: Across all Mars Rover case studies (under both limited and unlimited actuation),
safety-aware-stl-mppiachieved a 100% Success Rate (SR) in satisfying the STL specifications. Baselines like Vanilla MPPI and Reach-avoid MPPI frequently dropped to 0% success in complex configurations. - Massive Speedups: Compared to optimization-based baselines that calculate exact STL robustness online, the proposed method was orders of magnitude faster. For instance, in Case D, the robustness-based baseline took over 1050 seconds to complete the planning horizon, whereas
safety-aware-stl-mppifinished in ~16-17 seconds. - High-Fidelity Validation: In the NVIDIA Isaac Lab quadcopter trials, the algorithm successfully guided the drone through the factory layout with a 100% safety tracking rate.
Limitations and Future Work
While computationally efficient and empirically sound, the method has a few limitations:
- Approximation Error: Because the safety filter relies on a first-order Taylor expansion approximation, theoretical safety guarantees are lost unless an optional, conservative robustification factor is added (which increases computation time).
- Deterministic Assumptions: The current formulation assumes deterministic system dynamics. Real-world disturbances or unmodeled physics could push the system out of the safe invariant set.
Future Directions: The authors plan to extend this framework to multi-agent robotic tasks and incorporate stochastic methods to handle dynamics under explicit uncertainty.
Summary updated