vishruth-v / Intelligent-Traffic-Signal

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mini-proj-traffic

Env for training and testing

Make sure sumo and sumo-gui are installed

  1. Enter conda env

    conda activate base
  2. Install pip in conda env

    conda install pip
  3. Install TraCI and Pydot

    pip install traci
    pip install pydot
  4. Make sure Graphviz is installed

    https://graphviz.gitlab.io/download/

Use Makefile to create trips and routes

  1. Convert osm to net.xml

    make osm
  2. Create trips

    make car_trips
  3. Run simulation in sumo-gui

    make sim
  4. Run python Round Robin script

    make rr
  5. Clean

    make clean

About


Languages

Language:Jupyter Notebook 88.7%Language:Python 10.9%Language:Makefile 0.3%Language:Shell 0.1%Language:Batchfile 0.0%