Safe Trajectory Generation for Complex Urban Environments Using Spatio-Temporal Semantic Corridor

Wenchao Ding, Lu Zhang, Jing Chen, Shaojie Shen

Introduction

Autonomous driving in dense urban environments requires navigating a complex web of constraints, including static obstacles, dynamic agents, traffic signals, and varying speed limits. Traditionally, these semantic elements are integrated into motion planners as a combination of hard constraints and cost functions, often leading to tuning difficulties and potential "safety gaps" where obstacles are missed between discrete time steps. This paper proposes a unified framework centered on the Spatio-temporal Semantic Corridor (SSC) to provide continuous safety guarantees.

System Architecture

The proposed motion planning framework is integrated into a larger autonomous vehicle stack, as illustrated in the system architecture below.

Figure 1: The proposed motion planning framework within the overall autonomous driving system.

The pipeline consists of two primary stages: the generation of the Spatio-temporal Semantic Corridor and subsequent optimization-based trajectory generation. The framework receives semantic maps and behavioral predictions to produce safe, smooth trajectories at a high frequency (20 Hz).

Spatio-temporal Semantic Corridor (SSC)

The core innovation of this work is the SSC, a unified geometric structure that translates diverse driving rules into a series of safe 3D "cubes" within the Frenet frame (defined by longitudinal distance $s$, lateral distance $l$, and time $t$).

Figure 2: Visualization of the Spatio-temporal Semantic Corridor (SSC) in a complex urban environment.

Corridor Generation

The planner takes "seeds" from a high-level behavior planner and "inflates" them into 3D cubes. These cubes expand until they encounter an obstacle or a Semantic Boundary, such as a lane edge or the start of a new speed limit zone. This process effectively converts abstract traffic rules and physical obstacles into a single set of geometric boundaries. Whether a boundary represents a physical wall or a legal speed limit, the trajectory optimizer treats it as a concrete geometric constraint.

Trajectory Optimization via Bézier Curves

To ensure the vehicle remains within the safe corridor at all times, the trajectory is represented using piecewise Bézier curves. This approach leverages two key mathematical properties:

  1. Convex Hull Property: A Bézier curve is guaranteed to stay within the convex hull formed by its control points. By constraining these control points to lie within the SSC cubes, the entire continuous path is guaranteed to be collision-free.
  2. Hodograph Property: The derivative (velocity/acceleration) of a Bézier curve is also a Bézier curve. This allows for the enforcement of velocity and acceleration limits across the entire trajectory by constraining the control points of the derivatives.

The optimization problem is formulated as a Quadratic Program (QP), minimizing "jerk" for smoothness while adhering to the linear constraints imposed by the SSC.

Experimental Results

The framework was evaluated using multi-agent simulations and real-world map data. Key findings include:

  • Efficiency: The entire pipeline runs stably at 20 Hz on standard desktop hardware, making it viable for real-world deployment.
  • Performance: In cluttered environments, the SSC-based planner reached goals significantly faster than traditional "Frenet Primitives" methods (e.g., 42s vs 56s) by exploring a continuous solution space rather than a discrete set of paths.
  • Constraint Satisfaction: The system demonstrated precise handling of complex scenarios, such as stopping accurately at red lights from high entry speeds (13 m/s) while strictly respecting local speed limit zones.

Conclusion

The Spatio-temporal Semantic Corridor provides a robust, unified abstraction for urban driving constraints. By combining this geometric representation with the properties of Bézier curves, the authors achieve a motion planner that is both computationally efficient and theoretically safe across its entire continuous trajectory. Future work will focus on incorporating prediction uncertainty and modeling multi-agent interactions more deeply within the corridor structure.

Summary updated

BibTeX
@article{ding2019safe,
  author = {Wenchao Ding and Lu Zhang and Jing Chen and Shaojie Shen},
  title = {{Safe Trajectory Generation for Complex Urban Environments Using Spatio-Temporal Semantic Corridor}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2019},
  url = {https://openreview.net/forum?id=t1NVLEasYT_},
}
Figure