Skip to content

Latest commit

 

History

History
31 lines (23 loc) · 1.48 KB

INSTALL.md

File metadata and controls

31 lines (23 loc) · 1.48 KB

Installation

This doc provides instructions to get started.

Install CARLA

Install dependencies

  • First, inside the repo, create a dedicated conda environment. Refer here if you do not have conda.
conda env create -f environment.yaml
  • Inside the conda environment, install the CARLA PythonAPI easy_install [PATH TO CARLA EGG]. Refer to this link if you are confused at this step.
  • Setup wandb

Configure environment variables

Note: the following instructions mostly only apply to Linux.

Set the following environmental variables to your conda environment. Refer here for instructions to do so.

export CARLA_ROOT=[LINK TO YOUR CARLA FOLDER]
export LEADERBOARD_ROOT=[LINK TO WORLD ON RAILS REPO]/leaderboard
export SCENARIO_RUNNER_ROOT=[LINK TO WORLD ON RAILS REPO]/scenario_runner
export PYTHONPATH="${CARLA_ROOT}/PythonAPI/carla/":"${SCENARIO_RUNNER_ROOT}":"${LEADERBOARD_ROOT}"

Now, you can treat this conda environment the dedicated one (by defauld named world_on_rails).