aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorCeimour <113631258+Ceimour@users.noreply.github.com>2023-04-30 08:50:18 -0500
committerGitHub <noreply@github.com>2023-04-30 15:50:18 +0200
commitc22e30a4a6ef014c7a5086ad47eaab7740a75ff2 (patch)
tree5afdf4ed624a8b41dc4aea723a8c8f38d726545a /src/CMakeLists.txt
parent40f7e1c7be6882e01058b5ccf64d5005c6105346 (diff)
Refactored Ppg for frequency based algorithm. (#1486)
New implementation of the heart rate sensor data processing using a frequency based PPG algorithm. The HRS3300 settings are fine-tuned for better signal to noise at 10Hz. The measurement delay is now set to 100ms. Enable and use the ambient light sensor. FFT implementation based on ArduinoFFT (https://github.com/kosme/arduinoFFT, GPLv3.0).
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 574a0ad5..6f022e46 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -488,10 +488,8 @@ list(APPEND SOURCE_FILES
drivers/TwiMaster.cpp
heartratetask/HeartRateTask.cpp
- components/heartrate/Ppg.cpp
- components/heartrate/Biquad.cpp
- components/heartrate/Ptagc.cpp
components/heartrate/HeartRateController.cpp
+ components/heartrate/Ppg.cpp
buttonhandler/ButtonHandler.cpp
touchhandler/TouchHandler.cpp
@@ -552,8 +550,7 @@ list(APPEND RECOVERY_SOURCE_FILES
components/heartrate/HeartRateController.cpp
heartratetask/HeartRateTask.cpp
components/heartrate/Ppg.cpp
- components/heartrate/Biquad.cpp
- components/heartrate/Ptagc.cpp
+
components/motor/MotorController.cpp
components/fs/FS.cpp
buttonhandler/ButtonHandler.cpp
@@ -666,9 +663,10 @@ set(INCLUDE_FILES
drivers/TwiMaster.h
heartratetask/HeartRateTask.h
components/heartrate/Ppg.h
- components/heartrate/Biquad.h
- components/heartrate/Ptagc.h
components/heartrate/HeartRateController.h
+ libs/arduinoFFT-develop/src/arduinoFFT.h
+ libs/arduinoFFT-develop/src/defs.h
+ libs/arduinoFFT-develop/src/types.h
components/motor/MotorController.h
buttonhandler/ButtonHandler.h
touchhandler/TouchHandler.h