Skip to content

C++ based multithreaded traffic simulator using a real urban map. Each vehicle runs on a separate thread, and intersections facilitate traffic flow and avoid collisions.

Notifications You must be signed in to change notification settings

kforkaran/Concurrent-Traffic-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent-Traffic-Simulation

A multithreaded traffic simulator using a real urban map. Each vehicle runs on a separate thread and intersections are managed to facilitate traffic flow and avoid collisions.

The schematic's of the project:

Dependencies for running locally

  • cmake >= 2.8
  • make >= 4.1 (linux, Mac), 3.81 (Windows)
  • OpenCV >= 4.1
  • gcc/g++ >= 5.4

Build Instructions

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

About

C++ based multithreaded traffic simulator using a real urban map. Each vehicle runs on a separate thread, and intersections facilitate traffic flow and avoid collisions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published