MultiDrive: A Co-Simulation Framework Bridging 2D and 3D Driving Simulation for AV Software Validation
Marc Kaufeld, Korbinian Moller, Alessio Gambi, Paolo Arcaini, Johannes Betz
TL;DR
The paper addresses the challenge of validating autonomous driving motion planners across both low-fidelity 2D and high-fidelity 3D simulators by introducing MultiDrive, a co-simulation framework with a shared scenario library and automated evaluation. It jointly supports multi-agent scenario generation, synchronized execution in CommonRoad and BeamNG.tech, and trajectory- and cross-fidelity analyses to reveal discrepancies between planned and executed trajectories. Key contributions include automated, open-source cross-simulation workflows, a methodology for translating 2D scenarios into 3D environments, and empirical evidence that road geometry and vehicle dynamics can affect planning assumptions under more realistic conditions. The work enables more robust AV software testing, reduces validation costs, and provides a pathway toward systematic, scenario-driven exploration of the sim-to-real gap.
Abstract
Scenario-based testing using simulations is a cornerstone of Autonomous Vehicles (AVs) software validation. So far, developers needed to choose between low-fidelity 2D simulators to explore the scenario space efficiently, and high-fidelity 3D simulators to study relevant scenarios in more detail, thus reducing testing costs while mitigating the sim-to-real gap. This paper presents a novel framework that leverages multi-agent co-simulation and procedural scenario generation to support scenario-based testing across low- and high-fidelity simulators for the development of motion planning algorithms. Our framework limits the effort required to transition scenarios between simulators and automates experiment execution, trajectory analysis, and visualization. Experiments with a reference motion planner show that our framework uncovers discrepancies between the planner's intended and actual behavior, thus exposing weaknesses in planning assumptions under more realistic conditions. Our framework is available at: https://github.com/TUM-AVS/MultiDrive
