-
Notifications
You must be signed in to change notification settings - Fork 1
Setting Up Development Environment
Waley-Z edited this page Nov 9, 2022
·
1 revision
The section describes how to set up environment for both frontend and backend development.
- Currently only support Windows or Linux.
- Graphics card with at least
6GBmemory.
Referenced from quickstart - carla.
Download the pre-built packaged version from this link, download Import additional assets Each release has its own additional package of extra assets and maps. This additional package includes the maps Town06, Town07, and Town10. These are stored separately to reduce the size of the build, so they can only be imported after the main package has been installed.
-
Download the appropriate package for your desired version of CARLA.
-
Extract the package:
- On Linux: move the package to the Import folder and run the following script to extract the contents:
cd path/to/carla/root ./ImportAssets.sh- On Windows: Extract the contents directly in the root folder.
- See building carla from source for general instruction.
- Docker scripts for installing carla on ANY Linux distribution.
TODO
- Download python here. Note that currently only python3.8 is supported by the project.
- Install poetry here.
- Clone this repository.
- Instead of normal
poetry install, need to ignore Linux-only packages:poetry install --only "main, dev" - As an Administrator, set the execution policy by typing this into your PowerShell window:
Set-ExecutionPolicy RemoteSigned
- Clone and enter this repo.
- Install pyenv and
pyenv install 3.8.13 pyenv shell 3.8.13 poetry env use $(which python) poetry install
- Enter poetry environment:
poetry shell
- Try any python file inside
scriptsfolder:python scripts/pure_wizard.py