This repo contains the final project of the Udacity concurrent programming course.
The purpose of this project was to develop a traffic simulation in which vehicles are moving along streets and are crossing intersections. The last phase was to equip each section with traffic lights and to build a suitable and thread-safe communication protocol between vehicles and intersections to complete the simulation.
- compiler support for C++17 (gcc/g++ >= 5.4).
- cmake >= 3.11
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- OpenCV library => 4.1
git clone https://github.com/Agnieszka1994/Traffic-Simulation
cd Traffic-Simulation/
mkdir build && cd build/
cmake ..
make