https://github.com/kimangkhenng/traffic-simulation-and-visualization
Traffic Intersection Simulation Using C++ and Qt
https://github.com/kimangkhenng/traffic-simulation-and-visualization
artificial-intelligence c-plus-plus cpp intersection-simulation qt5 traffic-flow-modelling traffic-simulation
Last synced: 11 months ago
JSON representation
Traffic Intersection Simulation Using C++ and Qt
- Host: GitHub
- URL: https://github.com/kimangkhenng/traffic-simulation-and-visualization
- Owner: KimangKhenng
- License: gpl-3.0
- Created: 2019-10-18T16:52:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2025-02-10T18:25:21.000Z (about 1 year ago)
- Last Synced: 2025-03-30T12:33:53.260Z (12 months ago)
- Topics: artificial-intelligence, c-plus-plus, cpp, intersection-simulation, qt5, traffic-flow-modelling, traffic-simulation
- Language: C++
- Homepage:
- Size: 15.7 MB
- Stars: 42
- Watchers: 6
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Road Intersection Simulation and Visulization

[](https://www.gnu.org/licenses/gpl-3.0) 

I've decided to open-source this source code under **GPLv3(GNU General Public License, version 3)** after my graduation from the university.
This is an intersection simulation software capable of generating the arriving vehicles in many varying controllable rates. The vehicle behavior can be changed in realtime in the following mode:
whether to respect the traffic lights' existence, treat front vehicles as invisible or not.
**Demo** : https://www.youtube.com/watch?v=yKl4c4eQUy8
```sh
$ git clone https://github.com/KimangKhenng/Traffic-SImulation-and-Visualization.git
```
## Gallery

## Tested Systems
I have complied the source code and test on the following systems:
* Windows 10 20H2 19042
* macOS Big Sur 11.2.1
* Ubuntu 20.04.2 LTS
## Build Instructions
RISV requires [Qt 5.0.0+](https://download.qt.io/archive/qt/) to to complie and run. The source code can be compiled using one of these options.
#### Clone the source code
```sh
$ git clone https://github.com/KimangKhenng/Traffic-SImulation-and-Visualization.git
```
### Quick Run on Windows, Mac, and Linux with Qt Creator
- Open the project with Qt Creator.
- Configure project with either MinGW or Visual Compiler
- Run
### Manually Build Release on Windows with MingGW
Make sure you add ***Qt/5.XX/mingw/mingwXXX_64/bin/*** and **Qt/Tools/mingwXXX_64/bin/** to your **PATH** in system environment variables.
```sh
$ cd Traffic-SImulation-and-Visualization
$ qmake
$ mingw32-make
$ mingw32-make clean
$ cd release
$ windeployqt --quick --no-translations .
```
## Contributors
- **KimAng Kheang**, TFD ( Software Architect, AI Developer)
- **Sokchea Kor**, ITED, FE, RUPP ( Advisor, Initiator)
Interested in becoming one of the contributors? Wanna take part in our community? Send me an email detaling how you would like to add features, fixe certain part, or whatever on your mind to kimangkheang@gmail.com
## Acknowledgement
[](https://www.rupp.edu.kh/fe/) [](https://www.rupp.edu.kh/) [](https://www.youtube.com/c/TeachingForDevelopment)
- Thanks to **endrll** for providing [CQtDeployer](https://github.com/QuasarApp/CQtDeployer) packaging system to ship this software in production.
- Thanks to **jurplel** for providing [install-qt-action](https://github.com/jurplel/install-qt-action) that helps us in creating automating build process.