The project goals are to develop an IoT device that can help ambulance driver ensure golden time and reduce traffic accident of ambulances by sending signals to normal drivers to secure rescue lane earlier than an ambulance approach.
Current ambulance traffic laws are focused on ‘how to reduce patient transport time’ with not missing the golden time.
For example, current existing solutions are to hire good qualified drivers or to impose high fine to lawbreakers.
However, these solutions cannot solve the fundamental problem to delay transferring patients via ambulance.
For example, in a sudden situation like an ambulance is rushing on the road, normal drivers may be embarrassed, with not moving aside to clear the lane for the ambulance to pass quickly or the drivers may not think that clearing the lane is not necessary.
This problem may result in another delay or accident.
- webOS Open Source Edition
- webOS Open Source Edition CLI
- 2 of Raspberry Pi 3 Model B (one for GPS module, another one for webOS)
- Raspberry Pi GPS Module
- python 3
- Python 3 websocket_client module
-
Follow the instructions from ares-package to ares-install from here. This will install webOS application into your Raspberry Pi device.
-
Move to the directory where this repository is cloned.
cd ~/Hackathon/LG
-
Update server information in ./raspbian.py
serverIp = "xxx.xxx.xxx.xxx" serverPort = "9999" wsUri = "ws://" + serverIp + ":" + serverPort
-
Update server information in ./ambulanceApp/websocket.js, ./ambulanceRaspbian/websocket.js, ./smartCarApp/websocket.js and ./smartCarRaspbian/websocket.js
serverIp = "xxx.xxx.xxx.xxx" serverPort = "9999" wsUri = "ws://" + serverIp + ":" + serverPort
-
Move to the directory where this repository is cloned.
cd ~/Hackathon/LG
-
Run the server.
python server.py
-
Move to the directory where this repository is cloned.
cd ~/Hackathon/LG
-
Run ./raspbian.py and then run webOS application on Raspberry Pi device.
python raspbian.py