# Installation

{% hint style="info" %}
Starting from Fall 2023, ROAR Competition will be running on Monza Map with the ROAR\_PY repository as the reference code base.

You can download Monza Map executables [here](https://roar.berkeley.edu/monza-map/) (Windows AMD64)
{% endhint %}

<figure><img src="https://3509930574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbXTiFGSnQjqCiJ4czjd4%2Fuploads%2Fk8Ct6JKgTgzgjsk4mAqq%2Fmonza-map.webp?alt=media&#x26;token=2d532106-0a44-4305-acfe-d40d7f45c76c" alt="" width="563"><figcaption><p>A screenshot of Monza Map V1.1</p></figcaption></figure>

## Installing ROAR\_PY

{% hint style="info" %}
If you want a clean installation of the competition suite, maybe you will want to name your conda environments differently. We suggest using a separate roar\_competition conda environment with python 3.8 to run your competition codes.

Specifically, run `conda create -n roar_competition python=3.8` first then run `conda activate roar_competition`, then run commands specified in the interface/carla implementation installation commands in the sections below
{% endhint %}

Now follow instructions described in&#x20;

{% content-ref url="https://app.gitbook.com/s/RNhgbMBKC4oJxk48MI9Y/interface-installation" %}
[Interface Installation](https://app.gitbook.com/s/RNhgbMBKC4oJxk48MI9Y/interface-installation)
{% endcontent-ref %}

{% content-ref url="https://app.gitbook.com/s/RNhgbMBKC4oJxk48MI9Y/implementation-installation/carla-installation" %}
[Carla Installation](https://app.gitbook.com/s/RNhgbMBKC4oJxk48MI9Y/implementation-installation/carla-installation)
{% endcontent-ref %}

{% hint style="info" %}
You need to install both the ROAR\_PY interface and the Carla implementation layers.
{% endhint %}

As an additional version check, make sure your Carla PythonAPI's version is 0.9.12 by running

```sh
pip3 install carla==0.9.12
```

## Cloning down competition skeletons

Now open up [https://github.com/augcog/ROAR\_Competition](https://github.com/augcog/ROAR_Competition) in your browser and click on the "fork" button.&#x20;

<figure><img src="https://3509930574-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbXTiFGSnQjqCiJ4czjd4%2Fuploads%2FUQHhcjDWp5EcJ8D1GI4f%2Ffork_repo.webp?alt=media&#x26;token=f251ed2a-1397-4f2d-9b0c-92f3c754ac9b" alt="" width="563"><figcaption><p>Click on the "fork" button in the top-right corner of the browser window</p></figcaption></figure>

After forking the ROAR\_Competition code you should have a child repository of the given skeleton code. It should have a URL that looks like this:

```
https://github.com/YOUR_USERNAME/ROAR_Competition
```

Now clone down this repository by using `git clone URL_TO_YOUR_FORKED_REPO` and start modifying the `submission.py` file.

