https://github.com/alpaylan/peer-assisted-parking
https://github.com/alpaylan/peer-assisted-parking
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/alpaylan/peer-assisted-parking
- Owner: alpaylan
- Created: 2020-10-02T13:57:32.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-26T12:06:33.000Z (over 4 years ago)
- Last Synced: 2025-01-30T01:41:50.656Z (4 months ago)
- Language: Python
- Size: 105 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Peer Assisted Parking(PAP)
## About Project
PAP is a project designed for the Ericson Innovation Awards 2020.
PAP aims to lower the congestion levels and CO2 emissions originating from on-street parking problem.
In PAP, we create a mesh network of vehicles communicating each other through V2V and C-ITS communications to notify the network of free parking spots.
We believe that this optimisation has the potential to affect metropolitan area traffic congestions in great manner.
A rough roadmap of the project is given in eia20.md file.
## Working Demo
Currently, the code adds random cars with random building as targets and the cars move one unit each epoch.
City grid is given as a command line argument such that:
`python main.py 4 3` generates a city of 3x3 with buildings of size 4x4.
Random seed is given as the 3rd command line argument for controlled experiments.
`python main.py 4 3 42` generates a simulation using random seed 42. This allows replication of car generation sequences throughout different simulations.
`a` command adds 1 car.
Number keys from `1` to `9` generate that amount of car when hit.
`q`, `ctrl+c` or `ctrl+d` command ends the simulation.
Before entering the command, please get a full sized bash window.
Project works in **python versions >= 3.7**