Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Step sensor may start at arbitrary value #9

Open
aaaaalbert opened this issue Mar 3, 2017 · 0 comments
Open

Step sensor may start at arbitrary value #9

aaaaalbert opened this issue Mar 3, 2017 · 0 comments

Comments

@aaaaalbert
Copy link

A minor enhancement to consider: The step sensor

returns the number of steps taken by the user since the last reboot while activated

(see Android docs), so it may happen that a vessel's first reading of the step sensor is a large value already. That doesn't invalidate the reading, but it gives some insight into the device's usage history.

We could offset the step counter value with the (negative) value at vessel start, just as we do for the sensor event timestamps that Repy sees.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant