pylot

(β˜… 535)

Modular autonomous driving platform running on the CARLA simulator and real-world vehicles.

  • .gitignore
  • .style.yapf
  • CHANGELOG.md
  • data_gatherer.py
  • install.sh
  • LICENSE
  • lincoln.py
  • pylot.py
  • README.md
  • requirements.txt
  • setup.py

# Installation Guide

1. Get the code
git clone https://github.com/erdos-project/pylot

Downloads the entire project code from GitHub to your computer.

cd pylot

Moves into the project folder you just downloaded.

2. Docker

Easy Recommended
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
We provide a Docker image with both Pylot and CARLA already setup.

Type this command into your terminal and run it.

cd docker

Moves into the project folder you just downloaded.

docker pull erdosproject/pylot-carla-challenge

Type this command into your terminal and run it.

nvidia-docker run -itd --name pylot-challenge -p 20022:22 erdosproject/pylot-carla-challenge /bin/bash

Runs the built image as an actual container.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

Pulled directly from this repo's README.

3. Python

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Python 3 On Windows, be sure to check 'Add Python to PATH' during installation.
cd ${LEADERBOARD_ROOT} ; pip3 install -r requirements.txt ; cd ${CHALLENGE_ROOT}

Moves into the project folder you just downloaded.

cd ${SCENARIO_RUNNER_ROOT} ; pip3 install -r requirements.txt ; cd ${CHALLENGE_ROOT}

Moves into the project folder you just downloaded.

βœ… If it runs without errors and prints output in the terminal, it worked.

Pulled directly from this repo's README.

4. Make

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
cd doc

This project's files live in a subfolder, so move into it first.

make

Compiles the code based on the generated build configuration to produce an executable.

βœ… If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation