Skip to content

Installation

Ishaan Paranjape edited this page Jul 25, 2023 · 2 revisions

Installation Instructions

Scripts provided here are supposed to work on the client side of the CARLA simulator. It is assumed to be installed. In addition, conda environment manager is expected to be installed.

  • Use the environment yaml file to create your conda environment: conda env create -f environment.yml from the project's root directory.
  • pip package manager is a part of this environment. Use pip to install the rest of the python packages: pip install -r requirements.txt
  • Make sure import carla works in the python scripts. The easiest way is the do pip install carla==0.9.14. If you can't find it, make sure python 3.8 is installed in your conda environment.
  • Start a CARLA server. The quickest way is to do a package install. Simply download carla 0.9.14 release zip file and double click on the .exe file in the directory.
  • Run the default scenario from this project's directory: python scenario_runner.py --scenario FollowLeadingVehicle_1 --reloadWorld
Clone this wiki locally