The Intersection Control Algorithm is made to minimize the time you need to wait for the light to turn green.
Branch: V2.0
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.
__pycache__
Intersection-Control.con.xml
Intersection-Control.edg.xml
Intersection-Control.net.xml
Intersection-Control.netccfg
Intersection-Control.nod.xml
Intersection-Control.rou.xml
Intersection-Control.sumocfg
LICENSE
README.md
data.csv
random_spawn.py
random_spawn.rou.xml
run.py
style.mplstyle
traffic_light.py
traffic_time.py
viewsettings.xml
visual.py

README.md

Intersection Control Algorithm

Algorithm made to minimize the time you need to wait for the light to turn green by advising a speed to the vehicle.

See the site

Dependencies

Optional for data visualization

Setup

  1. Install SUMO
  2. Make sure the path to the SUMO-GUI is in your environment variables
  3. Search for the traci and sumolib folders in path/to/sumo/tools on windows and /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages on macOS
  4. Copy the folders to your python site-packages folder
  5. Download this repository

Start the simulation

...

Make a graph

...