CARLA 模擬器:重塑自動駕駛研究的開源骨幹

GitHub April 2026
⭐ 13885
Source: GitHubautonomous drivingArchive: April 2026
CARLA 作為自動駕駛研究的開源模擬器,已成為測試感知與規劃演算法的事實標準。本分析深入探討其技術架構、競爭格局,以及它所重塑的市場動態。
The article body is currently shown in English by default. You can generate the full version in this language on demand.

CARLA (Car Learning to Act) is an open-source simulator designed specifically for autonomous driving research, developed by the Computer Vision Center at the Universitat Autònoma de Barcelona. Since its initial release in 2017, it has grown into the most widely adopted simulation platform in the field, with over 13,800 GitHub stars and a vibrant community of researchers, startups, and OEMs. The simulator provides high-fidelity urban environments, realistic sensor simulation (LiDAR, cameras, radar, GPS, IMU), and a flexible Python API that enables rapid prototyping of perception, planning, and control algorithms. Its modular architecture allows users to customize weather conditions, traffic patterns, pedestrian behaviors, and even vehicle dynamics. CARLA supports multi-client co-simulation, enabling V2X communication testing and multi-agent scenarios. The platform has been instrumental in advancing research areas such as domain adaptation, imitation learning, reinforcement learning, and robust perception under adverse conditions. Major automotive companies, including Toyota and Intel, have used CARLA for internal validation, and it serves as the backbone for several academic benchmarks, including the CARLA Leaderboard for autonomous driving challenges. The simulator's significance lies in its ability to bridge the gap between simulated and real-world driving, providing a safe, scalable, and reproducible environment for algorithm development. As the industry moves toward Level 4 and Level 5 autonomy, CARLA's role as a validation and training tool is becoming increasingly critical, especially as real-world testing faces regulatory and safety hurdles.

Technical Deep Dive

CARLA's architecture is built on Unreal Engine 4, providing photorealistic rendering and physics simulation. The core components include the World, which manages all actors (vehicles, pedestrians, sensors), the Blueprint library for defining actor types, and the Sensor system that generates synthetic data. The modular design allows users to swap out individual components—for example, replacing the default vehicle physics model with a custom dynamics model from a GitHub repository like `carla-ros-bridge` (a ROS 2 integration with over 2,000 stars) or `carla-gym` (an OpenAI Gym wrapper for reinforcement learning).

Sensor simulation is a standout feature. CARLA models LiDAR with configurable beams, range, and noise patterns, producing point clouds that closely match real Velodyne or Ouster sensors. Camera simulation includes lens distortion, motion blur, and exposure control, enabling realistic image degradation for robust perception testing. The simulator also supports ground truth data such as depth maps, semantic segmentation, and instance segmentation, which are invaluable for training supervised models.

Performance is a critical consideration. CARLA can run at 30-60 FPS on a single GPU (e.g., NVIDIA RTX 3080) with modest scene complexity, but high-fidelity multi-sensor setups can drop to 10-15 FPS. The table below compares CARLA's performance against other open-source simulators:

| Simulator | Max FPS (single GPU) | Sensor Fidelity | Scene Complexity | API Flexibility |
|---|---|---|---|---|
| CARLA | 60 | High | High | Python, ROS 2 |
| AirSim | 45 | Medium | Medium | Python, C++ |
| MetaDrive | 120 | Low | Medium | Python |
| SUMO | 200+ | None (traffic only) | Low | Python, C++ |

Data Takeaway: CARLA sacrifices raw simulation speed for unmatched sensor fidelity and scene realism, making it the preferred choice for perception research where data quality is paramount.

Key Players & Case Studies

CARLA's ecosystem includes several notable adopters. Toyota Research Institute uses CARLA for testing its automated driving stack, particularly for handling edge cases like unprotected left turns and pedestrian jaywalking. Intel Labs has integrated CARLA with its ROS 2-based autonomous vehicle platform, leveraging the simulator for hardware-in-the-loop testing. Wayve, a UK-based autonomous driving startup, has used CARLA to train its end-to-end deep learning models, generating millions of miles of synthetic data for imitation learning.

On the academic side, MIT, Stanford, and UC Berkeley have all published papers using CARLA as the primary evaluation platform. The CARLA Leaderboard (hosted on GitHub with over 500 participants) ranks algorithms based on driving score, route completion, and infraction rate, providing a standardized benchmark for the community.

Competing platforms include AirSim (Microsoft, now community-maintained), which offers similar functionality but with less frequent updates and a smaller ecosystem. MetaDrive (from UC Berkeley) focuses on efficiency and is better suited for reinforcement learning with simpler scenarios. The table below compares key features:

| Feature | CARLA | AirSim | MetaDrive |
|---|---|---|---|
| Latest Release | 0.9.15 (2024) | 1.8.1 (2022) | 0.3.0 (2023) |
| GitHub Stars | 13,885 | 16,200 | 1,100 |
| Active Contributors | 200+ | 50+ | 20+ |
| Supported Sensors | LiDAR, Camera, Radar, GPS, IMU | LiDAR, Camera, GPS | Camera, LiDAR |
| ROS 2 Integration | Native | Via bridge | Limited |

Data Takeaway: While AirSim has more stars, CARLA's active development and broader sensor support make it the more future-proof choice for serious research.

Industry Impact & Market Dynamics

The autonomous driving simulation market is projected to grow from $1.2 billion in 2024 to $4.8 billion by 2030 (CAGR of 26%). CARLA's open-source nature has democratized access, allowing startups and academic labs to compete with well-funded OEMs. This has accelerated the pace of research, particularly in areas like domain adaptation and sim-to-real transfer.

Major OEMs are increasingly adopting simulation-first strategies. Tesla reportedly uses its own proprietary simulator, but Waymo and Cruise have acknowledged using CARLA for specific validation tasks. The trend toward synthetic data generation for training perception models is driving demand for high-fidelity simulators. For example, Scale AI and Parallel Domain offer commercial synthetic data services, but CARLA remains the preferred choice for in-house research due to its flexibility and zero licensing cost.

Funding in the autonomous driving space has seen a shift: from 2018-2022, most investment went into hardware and real-world testing. Since 2023, investors have favored simulation and validation tools, with companies like Applied Intuition (raised $250M) and Foretellix (raised $100M) gaining traction. CARLA's open-source model poses a competitive threat to these commercial platforms, as it offers comparable functionality for free.

| Company | Funding Raised | Product Type | Key Differentiator |
|---|---|---|---|
| Applied Intuition | $250M | Commercial simulation | Scenario generation, OEM partnerships |
| Foretellix | $100M | Verification & validation | Coverage-driven testing |
| CARLA (open-source) | $0 (grants only) | Open-source simulator | Community-driven, free, extensible |

Data Takeaway: CARLA's zero-cost model forces commercial vendors to differentiate on enterprise features (e.g., scenario management, compliance reporting) rather than core simulation capability.

Risks, Limitations & Open Questions

Despite its strengths, CARLA has notable limitations. The sim-to-real gap remains a critical challenge: models trained exclusively on CARLA data often fail in real-world conditions due to differences in sensor noise, lighting, and physics. While domain randomization techniques help, they are not a complete solution. The recent release of CARLA 0.9.15 introduced improved weather and lighting models, but the gap persists.

Scalability is another issue. Running multiple CARLA instances for large-scale data generation requires significant GPU resources. A single high-fidelity scenario with four cameras and one LiDAR can consume 8GB of VRAM. For comparison, MetaDrive achieves 120 FPS on the same hardware, making it more suitable for reinforcement learning with millions of episodes.

Ethical concerns also arise. CARLA's default traffic scenarios are based on Western driving norms (right-hand traffic, standardized road markings). This can introduce bias in models trained on CARLA, potentially failing in countries with different driving conventions. The community has started adding custom maps for China, India, and Europe, but coverage remains uneven.

Finally, the project's sustainability is an open question. CARLA is primarily maintained by a small team at CVC Barcelona, with contributions from volunteers. While Toyota and Intel have provided funding, the project lacks a dedicated foundation or commercial sponsor. If key maintainers leave, the project could stagnate.

AINews Verdict & Predictions

CARLA has established itself as the Linux of autonomous driving simulation—an open-source platform that underpins a vast ecosystem of research and development. Its modular architecture and high-fidelity sensor simulation are unmatched in the open-source world. However, the sim-to-real gap and resource requirements limit its use for production-level validation.

Prediction 1: Within two years, CARLA will be acquired or receive major corporate sponsorship (likely from an automotive Tier 1 supplier like Bosch or Continental) to ensure long-term development and integration with commercial ADAS stacks.

Prediction 2: The CARLA Leaderboard will evolve into an industry-standard certification benchmark, similar to how the KITTI dataset became the gold standard for object detection. This will drive adoption among OEMs seeking regulatory approval for Level 3+ systems.

Prediction 3: We will see a convergence between CARLA and real-time traffic simulators like SUMO, enabling large-scale traffic flow simulation with high-fidelity sensor data. This will be critical for testing V2X communication and cooperative driving strategies.

What to watch next: The release of CARLA 1.0 (expected in late 2025) promises native support for neural rendering and differentiable simulation, which could dramatically reduce the sim-to-real gap. If successful, this would cement CARLA's dominance for the next decade.

More from GitHub

Reinstall 腳本突破 11K 星:重塑 VPS 管理的隱藏工具The Reinstall script, developed by GitHub user bin456789, has become a viral tool in the VPS community, accumulating 11,CARLA 模擬器生態系統:自動駕駛研發的隱藏地圖The CARLA simulator has long been the de facto open-source platform for autonomous driving research, but its sheer breadGyroflow Legacy:IMU數據如何在AI時代前革新影片穩定技術The Gyroflow project, now archived in its original form at elvinc/gyroflow, pioneered a radical approach to video stabilOpen source hub1100 indexed articles from GitHub

Related topics

autonomous driving27 related articles

Archive

April 20262543 published articles

Further Reading

CARLA 模擬器生態系統:自動駕駛研發的隱藏地圖一個全新的精選 GitHub 倉庫「awesome-carla」正在系統性地整理 CARLA 自動駕駛模擬器的龐大生態系統。它承諾成為研究人員和開發者的一站式導航工具,降低感測器模擬、場景建構等領域的陡峭學習曲線。Lingbot-Map:挑戰即時空間AI的開源3D基礎模型一個名為Lingbot-Map的新開源專案正掀起波瀾,它提出了一種極高效的「前饋」架構,用於構建3D基礎模型。與基於迭代或擴散的方法不同,它的目標是從串流感測器數據中,透過單次前向運算,重建完整且連貫的3D場景。Reinstall 腳本突破 11K 星:重塑 VPS 管理的隱藏工具一個名為 Reinstall 的 GitHub 腳本,透過在任何 VPS 上一鍵重新安裝作業系統,已累積超過 11,600 顆星。然而,它依賴網路鏡像且可能被濫用,引發了關於安全性與雲端供應商政策的關鍵問題。Gyroflow Legacy:IMU數據如何在AI時代前革新影片穩定技術Gyroflow的存檔舊版展示了來自IMU的硬體運動數據,能在極端畫面中超越純視覺穩定效果。AINews探討其中的技術突破、轉向活躍儲存庫的過程,以及這對穩定技術未來的意義。

常见问题

GitHub 热点“CARLA Simulator: The Open-Source Backbone Reshaping Autonomous Driving Research”主要讲了什么?

CARLA (Car Learning to Act) is an open-source simulator designed specifically for autonomous driving research, developed by the Computer Vision Center at the Universitat Autònoma d…

这个 GitHub 项目在“how to install CARLA simulator on Ubuntu 22.04”上为什么会引发关注?

CARLA's architecture is built on Unreal Engine 4, providing photorealistic rendering and physics simulation. The core components include the World, which manages all actors (vehicles, pedestrians, sensors), the Blueprint…

从“CARLA vs AirSim for autonomous driving research”看,这个 GitHub 项目的热度表现如何?

当前相关 GitHub 项目总星标约为 13885,近一日增长约为 0,这说明它在开源社区具有较强讨论度和扩散能力。