• Stars
    star
    11,099
  • Rank 3,032 (Top 0.06 %)
  • Language
    C++
  • License
    MIT License
  • Created about 7 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Open-source simulator for autonomous driving research.

CARLA Simulator

Build Status Documentation

carla.org download documentation forum discord

CARLA is an open-source simulator for autonomous driving research. CARLA has been developed from the ground up to support development, training, and validation of autonomous driving systems. In addition to open-source code and protocols, CARLA provides open digital assets (urban layouts, buildings, vehicles) that were created for this purpose and can be used freely. The simulation platform supports flexible specification of sensor suites and environmental conditions.

CARLA Video

If you want to benchmark your model in the same conditions as in our CoRLโ€™17 paper, check out Benchmarking.

Recommended system

  • Intel i7 gen 9th - 11th / Intel i9 gen 9th - 11th / AMD ryzen 7 / AMD ryzen 9
  • +16 GB RAM memory
  • NVIDIA RTX 2070 / NVIDIA RTX 2080 / NVIDIA RTX 3070, NVIDIA RTX 3080
  • Ubuntu 18.04

CARLA Ecosystem

Repositories associated to the CARLA simulation platform:

Like what you see? Star us on GitHub to support the project!

Paper

If you use CARLA, please cite our CoRLโ€™17 paper.

CARLA: An Open Urban Driving Simulator
Alexey Dosovitskiy, German Ros, Felipe Codevilla, Antonio Lopez, Vladlen Koltun; PMLR 78:1-16 [PDF] [talk]

@inproceedings{Dosovitskiy17,
  title = {{CARLA}: {An} Open Urban Driving Simulator},
  author = {Alexey Dosovitskiy and German Ros and Felipe Codevilla and Antonio Lopez and Vladlen Koltun},
  booktitle = {Proceedings of the 1st Annual Conference on Robot Learning},
  pages = {1--16},
  year = {2017}
}

Building CARLA

Use git clone or download the project from this page. Note that the master branch contains the most recent release of CARLA with the latest fixes and features.

Then follow the instruction at How to build on Linux or How to build on Windows.
The Linux build needs for an UE patch to solve some visualization issues regarding Vulkan. Those already working with a Linux build should install the patch and make the UE build again using the following commands.

# Download and install the UE patch  
cd ~/UnrealEngine_4.24
wget https://carla-releases.s3.eu-west-3.amazonaws.com/Linux/UE_Patch/430667-13636743-patch.txt ~/430667-13636743-patch.txt
patch --strip=4 < ~/430667-13636743-patch.txt
# Build UE
./Setup.sh && ./GenerateProjectFiles.sh && make

Unfortunately we don't have official instructions to build on Mac yet, please check the progress at issue #150.

Contributing

Please take a look at our Contribution guidelines.

F.A.Q.

If you run into problems, check our FAQ.

CARLA Talks

The team creates some additional content for users, besides the docs. This is a great way to cover different subjects such as detailed explanations for a specific module, latest improvements in a feature, future work and much more.

CARLA Talks 2020 (May):

  • General
    • Art improvements: environment and rendering โ€” video | slides
    • Core implementations: synchrony, snapshots and landmarks โ€” video | slides
    • Data ingestion โ€” video | slides
    • Pedestrians and their implementation โ€” video | slides
    • Sensors in CARLA โ€” video | slides
  • Modules
    • Improvements in the Traffic Manager โ€” video | slides
    • Integration of autoware and ROS โ€” video | slides
    • Introducing ScenarioRunner โ€” video | slides
    • OpenSCENARIO support โ€” slides
  • Features
    • Co-Simulations with SUMO and PTV-Vissim โ€” video | slides
    • Integration of RSS-lib โ€” slides
    • The External Sensor Interface (ESI) โ€” video | slides
    • The OpenDRIVE Standalone Mode โ€” video | slides

Licenses

CARLA licenses

CARLA specific code is distributed under MIT License.

CARLA specific assets are distributed under CC-BY License.

CARLA Dependency and Integration licenses

The ad-rss-lib library compiled and linked by the RSS Integration build variant introduces LGPL-2.1-only License.

Unreal Engine 4 follows its own license terms.

CARLA uses three dependencies as part of the SUMO integration:

CARLA uses one dependency as part of the Chrono integration:

CARLA uses the Autodesk FBX SDK for converting FBX to OBJ in the import process of maps. This step is optional, and the SDK is located here

This software contains Autodeskยฎ FBXยฎ code developed by Autodesk, Inc. Copyright 2020 Autodesk, Inc. All rights, reserved. Such code is provided "as is" and Autodesk, Inc. disclaims any and all warranties, whether express or implied, including without limitation the implied warranties of merchantability, fitness for a particular purpose or non-infringement of third party rights. In no event shall Autodesk, Inc. be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement of substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of such code."

More Repositories

1

ros-bridge

ROS bridge for CARLA Simulator
Python
521
star
2

scenario_runner

Traffic scenario definition and execution engine
Python
519
star
3

imitation-learning

Repository to store conditional imitation learning based AI that runs on CARLA.
Python
430
star
4

carla-autoware

Integration of AutoWare AV software with the CARLA simulator
Dockerfile
253
star
5

reinforcement-learning

Reinforcement learning baseline agent trained with the Actor-critic (A3C) algorithm.
Python
241
star
6

leaderboard

CARLA Autonomous Driving leaderboard
Python
163
star
7

map

AD Map access library
C++
94
star
8

driving-benchmarks

Repository to store different driving benchmarks that run on the CARLA simulator
Python
84
star
9

data-collector

Data collector for version 0.8.4, also contains an client side agent
Python
74
star
10

carla-map-editor

Standalone GUI application to enhance RoadRunner maps with traffic lights and traffic signs information.
C++
73
star
11

rllib-integration

Integration of RLLib and CARLA
Python
65
star
12

traffic-generation-editor

Visual generation of traffic scenarios based on the OpenSCENARIO standard
Python
61
star
13

opendrive-test-files

A set of OpenDrive files for testing CARLA Simulator's OpenDrive parser.
21
star
14

ros-carla-msgs

Official ROS messages for CARLA
CMake
12
star
15

carla-simulator.github.io

carla.org static web
HTML
10
star
16

carla-plugins

Repository for all plugins or addons for CARLA simulator
8
star
17

leaderboard-agents

Baseline agents for the leaderboard
Python
6
star
18

leaderboard-cloud

Shell
6
star
19

ros-carla-msgs-release

ROS CARLA messages release
2
star
20

carla-OptiX

C#
1
star