worked on step-detection

This commit is contained in:
k-a-z-u
2018-07-17 17:25:01 +02:00
parent 18d237dcc8
commit 012abd5f80
3 changed files with 202 additions and 3 deletions

View File

@@ -29,8 +29,10 @@
/**
* simple step detection based on accelerometer magnitude.
* magnitude > threshold? -> step!
* block for several msec until detecting the next one
* interpolated to a fixed frequency
* passed through IIR filter
* searching for zero crossings that follow a peak value
* that is above a certain threshold
*/
class StepDetection3 {