- Notifications
You must be signed in to change notification settings - Fork0
Immersive Attys HRV biofeedback app for the Oculus Quest 2
License
glasgowneuro/AttysHRV
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
An immersive heartrate variability (HRV) biofeedback app for the Oculus Quest 2 and theAttys to de-stress.
The app turns the heartrate into a seaside animation where the idea isthat a relaxed person has a regular physiological heartrate variabilitywhich creates large regular waves in the animation. The person can usedeep breathing to create these and in turn relax.
The high precision bioamplifierAttys isused to record the ECG in realtime and the Oculus then detectswith high precision the heartbeats and calculates the heartrate.
The app is written in C++ using the openXR / openGL frameworkwhich allows realtime processing and animation of the ECGin the headset.
- Change into
AttysHRV/app/src/main/cpp
and clone the IIR filter library and the spline interpolation library:
git clone https://github.com/berndporr/iir1.gitgit clone https://github.com/berndporr/cxx-spline.git
Download theOculus openXR API, createa subdirectory
ovr_openxr_mobile_sdk
and unzip the contents of the openxr SDK into it.Edit
app/src/main/cpp/CMakeLists.txt
and point it to the openXR API:set(OCULUS_OPENXR_MOBILE_SDK /home/yourname/ovr_openxr_mobile_sdk)
CloneAttysComm and modify
app/build.gradle
so that it pointsto AttysComm.
Start Android Studio, open AttysHRV and clickrun
.
About
Immersive Attys HRV biofeedback app for the Oculus Quest 2