Skip to content

This OpenCv project is built using C++ concurrency concepts such as threads, tasks, promises and futures, mutexes and locks and condition variables. The project also implements Monitor Object design pattern.

License

Notifications You must be signed in to change notification settings

ram-ravan/Concurrent-Traffic-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Concurrent Traffic Simulation

This project is built using a suitable and thread-safe communication protocol between vehicles and intersections to complete the simulation. C++ Concurrent programming conepts(such as mutexes, locks and message queues) are used to implement the traffic lights and integrate them properly in the code base. The starter code for this project is provided by Udacity as a part of C++ nanodegree program.

Dependencies for Running Locally

Basic 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 it: ./traffic_simulation.

About

This OpenCv project is built using C++ concurrency concepts such as threads, tasks, promises and futures, mutexes and locks and condition variables. The project also implements Monitor Object design pattern.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published