First redraft Windows Build guide
This commit is contained in:
parent
1ffaf7b154
commit
82b6f4981e
|
@ -1,137 +1,116 @@
|
|||
# Windows build
|
||||
|
||||
* [__Windows build command summary__](#windows-build-command-summary)
|
||||
* [__Requirements__](#requirements)
|
||||
* [System specifics](#system-specifics)
|
||||
* [__Necessary software__](#necessary-software)
|
||||
* [Minor installations (CMake, git, make, Python3 x64)](#minor-installations)
|
||||
* [Visual Studio 2017](#visual-studio-2017)
|
||||
* [Unreal Engine (4.24)](#unreal-engine)
|
||||
* [__CARLA build__](#carla-build)
|
||||
* [Clone repository](#clone-repository)
|
||||
* [Get assets](#get-assets)
|
||||
* [Set the environment variable](#set-the-environment-variable)
|
||||
* [make CARLA](#make-carla)
|
||||
This guide details how to build CARLA from source on Windows. There are two parts. Part one details system requirements and installations of required software, and part two details how to actually build and run CARLA.
|
||||
|
||||
The build process is long (4 hours or more) and involves several kinds of software. It is highly recommended to read through the guide fully before starting.
|
||||
|
||||
If you come across errors or difficulties then have a look at the **[F.A.Q.](build_faq.md)** page which offers solutions for the most common complications. Alternatively, use the [CARLA forum](https://forum.carla.org/c/installation-issues/linux) to post any queries you may have.
|
||||
|
||||
- [Part One: Prerequisites](#part-one-prerequisites)
|
||||
- [System requirements](#system-requirements)
|
||||
- [Software requirements](#software-requirements)
|
||||
- [Minor installations](#minor-installations)
|
||||
- [Python dependencies](#python-dependencies)
|
||||
- [Major installations](#major-installations)
|
||||
- [Visual Studio 2017](#visual-studio-2017)
|
||||
- [Unreal Engine](#unreal-engine)
|
||||
- [Part Two: Build CARLA](#part-two-build-carla)
|
||||
- [Clone the CARLA repository](#clone-the-carla-repository)
|
||||
- [Get assets](#get-assets)
|
||||
- [Set Unreal Engine environment variable](#set-unreal-engine-environment-variable)
|
||||
- [Build CARLA](#build-carla)
|
||||
- [Other make commands](#other-make-commands)
|
||||
- [Summary](#summary)
|
||||
|
||||
The build process can be quite long and tedious. The **[F.A.Q.](build_faq.md)** page offers solution for the most common complications. Alternatively, use the [CARLA forum](https://forum.carla.org/c/installation-issues/linux) to post any unexpected issues that may occur.
|
||||
|
||||
---
|
||||
## Windows build command summary
|
||||
## Part One: Prerequisites
|
||||
|
||||
<details>
|
||||
<summary> Show command lines to build on Windows</summary>
|
||||
<br>
|
||||
To execute the <code>make</code> commands below, you <b>must</b> use the Visual Studio 2017 native console x64 <b>with</b> administrator rights, otherwise you may be getting permission errors.
|
||||
|
||||
!!! Important
|
||||
To execute the ```make``` commands below, you **must** use the Visual Studio 2017 native console x64 **with** administrator rights, otherwise you may be getting permission errors.
|
||||
|
||||
```sh
|
||||
# Make sure to meet the minimum requirements
|
||||
|
||||
# Necessary software:
|
||||
# CMake
|
||||
# Git
|
||||
# Make
|
||||
# Python3 x64
|
||||
# Unreal Engine 4.24
|
||||
# Visual Studio 2017 with Windows 8.1 SDK and x64 Visual C++ Toolset
|
||||
|
||||
# Set environment variables for the software
|
||||
|
||||
# Clone the CARLA repository
|
||||
git clone https://github.com/carla-simulator/carla
|
||||
|
||||
# make the CARLA client and the CARLA server
|
||||
make PythonAPI
|
||||
make launch
|
||||
|
||||
# Press play in the Editor to initialize the server
|
||||
# Run example scripts to test CARLA
|
||||
# Terminal A
|
||||
cd PythonAPI/examples
|
||||
python3 spawn_npc.py
|
||||
# Terminal B
|
||||
cd PythonAPI/examples
|
||||
python3 dynamic_weather.py
|
||||
# The PythonAPI will be built based on the installed Python version, but the docs will use Python3 by default.
|
||||
|
||||
```
|
||||
</details>
|
||||
|
||||
---
|
||||
## Requirements
|
||||
|
||||
### System specifics
|
||||
In this section you will find details of system requirements, minor and major software installations and Python dependencies that are required before you can begin to build CARLA.
|
||||
### System requirements
|
||||
|
||||
* __x64 system.__ The simulator should run in any 64 bits Windows system.
|
||||
* __30GB disk space.__ Installing all the software needed and CARLA will require quite a lot of space. Make sure to have around 30/50GB of free disk space.
|
||||
* __An adequate GPU.__ CARLA aims for realistic simulations, so the server needs at least a 4GB GPU. A dedicated GPU is highly recommended for machine learning.
|
||||
* __Two TCP ports and good internet connection.__ 2000 and 2001 by default. Be sure neither the firewall nor any other application are blocking these.
|
||||
* __165 GB disk space.__ CARLA itself will take around 32 GB and the related major software installations (including Unreal Engine) will take around 133 GB.
|
||||
* __An adequate GPU.__ CARLA aims for realistic simulations, so the server needs at least a 6 GB GPU though we would recommend 8 GB. A dedicated GPU is highly recommended for machine learning.
|
||||
* __Two TCP ports and good internet connection.__ 2000 and 2001 by default. Make sure that these ports are not blocked by firewalls or any other applications.
|
||||
|
||||
---
|
||||
## Necessary software
|
||||
### Minor installations
|
||||
### Software requirements
|
||||
|
||||
#### Minor installations
|
||||
|
||||
* [__CMake__](https://cmake.org/download/) generates standard build files from simple configuration files.
|
||||
* [__Git__](https://git-scm.com/downloads) is a version control system to manage CARLA repositories.
|
||||
* [__Make__](http://gnuwin32.sourceforge.net/packages/make.htm) generates the executables.
|
||||
* [__Python3 x64__](https://www.python.org/downloads/) is the main script language in CARLA. Having a x32 version installed may cause conflict, so it is highly advisable to have it uninstalled.
|
||||
* [__Python3 x64__](https://www.python.org/downloads/) is the main scripting language in CARLA. Having a x32 version installed may cause conflict, so it is highly advisable to have it uninstalled.
|
||||
|
||||
!!! Important
|
||||
Be sure that these programs are added to the [environment path](https://www.java.com/en/download/help/path.xml). Remember that the path added leads to the _bin_ directory.
|
||||
Be sure that the above programs are added to the [environment path](https://www.java.com/en/download/help/path.xml). Remember that the path added should correspond to the progam's `bin` directory.
|
||||
#### Python dependencies
|
||||
|
||||
Run the following command to install the dependencies for the Python API client:
|
||||
|
||||
### Visual Studio 2017
|
||||
pip3 install --user setuptools
|
||||
|
||||
Get the 2017 version from [here](https://developerinsider.co/download-visual-studio-2017-web-installer-iso-community-professional-enterprise/). __Community__ is the free version. Use the _Visual Studio Installer_ to install two additional elements.
|
||||
#### Major installations
|
||||
##### Visual Studio 2017
|
||||
|
||||
* __Windows 8.1 SDK.__ Select it in the _Installation details_ section on the right.
|
||||
* __x64 Visual C++ Toolset.__ In the _Workloads_ section, choose __Desktop development with C++__. This will enable a x64 command prompt that will be used for the build. Check it up by pressing the `Win` button and searching for `x64`. Be careful to __not open a `x86_x64` prompt__.
|
||||
Get the 2017 version of Visual Studio from [here](https://developerinsider.co/download-visual-studio-2017-web-installer-iso-community-professional-enterprise/). Choose __Community__ for the free version. Use the _Visual Studio Installer_ to install three additional elements:
|
||||
|
||||
* __Windows 8.1 SDK.__ Select it in the _Installation details_ section on the right or go to the _Indivdual Components_ tab and look under the _SDKs, libraries, and frameworks_ heading.
|
||||
* __x64 Visual C++ Toolset.__ In the _Workloads_ section, choose __Desktop development with C++__. This will enable a x64 command prompt that will be used for the build. Check that it has been installed correctly by pressing the `Windows` button and searching for `x64`. Be careful __not to open a `x86_x64` prompt__.
|
||||
* __.NET framework 4.6.2__. In the _Workloads_ section, choose __.NET desktop development__ and then in the _Installation details_ panel on the right, select `.NET Framework 4.6.2 development tools`. This is required to build Unreal Engine.
|
||||
|
||||
!!! Important
|
||||
Other Visual Studio versions may cause conflict. Even if these have been uninstalled, some registers may persist. To completely clean Visual Studio from the computer, go to `Program Files (x86)\Microsoft Visual Studio\Installer\resources\app\layout` and run `.\InstallCleanup.exe -full`
|
||||
|
||||
### Unreal Engine
|
||||
##### Unreal Engine
|
||||
|
||||
Since CARLA 0.9.11, we have included some fixes to the engine that requires to modify it so it is no longer possible to use the Unreal Engine version provided by Epic Games Launcher. To build this modified version, we need to download the engine's code from source and then apply some patches that we provide. Be aware that to download the Unreal Engine's source code, you need to have a Github account linked to the Unreal's account. If you do not have it, please follow [this guide](https://www.unrealengine.com/en-US/ue4-on-github) before going any further.
|
||||
From CARLA 0.9.11 onwards we have included fixes to Unreal Engine that require modification to the engine itself. This means that it is no longer possible to use the Unreal Engine version provided by Epic Games Launcher with CARLA and instead we need to build a modified version.
|
||||
|
||||
* __1.__ Open a terminal, go to the folder in which you want to save Unreal Engine and, clone the 4.24 branch on your computer.
|
||||
```cmd
|
||||
git clone --depth=1 -b 4.24 https://github.com/EpicGames/UnrealEngine.git
|
||||
```
|
||||
To build the modified version, follow the commands listed below to download the engine's code from source and apply the patches that we provide. Be aware that to download Unreal Engine's source code, __you need to have a GitHub account linked to Unreal Engine's account__. If you don't have this set up, please follow [this guide](https://www.unrealengine.com/en-US/ue4-on-github) before going any further.
|
||||
|
||||
!!! Note
|
||||
Keep it as close as `C://` as you can because if the path exceeds certain longitude __Setup.bat__ will return errors in step __3__.
|
||||
To build the modified version of Unreal Engine:
|
||||
|
||||
* __2.__ Inside the engine's source folder, we need to download our patch and apply it.
|
||||
```cmd
|
||||
cd UnrealEngine
|
||||
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://carla-releases.s3.eu-west-3.amazonaws.com/Backup/UE4_patch_wheels.patch', 'UE4_patch_wheels.patch')"
|
||||
git apply UE4_patch_wheels.patch
|
||||
```
|
||||
1. In a terminal, navigate to the location you want to save Unreal Engine and clone the 4.24 branch:
|
||||
|
||||
* __3.__ Run the configuration scripts.
|
||||
```cmd
|
||||
Setup.bat
|
||||
GenerateProjectFiles.bat
|
||||
```
|
||||
git clone --depth=1 -b 4.24 https://github.com/EpicGames/UnrealEngine.git
|
||||
|
||||
* __4.__ Now, we need to compile the engine. Open the __UE4.sln__ file inside the source folder with Visual Studio (Epic recommends 2017 or 2019 versions). Make sure that in the build bar, it is selected the 'Development Editor', 'Win64' and, 'UnrealBuildTool' options. Check [this guide](https://docs.unrealengine.com/en-US/ProductionPipelines/DevelopmentSetup/BuildingUnrealEngine/index.html) if you need any help. Then, in the solution explorer, right-click in __UE4__ and select __Build__.
|
||||
|
||||
* __5.__ Once the solution is compiled you can open the engine to check that everything was correct launching the executable `Engine\Binaries\Win64\UE4Editor.exe`.
|
||||
!!! Note
|
||||
Keep the Unreal Engine folder as close as `C:\\` as you can because if the path exceeds a certain length then `Setup.bat` will return errors in step 3.
|
||||
|
||||
!!! Note
|
||||
If the installation was successful, this should be recognised by the Unreal Engine's version
|
||||
selector and when you use __Switch Unreal Engine version__ when right-clicking on __.uproject__ files, it should appear as __Source Build at PATH__ where PATH is the installation path that you have chosen. If you can not see this selector or the __Generate Visual Studio project files__ when you right-click on __.uproject__ files, something went wrong with the UE4 installation and probably you need to reinstall it correctly.
|
||||
2. Inside Unreal Engine's source folder, download the patch and apply it:
|
||||
|
||||
---
|
||||
## CARLA build
|
||||
cd UnrealEngine
|
||||
powershell -Command "(New-Object System.Net.WebClient).DownloadFile('https://carla-releases.s3.eu-west-3.amazonaws.com/Backup/UE4_patch_wheels.patch', 'UE4_patch_wheels.patch')"
|
||||
git apply UE4_patch_wheels.patch
|
||||
|
||||
|
||||
3. Run the configuration scripts:
|
||||
|
||||
Setup.bat
|
||||
GenerateProjectFiles.bat
|
||||
|
||||
4. Compile the modified engine:
|
||||
|
||||
1. Open the `UE4.sln` file inside the source folder with Visual Studio 2017.
|
||||
|
||||
2. In the build bar ensure that you have selected 'Development Editor', 'Win64' and 'UnrealBuildTool' options. Check [this guide](https://docs.unrealengine.com/en-US/ProductionPipelines/DevelopmentSetup/BuildingUnrealEngine/index.html) if you need any help.
|
||||
|
||||
3. In the solution explorer, right-click `UE4` and select `Build`.
|
||||
|
||||
5. Once the solution is compiled you can open the engine to check that everything was correct by launching the executable `Engine\Binaries\Win64\UE4Editor.exe`.
|
||||
|
||||
!!! Note
|
||||
If the installation was successful, this should be recognised by Unreal Engine's version selector. You can check this by right-clicking on any `.uproject` file and selecting `Switch Unreal Engine version`. You should see a pop-up showing `Source Build at PATH` where PATH is the installation path that you have chosen. If you can not see this selector or the `Generate Visual Studio project files` when you right-click on `.uproject` files, something went wrong with the Unreal Engine installation and you will likely need to reinstall it correctly.
|
||||
|
||||
!!! Important
|
||||
Lots of things have happened so far. It is highly advisable to restart the computer.
|
||||
A lot has happened so far. It is highly advisable to restart the computer before continuing.
|
||||
|
||||
### Clone repository
|
||||
---
|
||||
## Part Two: Build CARLA
|
||||
|
||||
### Clone the CARLA repository
|
||||
|
||||
<div class="build-buttons">
|
||||
<p>
|
||||
|
@ -140,86 +119,150 @@ selector and when you use __Switch Unreal Engine version__ when right-clicking o
|
|||
</p>
|
||||
</div>
|
||||
|
||||
The official repository of the project. Either download and extract it or clone it using the following command line in a **x64 terminal**.
|
||||
The button above will take you to the official repository of the project. Either download from there and extract it or clone it using the following command:
|
||||
|
||||
```cmd
|
||||
git clone https://github.com/carla-simulator/carla
|
||||
```
|
||||
|
||||
Now the latest content for the project, known as `master` branch in the repository, has been copied in local.
|
||||
git clone https://github.com/carla-simulator/carla
|
||||
|
||||
!!! Note
|
||||
The `master` branch contains the latest fixes and features. Stable code is inside the `stable` and previous CARLA versions have their own branch. Always remember to check the current branch in git with the command `git branch`.
|
||||
The `master` branch contains the latest fixes and features. Stable code is in the `stable` branch and previous CARLA versions have their own branch. Always remember to check the current branch in git with the command `git branch`.
|
||||
|
||||
### Get assets
|
||||
|
||||
Only the assets package is yet to be downloaded. `\Util\ContentVersions.txt` contains the links to the assets for CARLA releases. These must be extracted in `Unreal\CarlaUE4\Content\Carla`. If the path doesn't exist, create it.
|
||||
Download the __latest__ assets to work with the current version of CARLA:
|
||||
|
||||
Download the __latest__ assets to work with the current version of CARLA.
|
||||
1. From the root CARLA directory, navigate to `\Util\ContentVersions.txt`. This document contains the links to the assets for all CARLA releases.
|
||||
2. Extract the assets in `Unreal\CarlaUE4\Content\Carla`. If the path doesn't exist, create it.
|
||||
3. Extract the file with a command similar to the following:
|
||||
|
||||
### Set the environment variable
|
||||
tar -xvzf <assets_file_name>.tar.gz.tar -C C:\path\to\carla\Unreal\CarlaUE4\Content\Carla
|
||||
|
||||
This is necessary for CARLA to find the Unreal Engine installation folder. By doing so, users can choose which specific version of Unreal Engine is to be used. If no environment variable is specified, the CARLA will look up in the directories and use the last version in search order.
|
||||
### Set Unreal Engine environment variable
|
||||
|
||||
__1. Open the Windows Control Panel__ and go to `Advanced System Settings`.
|
||||
__2. On the `Advanced` panel__ open `Environment Variables...`.
|
||||
__3. Click `New...`__ to create the variable.
|
||||
__4. Name the variable as `UE4_ROOT`__ and choose the path to the installation folder of the desire UE4 installation.
|
||||
It is necessary to set an environment variable so that CARLA can find the Unreal Engine installation folder. This allows users to choose which specific version of Unreal Engine is to be used. If no environment variable is specified, then CARLA will search for Unreal Engine in the windows registry and use the first version it finds there.
|
||||
|
||||
To set the environment variable:
|
||||
|
||||
1. Open Windows Control Panel and go to `Advanced System Settings` or search for `Advanced System Settings` in the Windows search bar.
|
||||
2. On the `Advanced` panel open `Environment Variables...`.
|
||||
3. Click `New...` to create the variable.
|
||||
4. Name the variable `UE4_ROOT` and choose the path to the installation folder of the desired UE4 installation.
|
||||
|
||||
|
||||
### make CARLA
|
||||
### Build CARLA
|
||||
|
||||
The last step is to finally build CARLA. There are different `make` commands to build the different modules. All of them run in the root CARLA folder.
|
||||
This section outlines the commands to build CARLA.
|
||||
|
||||
!!! Warning
|
||||
Make sure to run `make PythonAPI` to prepare the client and `make launch` for the server.
|
||||
Alternatively `make LibCarla` will prepare the CARLA library to be imported anywhere.
|
||||
- All commands should be run in the root CARLA folder.
|
||||
- Commands should be executed via the __x64 Native Tools Command Prompt for VS 2017__. Open this by clicking the `Windows` key and searching for `x64`.
|
||||
|
||||
* __make PythonAPI__ compiles the API client, necessary to grant control over the simulation. It is only needed the first time. Remember to run it again when updating CARLA. Scripts will be able to run after this command is executed.
|
||||
```sh
|
||||
make PythonAPI
|
||||
```
|
||||
There are two parts to the build process for CARLA, compiling the client and compiling the server.
|
||||
|
||||
* __make launch__ compiles the server simulator and launches Unreal Engine. Press **Play** to start the spectator view and close the editor window to exit. Camera can be moved with `WASD` keys and rotated by clicking the scene while moving the mouse around.
|
||||
```sh
|
||||
make launch
|
||||
```
|
||||
The project may ask to build other instances such as `UE4Editor-Carla.dll` the first time. Agree in order to open the project. During the first launch, the editor may show warnings regarding shaders and mesh distance fields. These take some time to be loaded and the city will not show properly until then.
|
||||
1. __Compile the Python API client__:
|
||||
|
||||
The Python API client grants control over the simulation. Compilation of the Python API client is required the first time you build CARLA and again after you perform any updates. After the client is compiled, you will be able to run scripts to interact with the simulation.
|
||||
|
||||
The following command compiles the Python API client:
|
||||
|
||||
make PythonAPI
|
||||
|
||||
__Note that when the compilation is done, you may see a successful output in the terminal even if the compilation of the Python API client was unsuccessful.__ Check for any errors in the terminal output and check that a `.egg` file exists in `PythonAPI\carla\dist`. If you come across any errors, check the [F.A.Q.](build_faq.md) or post in the [CARLA forum](https://forum.carla.org/c/installation-issues/linux).
|
||||
|
||||
|
||||
Finally, let's test the simulator. Inside `PythonAPI/examples` and `PythonAPI/util` there are some example scripts that may be especially useful for starters. The following commands will spawn some life into the town, and create a weather cycle. Each script should be run in one terminal
|
||||
2. __Compile the server__:
|
||||
|
||||
```sh
|
||||
# Terminal A
|
||||
cd PythonAPI/examples
|
||||
python3 spawn_npc.py
|
||||
# Terminal B
|
||||
cd PythonAPI/examples
|
||||
python3 dynamic_weather.py
|
||||
# The PythonAPI will be built based on the installed Python version, but the docs will use Python3 by default.
|
||||
```
|
||||
The following command compiles and launches Unreal Engine. Run this command each time you want to launch the server or use the Unreal Engine editor:
|
||||
|
||||
make launch
|
||||
|
||||
The project may ask to build other instances such as `UE4Editor-Carla.dll` the first time. Agree in order to open the project. During the first launch, the editor may show warnings regarding shaders and mesh distance fields. These take some time to be loaded and the map will not show properly until then.
|
||||
|
||||
3. __Start the simulation__:
|
||||
|
||||
Press **Play** to start the server simulation. The camera can be moved with `WASD` keys and rotated by clicking the scene while moving the mouse around.
|
||||
|
||||
Test the simulator using the example scripts inside `PythonAPI\examples`. With the simulator running, open a new terminal for each script and run the following commands to spawn some life into the town and create a weather cycle:
|
||||
|
||||
|
||||
|
||||
# Terminal A
|
||||
cd PythonAPI\examples
|
||||
pip install -r requirements.txt
|
||||
python3 spawn_npc.py
|
||||
|
||||
# Terminal B
|
||||
cd PythonAPI\examples
|
||||
python3 dynamic_weather.py
|
||||
|
||||
!!! Note
|
||||
If you encounter the error `ModuleNotFoundError: No module named 'carla'` while running a script, you may be running a different version of Python than the one used to install the client. Go to `PythonAPI\carla\dist` and check the version of Python used in the `.egg` file.
|
||||
|
||||
|
||||
!!! Important
|
||||
If the simulation is running at very low FPS rates, go to `Edit/Editor preferences/Performance` in the UE editor and disable __Use less CPU when in background__.
|
||||
If the simulation is running at a very low FPS rate, go to `Edit -> Editor preferences -> Performance` in the Unreal Engine editor and disable `Use less CPU when in background`.
|
||||
|
||||
Now CARLA is ready to go. Here is a brief summary of the most useful `make` commands available.
|
||||
### Other make commands
|
||||
|
||||
There are more `make` commands that you may find useful. Find them in the table below:
|
||||
|
||||
| Command | Description |
|
||||
| ------- | ------- |
|
||||
| `make help` | Prints all available commands. |
|
||||
| `make launch` | Launches CARLA server in Editor window. |
|
||||
| `make PythonAPI` | Builds the CARLA client. |
|
||||
| `make LibCarla` | Prepares the CARLA library to be imported anywhere. |
|
||||
| `make package` | Builds CARLA and creates a packaged version for distribution. |
|
||||
| `make clean` | Deletes all the binaries and temporals generated by the build system. |
|
||||
| `make rebuild` | `make clean` and `make launch` both in one command. |
|
||||
|
||||
|
||||
|
||||
---
|
||||
|
||||
## Summary
|
||||
|
||||
Below is a summary of the requirements and commands needed to build CARLA on Windows:
|
||||
|
||||
# Make sure to meet the minimum requirements:
|
||||
#
|
||||
# x64 system
|
||||
# 165 GB disk space
|
||||
# 6 - 8 GB GPU
|
||||
# Two TCP ports and good internet connection
|
||||
|
||||
# Necessary software:
|
||||
# CMake
|
||||
# Git
|
||||
# Make
|
||||
# Python3 x64
|
||||
# Modified Unreal Engine 4.24
|
||||
# Visual Studio 2017 with Windows 8.1 SDK, x64 Visual C++ Toolset and .NET framework 4.6.2
|
||||
|
||||
# Set environment variables for the software
|
||||
|
||||
# Clone the CARLA repository
|
||||
git clone https://github.com/carla-simulator/carla
|
||||
|
||||
# Get assets
|
||||
# Set UE4_ROOT environment variable
|
||||
|
||||
# make the CARLA client and the CARLA server
|
||||
# open the x64 Native Tools Command Prompt for VS 2017 to execute the following commands
|
||||
make PythonAPI
|
||||
make launch
|
||||
|
||||
# Press play in the Editor to initialize the server
|
||||
# Run example scripts to test CARLA
|
||||
# Terminal A
|
||||
cd PythonAPI\examples
|
||||
pip install -r requirements.txt
|
||||
python3 spawn_npc.py
|
||||
# Terminal B
|
||||
cd PythonAPI\examples
|
||||
python3 dynamic_weather.py
|
||||
|
||||
Read the **[F.A.Q.](build_faq.md)** page or post in the [CARLA forum](https://forum.carla.org/c/installation-issues/linux) for any issues regarding this guide.
|
||||
|
||||
Some recommendations after finishing the build. Learn how to update the CARLA build or take your first steps in the simulation, and learn some core concepts.
|
||||
Now that you have built CARLA, learn how to update the CARLA build or take your first steps in the simulation, and learn some core concepts.
|
||||
|
||||
<div class="build-buttons">
|
||||
|
||||
<p>
|
||||
|
|
Loading…
Reference in New Issue