Skip to content

Concurrent program that simulates vehicles moving along streets and crossing intersections.

License

Notifications You must be signed in to change notification settings

MichelleMouse/Traffic_Simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Traffic_Simulator

License: MIT macOS Atom

Welcome to the fourth project of Udacity's C++ Nanodegree!

In this project, I finalised the ongoing lesson project "Traffic Simulator". As the final project, I have implemented a message queue class and traffic lights in each intersection to make the simulator more realistic.

traffic_simulator_2.mov

Environment

👉 macOS 12.1 Monterey with Intel Core i7 chip
👉 Homebrew 3.3.5
👉 cMake 3.21.3
👉 GNU Make 3.81
👉 C++ 17
👉 Apple clang version 13.0.0
👉 OpenCV 4.1.0

Compiling and Running

Compile

Create a build folder and change to that directory

mkdir build && cd build

Within the build directory run

cmake ..
make

Running

The executable is within the build directory. You can run it as follows

./traffic_simulation

About

Concurrent program that simulates vehicles moving along streets and crossing intersections.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published