GithubHelp home page GithubHelp logo

gayoung / cardiacrehab Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 1.0 67.52 MB

The second version of CardioRehab project with MySQL DB instead of SQLite.

JavaScript 19.10% C# 78.91% PowerShell 1.13% Python 0.86%

cardiacrehab's Introduction

cardiacrehab's People

Contributors

gayoung avatar

Watchers

 avatar

Forkers

bholmwood

cardiacrehab's Issues

Reconnect with Unity

If the Unity application loses connection with the patient application (not sure how this would happen), unity should be able to reconnect to the patient application.

Refresh access_token

Related to #22 . Once that issues is resolved, then need to test the system until the access_token expires then handle this event smoothly.

Minimize (if not remove) packet loss

With old and new system, there are some packets being lost in transmission between the phone and the patient. Need to really test if the phone is failing to send the data or if the C# fails to receive the data or if the data is being lost in network somewhere?

Insert note to database

Currently notes made during the sessions are not inserted to the db.
Not sure if this should be encrypted in database?

Encryption

Encrypt all transimtted data!
Need to research which encryption algorithm to use.

Test with a proper web server

Currently, everything is tested with a primitive python web server. This system needs to be tested on whatever deployment server is going to be used.

Create Settings for doctor side

Not sure what would be in the setting yet but if think of stuff should be in here... most likely some will come up during clinical trials.

Turning degree calculation

Current method to get the degress from clicks/second of rotary encoder might be wrong. Or the implementation of turning in Unity might not be correct.

Phone --> patient sockets are unstable

  • Sometimes 2 out of 4 sockets connect (when call for creating the socket and waiting for connection are executed about the same time...) and then the other two won't for entire duration of the runtime
  • sometimes out of nowhere, a socket at one port would disconnect when the other 3 sockets are transmitting fine
  • often during transmission, some packets are lost (phone displays data change on UI but no UI change on C# side)

Unity Web Player template

The index.html file of the custom template has hard coded file path to the unity3d file. This needs to be changed to either:

  1. uploaded file path (upload to server later?)
  2. somehow get the path of the project and set the file path that way?

Improve ECG display

Problem with old system:
- if graph was dragged by the mouse, it stopped plotting correctly. (scaling of axis were way off)
- speed of the plot was not influenced by the heart rate (faster heart rate = faster plotting speed)
- in effort to slow down the scroll process, it caused lag in displaying ECG data. It has to be done as accurate and live stream.
- buffering issue (possibly other issues) with receiving the data from sockets. Some data packets were lost.

911 feature

Implement a feature for clinician to call 911 for the patient... this will require:

  • an interface for the clinician to initiate the 911 call
  • data sent to phone to retrieve GPS coordinates
  • display the GPS coordinates on screen and have a call button to call 911
  • be able to end conversation

Implement a improved notificationsystem

Current notification system for the doctor's side of the application is not very well designed. Think of a better way to notify the doctor if any of the patients' vitals are irregular.

Smooth out the turning process

Currently, every change of degree can be observed in unity. This makes the game a bit disorienting so only implement turns if the degree difference is larger than 5 degrees. (for example.. need to find the correct threshold.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.