- Update commands summary
- Get the lastest binary release
- Update Linux and Windows build
- Clean the build
- Pull from origin
- Download the assets
- Launch the server
- Get development assets
To post unexpected issues, doubts or suggestions, feel free to login in the CARLA forum.
Update commands summary
Show command lines to update CARLA
# Update a CARLA packaged release. # 1. Delete the current one. # 2. Follow the Quick start installation to get the one desired. # Update Linux build. git checkout master make clean git pull origin master ./Update.sh # Update Windows build. git checkout master make clean git pull origin master # Erase the content in `Unreal\CarlaUE4\Content\Carla`. # Go to `\Util\ContentVersions.txt`. # Download the latest content. # Extract the new content in `Unreal\CarlaUE4\Content\Carla`. # Get development assets. # Delete the `/Carla` folder containing previous assets. # Go to the main carla folder. git clone https://bitbucket.org/carla-simulator/carla-content Unreal/CarlaUE4/Content/Carla
Get latest binary release
Binary releases are prepackaged and thus, tied to a specific version of CARLA. To get the latest, erase the previous and follow the quick start installation to get the one desired.
Releases are listed in Development in the CARLA repository. There is also a highly experimental Nightly build containing the current state of CARLA up to date.
Update Linux and Windows build
Make sure to be in the local
master branch before the update. Then, merge or rebase the changes to other branches and solve possible conflicts.
git checkout master
Clean the build
Go to the main CARLA folder and delete binaries and temporals generated by the previous build.
Pull from origin
Get the current version from
master in the CARLA repository.
git pull origin master
Download the assets
1. Erase the previous content in
2. Go to
3. Download the content for
4. Extract the new content in
In order to work with that the CARLA team is devleoping, go to get development assets below.
Launch the server
Run the server in spectator view to make sure that everything worked properly.
Get development assets
The CARLA team works with assets still in development. These models and maps have a public git repository where the CARLA team regularly pushes latest updates. Assets are still unfinished, using them is only recommended for developers.
In order to handle this repository it is advisted to install git-lfs. The repository is modified regularly, and git-lfs works faster with large binary files.
To clone the repository, go to the main CARLA directory and run the following command.
git clone https://bitbucket.org/carla-simulator/carla-content Unreal/CarlaUE4/Content/Carla
/Carla folder containing the assets before cloning the repository. Otherwise, an error will show.