Go to file
berndgassmann 634e418777 Cleanup and harmonize Carla build
Ensure that actually only the unreal sysroot is deployed for all C as
well C++ compilations including dependencies. That ensures the server is
NOT anymore linked against the system glibc (which is in Ubuntu22.04
incompatible with the Unreal one). As a consequence no local clang
installation required anymore to build under Linux.

Harmonized naming split into client/server (instead of libcpp and
libstdcpp) to ensure nothing mixed up (and there were things mixed up
before!)

Refactor C# Unreal build using CarlaRules base class to provide common
functionality. Fixing windows build without ROS2 and added intitial
windows build with ROS2

Restrict to one DDS-Domain-Participant for carla-server (Fixes bind
address already in use exception on with ROS2).

Due to continued segfaults in reallocations of MallocBinned2 in
conjunction with ROS2 enforce using AnsiMalloc calls under Linux (see
https://forums.unrealengine.com/t/dealing-with-allocator-mismatches-with-external-libraries/1416830)

Use C++20 to allow for more robust struct initialization (see
https://en.cppreference.com/w/cpp/language/aggregate_initialization),
added Eigen C++20 patches and required CARLA changes to cope with C++20
compilation errors
Be aware: This change requires the Unreal PR
(https://github.com/CarlaUnreal/UnrealEngine/pull/23)

Move forward to g++-13

Minors:
- Fix make clean call
- Update osm2odr commit with build fix
(https://github.com/carla-simulator/sumo/pull/6)
- Update ad-rss to 4.4.5 (supports boost 1.80)
- Fix windows install scripts and forward arguments for building
libcarla
- Adapt codeformat.py to python3 using clang-format-14
2024-07-08 09:26:29 +02:00
.github Merge branch 'dev' 2021-08-02 18:06:44 +02:00
Co-Simulation Fix the misuse of the traci module in line 304 of sumo_simulation.py 2024-03-20 11:18:07 +01:00
Docs Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
Examples/CppClient Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
Import Fixed bugs of importing assets (#2068) 2019-09-17 14:57:22 +02:00
LibCarla Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
PythonAPI Rework of BasicAgent's set_destination. 2024-06-21 12:46:37 +02:00
Unreal/CarlaUE4 Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
Util Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
osm-world-renderer Digital Twins Update 26//05 (#6502) 2023-06-06 11:19:19 +02:00
.gitattributes Remove git lfs 2017-07-25 17:07:35 +02:00
.gitignore Digital Twins 0.2 version (#6768) 2023-10-31 11:24:22 +01:00
.pep8 Add PythonAPI module 2018-07-04 11:13:43 +02:00
.readthedocs.yaml Update .readthedocs.yaml python version to 3.7 (#6893) 2023-11-10 10:01:33 +01:00
.travis.yml Revert "Removed more compiler/linker version requirements." 2022-04-26 16:17:00 +02:00
CHANGELOG.md Cleanup and harmonize Carla build 2024-07-08 09:26:29 +02:00
CMakeLists.txt Change cmake version from 3.9 to 3.5 2018-11-20 14:26:48 +01:00
Doxyfile Fdomf/jenkins-wa (#1963) 2019-08-02 14:36:06 +02:00
Jenkinsfile doucmentation is pulled/pushed to "dev" branch 2024-06-05 12:29:36 +02:00
LICENSE Update license 2018-01-22 16:42:10 +01:00
Makefile Replace Linux build system 2018-07-04 19:08:42 +02:00
README.md fixed refs in dev (#7232) 2024-03-11 11:49:51 +01:00
Update.bat Access files through https 2024-01-28 21:57:34 +01:00
Update.sh use a max of 16 parallel downloads 2024-02-01 01:34:09 +01:00
mkdocs.yml fixed refs in dev (#7232) 2024-03-11 11:49:51 +01:00
wheel_config.ini added steering wheel control example 2019-02-22 11:10:27 +01:00

README.md

CARLA Simulator

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

Download CARLA

Linux:

Windows:

  • Intel i7 gen 9th - 11th / Intel i9 gen 9th - 11th / AMD ryzen 7 / AMD ryzen 9
  • +32 GB RAM memory
  • NVIDIA RTX 3070 / NVIDIA RTX 3080 / NVIDIA RTX 4090
  • Ubuntu 20.04

Documentation

The CARLA documentation is hosted on ReadTheDocs. Please see the following key links:

CARLA Ecosystem

Repositories associated with the CARLA simulation platform:

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

Paper

If you use CARLA, please cite our CoRL17 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

Clone this repository locally from GitHub:

git clone https://github.com/carla-simulator/carla.git .

Also, clone the CARLA fork of the Unreal Engine into an appropriate location:

git clone --depth 1 -b carla https://github.com/CarlaUnreal/UnrealEngine.git .

Once you have cloned the repositories, follow the instructions for building in Linux or building in Windows.

Contributing

Please take a look at our Contribution guidelines.

F.A.Q.

If you run into problems, check our FAQ.

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."