An open source traffic light control program
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
SUMO
data
.gitignore
LICENSE
README.md
get_data.py
k0001app.py
k0001appconf.yaml
k0001def.py
k0001func.py
k0001gui.py
k0001info.yaml
k0001rpi.py
k0001rpiconf.yaml
k0001rpifunc.py
k0001sumo.py
k0001sumoconf.yaml
k0001sumofunc.py

README.md

openTLC

An open source traffic light control program.

Background

MAPtm has started to develop a new generation of traffic light control programs: the so called openTLC programs. The concept is to optimise traffic conditions by using traffic policies and various data sources. The openTLC will be openly developed by a community of road authorities, traffic professionals and programming enthusiasts. Key words to describe an openTLC program are: open, community, uniform, transparent, safety, self-learning, modular, flexible and object-oriented programming (OOP).

Software

We use Python 3 as our programming language of choice and PyCharm as its IDE. YAML is used for the various configuration files and JSON for the APIs.

Installation guide

  1. Install Python 3
  2. Install PyCharm
  3. Open PyCharm
  4. Open the ‘openTLC’ project
  5. Make the default Python environment the project interpreter:
    • file -> settings -> project -> project interpreter
  6. Update the ‘pip’ package to the most recent version
    • double click on ‘pip’ -> specify version (most recent one) -> install package
  7. Install the ‘PyYAML’ package:
    • click on install -> search for ‘PyYAML’ - > install package