Ok, I've just converted this to C and pushed updated code.
Running it with the csv file I gave shows interesting stats though:
// a1bc34f9a9f5c54b9d68c3c26e973dba195e2105 HughB-walk-1834.csv 1446 // oxford filter 1584 // peak detection 1752 // state machine 1751
So during walking, not much difference in the state machine, but it will hopefully manage to reject more non-walking steps as you say.
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ok, I've just converted this to C and pushed updated code.
Running it with the csv file I gave shows interesting stats though:
So during walking, not much difference in the state machine, but it will hopefully manage to reject more non-walking steps as you say.