https://github.com/kiwijuice56/mobile-physiology-unity
Port of physiology library written in Godot
https://github.com/kiwijuice56/mobile-physiology-unity
Last synced: 7 months ago
JSON representation
Port of physiology library written in Godot
- Host: GitHub
- URL: https://github.com/kiwijuice56/mobile-physiology-unity
- Owner: kiwijuice56
- Created: 2025-01-30T07:09:03.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-03-07T13:50:04.000Z (7 months ago)
- Last Synced: 2025-03-07T14:34:33.454Z (7 months ago)
- Language: C#
- Size: 2.07 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mobile-physiology-unity
Simple port of heart rate (HR) and breathing rate (BR) calculator using gyroscope and accelerometer data originally written in Godot.
See `Assets/Scripts/Sensor.cs` for the main script. The algorithm is written in `Assets/Scripts/SignalHelper.cs`, `Assets/Scripts/HeartRateCalculator.cs`, and `Assets/Scripts/BreathingRateCalculator.cs`. These scripts require the Accord.net library (included in the plugins folder, version 3.8.0). Run `Assets/Scenes/MainScene.unity` to see the algorithm in action. Once the project is running,
wait ~30 seconds for the sensor to collect data and run the algorithm. Results will be displayed on screen.Please contact `ealfaro@mit.edu` for any questions or issues.