Skip to main content
QUICK REVIEW

[Paper Review] A Novel Traffic Simulation Framework for Testing Autonomous Vehicles Using SUMO and CARLA

Pei Li, Arpan Kusari|arXiv (Cornell University)|Oct 14, 2021
Traffic control and managementEngineering5 references8 citations
TL;DR

This paper proposes a novel simulation framework that integrates SUMO for realistic traffic flow and CARLA for high-fidelity sensor simulation to enable end-to-end testing of autonomous vehicle (AV) perception, planning, and control in complex, naturalistic environments. By combining SUMO-Gym with CARLA, the framework enhances realism in traffic behavior and sensor output, enabling modular and scalable AV evaluation through multiple case studies.

ABSTRACT

Traffic simulation is an efficient and cost-effective way to test Autonomous Vehicles (AVs) in a complex and dynamic environment. Numerous studies have been conducted for AV evaluation using traffic simulation over the past decades. However, the current simulation environments fall behind on two fronts -- the background vehicles (BVs) fail to simulate naturalistic driving behavior and the existing environments do not test the entire pipeline in a modular fashion. This study aims to propose a simulation framework that creates a complex and naturalistic traffic environment. Specifically, we combine a modified version of the Simulation of Urban MObility (SUMO) simulator with the Cars Learning to Act (CARLA) simulator to generate a simulation environment that could emulate the complexities of the external environment while providing realistic sensor outputs to the AV pipeline. In a past research work, we created an open-source Python package called SUMO-Gym which generates a realistic road network and naturalistic traffic through SUMO and combines that with OpenAI Gym to provide ease of use for the end user. We propose to extend our developed software by adding CARLA, which in turn will enrich the perception of the ego vehicle by providing realistic sensors outputs of the AVs surrounding environment. Using the proposed framework, AVs perception, planning, and control could be tested in a complex and realistic driving environment. The performance of the proposed framework in constructing output generation and AV evaluations are demonstrated using several case studies.

Motivation & Objective

  • To address the limitations of existing simulation environments in replicating naturalistic driving behavior of background vehicles.
  • To overcome the lack of modular, end-to-end pipeline testing in current AV simulation frameworks.
  • To develop a unified simulation framework that combines SUMO’s traffic modeling with CARLA’s photorealistic sensor simulation.
  • To enable scalable and realistic evaluation of autonomous vehicle perception, planning, and control modules.
  • To extend the open-source SUMO-Gym framework by integrating CARLA for enhanced sensor realism and environmental fidelity.

Proposed method

  • The framework integrates a modified version of SUMO to generate realistic road networks and naturalistic traffic flow with diverse vehicle behaviors.
  • CARLA is used to provide photorealistic sensor outputs, including LiDAR and camera data, simulating the ego vehicle’s perception of the environment.
  • The integration is implemented via a custom Python-based interface that synchronizes traffic states from SUMO with the CARLA simulation environment.
  • The system leverages the SUMO-Gym framework to provide a standardized, gym-like API for AV reinforcement learning and control policy training.
  • The simulation pipeline supports modular testing of perception, planning, and control components by decoupling sensor input generation from decision-making modules.
  • Case studies validate the framework’s ability to generate consistent, high-fidelity simulation outputs across multiple driving scenarios.

Experimental results

Research questions

  • RQ1Can a combined SUMO-CARLA framework produce more naturalistic background vehicle behavior than SUMO alone?
  • RQ2How effectively can CARLA’s sensor simulation enhance the realism of AV perception inputs in a traffic simulation environment?
  • RQ3To what extent does the integrated framework support modular, end-to-end testing of AV perception, planning, and control pipelines?
  • RQ4How does the framework perform in generating consistent and scalable simulation outputs across diverse driving scenarios?
  • RQ5Can the extended SUMO-Gym framework with CARLA integration enable more reliable AV evaluation compared to standalone simulators?

Key findings

  • The integration of SUMO and CARLA significantly improves the realism of background vehicle behavior by combining SUMO’s traffic dynamics with CARLA’s environmental fidelity.
  • The framework successfully generates high-fidelity sensor outputs, including LiDAR and camera data, that closely resemble real-world AV perception inputs.
  • The modular design enables independent testing of perception, planning, and control components within a unified simulation environment.
  • Case studies demonstrate the framework’s ability to scale across complex urban and highway scenarios with consistent simulation output.
  • The extended SUMO-Gym framework with CARLA integration provides a more comprehensive and realistic testbed for AV development and evaluation.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.