Skip to content

Latest commit

 

History

History
60 lines (39 loc) · 751 Bytes

File metadata and controls

60 lines (39 loc) · 751 Bytes

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