- alembic
- Flask
- Flask-Restful
- SQLAlchemy
- Flask-SQLAlchemy
- Flask-Migrate
- Flask-Script
- requests
- idna
- urllib3
In this project an API for wheelchair has been implemented. The target of the API is to get different information of the wheelchair. The information is given and recieved in json format.
The project is made for the my Academic thesis - "Secured wheelchair in IoT Environment"
- Fall detection using Accelerometer data (Used threshold technique)
- Control Wheelchair
git clone https://github.com/asif001/wheelchair-api.git
- Create python virtual environment with python-3.7.3
- Install required python dependencies into your python virtual environment using
pip install -r requirements.txt
- Comment out cloud config section and uncomment local config section in
app.py
to run locally python app.py db upgrade
python app.py runserver
- Go to
http://127.0.0.1:5000/<params>
to get data for given params. The list of params are given below
- All data are sent and received in json format
- status -- To send and receive whhelchair status
- POST: {"Accelerometer": accelerometer_data}
- GET: {"Accelerometer": .. , "FallStatus": ..}
- direction -- Control wheelchair in different direction
- POST: {"direction": direction_to_go}
- GET: {"direction": ..}
- trigger -- Trigger when a fall is detected
- POST: {"isTriggered": boolean_trigger_data}
- GET: {"isTriggered": ..}
- restart -- Reset all values to default
- GET: {"isTriggered": .. , "fall_status": .., "Accelerometer": ..}
The main reason to publish something open source, is that anyone can just jump in and start contributing to my project. So If you'd like to contribute, please fork the repository and use a feature branch. Pull requests are warmly welcome.
Asifur Rahman [email protected] Student at Department of Computer Science and Engineering Khulna University of Engineering & Technology, Khulna Bangladesh