Automatic Traffic Scenario Conversion from OpenSCENARIO to CommonRoad
Yuanfei Lin, Michael Ratzel, Matthias Althoff
TL;DR
This work addresses the interoperability gap between OpenSCENARIO and CommonRoad by introducing an open-source converter that converts OpenSCENARIO dynamics into CommonRoad representations. The method uses OpenDRIVE-to-lanelet conversion, a simulation core to realize dynamic elements, and then constructs a full CommonRoad scenario with planning problems, outputting an XML file for evaluation. The authors demonstrate the tool on dozens of public OpenSCENARIO cases, validating conversions with CommonRoad tools for collision checking, motion planning, criticality assessment, safety verification, and trajectory repair. The converter, paired with existing CommonRoad tooling, enables robust benchmarking and exchange of scenarios across formats, promoting broader collaboration between research and industry.
Abstract
Scenarios are a crucial element for developing, testing, and verifying autonomous driving systems. However, open-source scenarios are often formulated using different terminologies. This limits their usage across different applications as many scenario representation formats are not directly compatible with each other. To address this problem, we present the first open-source converter from the OpenSCENARIO format to the CommonRoad format, which are two of the most popular scenario formats used in autonomous driving. Our converter employs a simulation tool to execute the dynamic elements defined by OpenSCENARIO. The converter is available at commonroad.in.tum.de and we demonstrate its usefulness by converting publicly available scenarios in the OpenSCENARIO format and evaluating them using CommonRoad tools.
