CARLA simulates urban driving for developing, training, and validating autonomous driving stacks. It ships open maps, vehicles, and sensor models controllable through Python and C++ APIs.
Overview
CARLA is built for researchers and engineers who need repeatable urban driving scenarios instead of only road miles. The platform provides digital towns, traffic actors, weather, and sensor suites so stacks can be exercised before deployment.
Recent releases run on Unreal Engine 5.8 with large-world maps, advanced camera and lidar simulation, ray-traced lens models, and hardware ray tracing features. Users get semantic segmentation, depth, bounding boxes, and related ground truth per frame alongside conventional RGB, depth, radar, GNSS, IMU, and V2X sensor types.
Operation is organized around a multi-client server: several processes can control different actors, and secondary servers can render sensors on additional GPUs. Traffic can be driven by a traffic manager, scripted scenarios, OpenSCENARIO tooling, Scenic, or leaderboard evaluation flows. Native ROS 2 publish and subscribe avoids a separate bridge, with selectable DDS middleware at launch.
Maps can follow ASAM OpenDRIVE, import from tools such as RoadRunner or OpenStreetMap, and ship as content packs. Integrations mentioned include NuRec scene replay, cosmos-style variation, Autoware over ROS 2, and agent-oriented MCP procedures for setup and packaging tasks.
Key features
- Photoreal urban maps and assets
- Multi-sensor ground truth
- Python and C++ control APIs
- Traffic manager and scenarios
- Native ROS 2 interface
- Multi-client and multi-GPU servers
- OpenDRIVE map pipeline
- Recording and replay
Use cases
- Autonomous driving algorithm training
- Perception stack validation
- Closed-loop planning tests
- ROS 2 stack integration
- Scenario-based safety evaluation