19 Commits

Author SHA1 Message Date
jeffmer
afb4943c36 Update stepcount.c
Add DCFilter and set threshold to 15
2022-01-29 11:43:59 +00:00
Gordon Williams
19b638e9cc lower step count value to 17 based on feedback that with 18, step counting was only 95% accurate during walking: http://forum.espruino.com/conversations/359542/?offset=200#comment16366515 2022-01-24 08:42:28 +00:00
Gordon Williams
0ceb59cb3d Bangle.js: Increase step counting noise threshold 14->18 to work around pedometer fake steps (http://forum.espruino.com/conversations/371740) 2022-01-20 10:56:20 +00:00
Gordon Williams
b59ae739f6 re-use integer square root from jsutils - fixes emscripten compile 2022-01-05 16:14:51 +00:00
hughbarney
e33e118337 final config after more real world tests, better to have high walking accuracy than super low driving steps 2021-08-29 20:38:13 +01:00
hughbarney
e4c49c3977 tweaked step counter to 8 in 8, raw threshold = 17, gating and no filter threshold 2021-08-26 22:37:20 +01:00
Gordon Williams
5995c02133 More step count tweaks from http://forum.espruino.com/conversations/359542/?offset=100#comment16148292 2021-08-26 09:32:23 +01:00
Gordon Williams
ea8733c125 Added hughb's step counting state machine 2021-08-25 12:15:52 +01:00
Gordon Williams
1fb8739678 More step counter tweaking based on http://forum.espruino.com/conversations/359542/?offset=100#comment16147883
// a1bc34f9a9f5c54b9d68c3c26e973dba195e2105   HughB-walk-1834.csv  1446
// oxford filter                                                   1584
// peak detection                                                  1752
2021-08-25 11:53:41 +01:00
Gordon Williams
6bf722838f swap to simpler step filter with less ring 2021-08-19 14:41:13 +01:00
Gordon Williams
7003b2bb05 Bangle.js: Tweaked step count algorithm (low pass filter, 4 steps in 90s) 2021-08-19 13:22:37 +01:00
Gordon Williams
9c2c3738db Updated, significantly more accurate step counting (only counts if you've been walking for 5 steps in a row) 2021-06-17 15:33:04 +01:00
Gordon Williams
57a5f30410 tweaks to allow us to use this exact code for offline step testing with https://github.com/gfwilliams/step-count 2021-06-17 14:58:52 +01:00
Gordon Williams
e12de357d9 Update step counter - much higher threshold, but also wider frequency response 2021-05-04 14:17:18 +01:00
Gordon Williams
05f371642e tweaked step count filter again 2021-04-29 14:58:55 +01:00
Gordon Williams
bd134aba05 More slight step count tweaks 2021-04-29 11:37:55 +01:00
Gordon Williams
c45ac24710 Update step count values based on real-world data 2021-04-29 11:31:55 +01:00
Gordon Williams
2b4e2b39b1 Move to 64 tap filter for step count - less ram and computation, and better step rates 2021-04-29 11:15:18 +01:00
Gordon Williams
d338bfbf8a Bangle.js: Significantly improved step counting algorithm using bandpass filter (fix #1846) 2021-04-29 11:00:34 +01:00