You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • neither count steps on reaching across a desk or rotating a wrist

    My point was just that if you repeatedly rotate your wrist once every second, they may well start to count steps. But yes, normal reaching/rotating is something that obviously needs filtering out :)

    Maybe its time to have a competition

    Yes, totally! Is anyone interested in this? I had been considering it... I guess the thing to do would be for us to ensure we have a really good representative set of data in https://github.com/gfwilliams/step-count­ and then see who can get lowest.

    I now have a bunch of what will probably be the 'new' Bangle.js (the SMA Q3) and I could send one of those out to the winner... Or maybe something else?

    What is the lifcycle of trying to improve this ?

    Realistically it's a matter of changing the C code. It's really pretty basic at the moment.

    How would one actually test this for real on a Bangle ?

    Right now on the Bangle there's a specific step counter file:

    https://github.com/espruino/Espruino/blob/master/libs/misc/stepcount.c

    So you'd just have to copy/paste into there, recompile, and DFU. Realistically the step-count repo above should just use that file directly though, then you could just move the file across when you were happy with it.

    You actually could just include it with Inline C though, so you could tweak it quickly on real hardware without recompiling. If there's interest I could paste up an example of how to do that?

    While obviously it helps to do it on real hardware, there's a lot to be said for doing it 'offline' just because you can run over the same data over and over, look at a graph, see exactly what's going on and why it is/isn't working.

About

Avatar for Gordon @Gordon started