Concurrent-Traffic-Simulation
所属分类:硬件设计
开发工具:C++
文件大小:0KB
下载次数:0
上传日期:2021-02-27 11:48:41
上 传 者:
sh-1993
说明: 一个关于并发编程的应用:Udacity C++Nanodegree Course项目,
(An application about concurrent programming : Udacity C++ Nanodegree Course project,)
文件列表:
CMakeLists.txt (523, 2021-02-27)
data/ (0, 2021-02-27)
data/nyc.jpg (3722720, 2021-02-27)
data/paris.jpg (11903059, 2021-02-27)
data/traffic_simulation.gif (2049146, 2021-02-27)
src/ (0, 2021-02-27)
src/Graphics.cpp (2553, 2021-02-27)
src/Graphics.h (766, 2021-02-27)
src/Intersection.cpp (4772, 2021-02-27)
src/Intersection.h (1856, 2021-02-27)
src/Street.cpp (573, 2021-02-27)
src/Street.h (1003, 2021-02-27)
src/TrafficLight.cpp (3176, 2021-02-27)
src/TrafficLight.h (2127, 2021-02-27)
src/TrafficObject.cpp (636, 2021-02-27)
src/TrafficObject.h (1075, 2021-02-27)
src/TrafficSimulator-Final.cpp (5631, 2021-02-27)
src/Vehicle.cpp (5027, 2021-02-27)
src/Vehicle.h (1063, 2021-02-27)
# CPPND: Program a Concurrent Traffic Simulation
![](data/traffic_simulation.gif)
This is the project for the fourth course in the [Udacity C++ Nanodegree Program](https://www.udacity.com/course/c-plus-plus-nanodegree--nd213): Concurrency.
## Dependencies for Running Locally
* cmake >= 2.8
* All OSes: [click here for installation instructions](https://cmake.org/install/)
* make >= 4.1 (Linux, Mac), 3.81 (Windows)
* Linux: make is installed by default on most Linux distros
* Mac: [install Xcode command line tools to get make](https://developer.apple.com/xcode/features/)
* Windows: [Click here for installation instructions](http://gnuwin32.sourceforge.net/packages/make.htm)
* OpenCV >= 4.1
* The OpenCV 4.1.0 source code can be found [here](https://github.com/opencv/opencv/tree/4.1.0)
* gcc/g++ >= 5.4
* Linux: gcc / g++ is installed by default on most Linux distros
* Mac: same deal as make - [install Xcode command line tools](https://developer.apple.com/xcode/features/)
* Windows: recommend using [MinGW](http://www.mingw.org/)
## 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`.
近期下载者:
相关文件:
收藏者: