Skip to content

jonathanung/AutoStop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Autostop

This project is a simulation of a self-driving car in the CARLA simulator. It is a simple implementation of a self-driving car that can navigate a course without hitting any obstacles.

Read more about CARLA here.

Install CARLA following the instructions here.

Setup

  1. Run the CARLA server and set environment variables: In your .env file,

    SERVER_HOST=<CARLA server host>
    SERVER_PORT=<CARLA server port>
    MAP_NAME=<CARLA map name>
    VEHICLE_BP=<CARLA vehicle blueprint name>
    VEHICLE_INDEX=<CARLA vehicle index>
    

    For example,

    SERVER_HOST=localhost
    SERVER_PORT=2000
    MAP_NAME=Town01
    VEHICLE_BP=vehicle.tesla.model3
    VEHICLE_INDEX=0
    

    To run the CARLA server, search the instructions here.

  2. Install the necessary dependencies:

    pip install -r requirements.txt
  3. Run the main script:

    python main.py

About

AutoStop Agent for CARLA 0.9.15

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages