Table of Contents
Fetching ...

OpenTwinMap: An Open-Source Digital Twin Generator for Urban Autonomous Driving

Alex Richardson, Jonathan Sprinkle

TL;DR

OpenTwinMap proposes a Python-based, open-source framework to generate high-fidelity urban digital twins for autonomous driving by fusing LiDAR with OpenStreetMap data, converting to OpenDRIVE, and producing Unreal/CARLA-ready 3D assets. The pipeline emphasizes modularity, extensibility, and parallelization, enabling rapid prototyping and experimentation across diverse urban contexts. Core contributions include LiDAR-aligned OSM road geometry refinement, an OpenDRIVE conversion module, and a plan for semantic segmentation and texture draping of static environment objects. The work targets flexible integration with simulators beyond CARLA and lays out a roadmap for full junction handling, detailed infrastructure, and cross-simulator compatibility, potentially accelerating AV research and generative world-model development.

Abstract

Digital twins of urban environments play a critical role in advancing autonomous vehicle (AV) research by enabling simulation, validation, and integration with emerging generative world models. While existing tools have demonstrated value, many publicly available solutions are tightly coupled to specific simulators, difficult to extend, or introduce significant technical overhead. For example, CARLA-the most widely used open-source AV simulator-provides a digital twin framework implemented entirely as an Unreal Engine C++ plugin, limiting flexibility and rapid prototyping. In this work, we propose OpenTwinMap, an open-source, Python-based framework for generating high-fidelity 3D urban digital twins. The completed framework will ingest LiDAR scans and OpenStreetMap (OSM) data to produce semantically segmented static environment assets, including road networks, terrain, and urban structures, which can be exported into Unreal Engine for AV simulation. OpenTwinMap emphasizes extensibility and parallelization, lowering the barrier for researchers to adapt and scale the pipeline to diverse urban contexts. We describe the current capabilities of the OpenTwinMap, which includes preprocessing of OSM and LiDAR data, basic road mesh and terrain generation, and preliminary support for CARLA integration.

OpenTwinMap: An Open-Source Digital Twin Generator for Urban Autonomous Driving

TL;DR

OpenTwinMap proposes a Python-based, open-source framework to generate high-fidelity urban digital twins for autonomous driving by fusing LiDAR with OpenStreetMap data, converting to OpenDRIVE, and producing Unreal/CARLA-ready 3D assets. The pipeline emphasizes modularity, extensibility, and parallelization, enabling rapid prototyping and experimentation across diverse urban contexts. Core contributions include LiDAR-aligned OSM road geometry refinement, an OpenDRIVE conversion module, and a plan for semantic segmentation and texture draping of static environment objects. The work targets flexible integration with simulators beyond CARLA and lays out a roadmap for full junction handling, detailed infrastructure, and cross-simulator compatibility, potentially accelerating AV research and generative world-model development.

Abstract

Digital twins of urban environments play a critical role in advancing autonomous vehicle (AV) research by enabling simulation, validation, and integration with emerging generative world models. While existing tools have demonstrated value, many publicly available solutions are tightly coupled to specific simulators, difficult to extend, or introduce significant technical overhead. For example, CARLA-the most widely used open-source AV simulator-provides a digital twin framework implemented entirely as an Unreal Engine C++ plugin, limiting flexibility and rapid prototyping. In this work, we propose OpenTwinMap, an open-source, Python-based framework for generating high-fidelity 3D urban digital twins. The completed framework will ingest LiDAR scans and OpenStreetMap (OSM) data to produce semantically segmented static environment assets, including road networks, terrain, and urban structures, which can be exported into Unreal Engine for AV simulation. OpenTwinMap emphasizes extensibility and parallelization, lowering the barrier for researchers to adapt and scale the pipeline to diverse urban contexts. We describe the current capabilities of the OpenTwinMap, which includes preprocessing of OSM and LiDAR data, basic road mesh and terrain generation, and preliminary support for CARLA integration.

Paper Structure

This paper contains 13 sections, 1 figure.

Figures (1)

  • Figure 1: Architecture of OpenTwinMap outlined, with future features mapped together with what is already implemented or in progress.