Skip to content

FediSalhi/Traffic_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic Simulator

This project is a traffic simulation in which vehicles are moving along streets and are crossing intersections equipped with a traffic light. The project was built for the Udacity C++ Nanodegree Program fourth course as an application of C++ concurrent programming techniques, such as:

  • Message queues
  • Locks
  • Mutexes
  • Condition variables
  • Threads and tasks

Dependencies (Linux)

  1. Cmake and GCC:
    sudo apt update
    sudo apt install build-essential
    sudo apt install cmake
  1. OpenCV >= 4.1 Library Follow this tutorial to install OpenCV library.

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.

Authors

About

Traffic Simulator C++ Nano Degree Project

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published