Skip to content

fynnwilliam/Trafic-Simulation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Concurrent Traffic Simulation

This is the project for the fourth course in the Udacity C++ Nanodegree Program: Concurrency.

Throughout the Concurrency course, we developed a traffic simulation in which vehicles were moving along streets and crossing intersections. However, with increasing traffic in the city, traffic lights were required for road safety. Each intersection will therefore be equipped with a traffic light. Here, we built a thread-safe communication protocol between vehicles and intersections to complete the simulation.

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

A concurrent trafic simulation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published