Researchers at the Technical University of Munich have introduced the first open-source converter designed to bridge the gap between two of the most prominent traffic scenario formats: OpenSCENARIO and CommonRoad. This tool enables researchers to leverage vast industry-standard scenario libraries while utilizing the powerful motion planning and formal verification tools within the CommonRoad ecosystem.
The Challenge: Bridging Logical and Concrete Scenarios
In autonomous driving (AD) development, scenarios serve as the fundamental unit of testing. However, the community is split between two primary paradigms:
- OpenSCENARIO (ASAM standard): Focuses on "logical" scenarios. These are procedural descriptions using triggers (e.g., "initiate lane change when 20m from the lead vehicle"). They require a simulator to determine exact vehicle states over time.
- CommonRoad: Focuses on "concrete" scenarios. These record precise trajectories and road networks, making them ideal for benchmarking motion planners and formal safety verification.
Because OpenSCENARIO is behavior-based, simple XML tag translation is insufficient. The scenario must be executed to capture the resulting trajectories before it can be stored in the CommonRoad format.
Methodology: Simulation-in-the-Loop Conversion
The proposed pipeline follows a multi-step process to "bake" procedural behaviors into concrete data:
- Map Conversion: Static road networks are translated from OpenDRIVE (often paired with OpenSCENARIO) to CommonRoad’s "lanelet" format.
- Simulation Execution: The converter utilizes esmini, a lightweight OpenSCENARIO player, to run the scenario.
- Data Recording: At every time step, the tool records global coordinates, velocity, and orientation for all participants.
- Problem Definition: The tool identifies the "ego vehicle" and defines its start state and goal region, transforming a passive recording into an active planning challenge for AD researchers.
Evaluation and Results
The converter was tested on 54 openly accessible scenarios from the ASAM standard, esmini demonstrations, and ALKS (Automated Lane Keeping Systems) test suites. The results demonstrated high reliability and efficiency:
- 100% Success Rate: All 54 scenarios were converted successfully without manual intervention.
- Efficiency: The average conversion time was approximately 31.74 seconds, scaling with scenario complexity.
Downstream Applications
By migrating scenarios to CommonRoad, researchers can apply advanced tools not natively supported by OpenSCENARIO. For instance, the authors demonstrated the use of SPOT for set-based occupancy prediction and CriMe for calculating criticality metrics like Time-to-Collision.
In a case study involving a pedestrian collision, the converted scenario allowed for precise verification of the collision time (5.5s) and the subsequent generation of an evasive maneuver using a motion planner to "repair" the unsafe trajectory.
Conclusion
This open-source tool provides a vital link between industry standards and academic research tools. While dependent on the capabilities of the underlying simulation engine (esmini), it significantly expands the dataset available for formal verification and motion planning research. The converter is publicly available at commonroad.in.tum.de.
Summary updated