A Real-Time Control Barrier Function-Based Safety Filter for Motion Planning with Arbitrary Road Boundary Constraints

arXiv cs.RO / 3/25/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces a real-time safety filter for motion planning that uses Control Barrier Functions (CBFs) to guarantee collision avoidance with road boundaries.
  • Unlike methods that rely on conservative overapproximations, it can directly handle arbitrary road geometries described as polylines within the safety constraints.
  • The safety filter is formulated as a Quadratic Program (QP) that makes the smallest necessary modification to the nominal planner’s control commands.
  • Extensive numerical experiments across complex traffic scenarios show reliable safety performance with computational efficiency up to 40 Hz execution frequency.
  • Reproducible code and a video demonstration are provided via the project’s GitHub repository.

Abstract

We present a real-time safety filter for motion planning, including those that are learning-based, using Control Barrier Functions (CBFs) to provide formal guarantees for collision avoidance with road boundaries. A key feature of our approach is its ability to directly incorporate road geometries of arbitrary shape that are represented as polylines without resorting to conservative overapproximations. We formulate the safety filter as a constrained optimization problem as a Quadratic Program (QP), which achieves safety by making minimal, necessary adjustments to the control actions issued by the nominal motion planner. We validate our safety filter through extensive numerical experiments across a variety of traffic scenarios featuring complex road boundaries. The results confirm its reliable safety and high computational efficiency (execution frequency up to 40 Hz). Code reproducing our experimental results and a video demonstration are available at github.com/bassamlab/SigmaRL.

A Real-Time Control Barrier Function-Based Safety Filter for Motion Planning with Arbitrary Road Boundary Constraints | AI Navigate