8000 GitHub - gfwilliams/step-count: Simple step counter test
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

gfwilliams/step-count

Folders and files

8000
NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple step counter test

Running

Ensure Espruino is installed at the same level as step-count, as this code expects to use the step counter code from Espruino itself.

Type make && ./main to run and execute the file.

Total difference in steps between expected and calculated is shown.

  • expected = what we expect
  • orig = step count based on the most trivial step counter

Type make && ./main --bruteforce to run a brute-force check for all possible values using the offline data from data. You can then feed these back into stepcount.c

Graphs

With gnuplot installed you can run gnuplot -p gnuplot.plot to plot graphs of acceleration vs step count/theshold data for debugging.

To compile, run and display the most recent graphs, you can do pkill gnuplot;make clean;make && ./main && gnuplot -p gnuplot.plot

About

Simple step counter test

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages pu 3464 blished
0