Skip to content

1neskk/TrafficSimulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent Traffic Simulation

image

Project Overview

In this project, I have simulated a traffic light at an intersection using concurrent programming in C++. I have used two real urban map of the cities of New York and Paris, where the traffic lights are timed to regulate the flow of traffic through the city streets. The map data is read by the OpenCV library. The code is written in C++ and is based on the starter code provided by Udacity.

Dependencies for Running Locally

  • cmake >= 2.8
  • make >= 4.1
  • gcc/g++ >= 5.4
  • OpenCV >= 4.1

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory in the root directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./traffic_simulation.

About

Concurrent Traffic Simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published