Simulating mixed traffic on different urban infrastructure layouts.
Make sure to have Python 3 (and PIP) installed. Once those are ready, run the following command from a terminal in this directory.
pip install -r requirements.txt
Run the following command to get a list of all possible commands for the simulation tool:
python main.py -h
See the experiment_scripts
folder for a list of sample execution scripts.
Run the following command to get a list of all possible commands for the playback tool:
python visualizer.py -h
The report is written in LaTeX, so you'll need to have a standard LaTeX distribution installed on your system. We recommend TeX Live. Once you have this set up, run the following commands:
cd report
python generate_listing.py
pdflatex main.tex
The compiled PDF will be placed in that same report
folder, with the name main.pdf
.
To count the total number of words in the report, run texcount -inc main.tex
from the report
directory.
danger-zone
uses a text-based map definition system. A mapping from characters to tiles can be found in danger_zone/map/tile_types.py
.