Getting early test results now against the 2.10.27 firmware that has the full implementation of the step counter in it. Also using the upated widpedom.
SLEEP Amiz 8, 2.10.27 89
DRIVE Amiz 3, 2.10.27 136
WALK Amiz 3070, 2.10.27 3046 (99.1%) accurate on the walk
Added logs for the the DRIVE and WALK and into the test harness.
The results validate the test harness and point to the differences with the javascript version.
If you look at the walk results, the simulated value of 3013 its actually only 33 steps off the value
measured on the physical device. This gives a lot more confidence in the test harness, and suggests caution with the javascript version in future.
Going to leave everyone in peace for a bit as on holiday next week :)
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.
Getting early test results now against the 2.10.27 firmware that has the full implementation of the step counter in it. Also using the upated widpedom.
SLEEP Amiz 8, 2.10.27 89
Added logs for the the DRIVE and WALK and into the test harness.
The results validate the test harness and point to the differences with the javascript version.
X_STEPS = 6, RAW_THRESHOLD = 14
File, Expected, Simulated, Diff, (Orignal)
HughB-walk-a3070-b3046.csv, 3070, 3013, -57, (1909)
HughB-drive-a3-b136.csv, 3, 124, 121, (535)
If you look at the walk results, the simulated value of 3013 its actually only 33 steps off the value
measured on the physical device. This gives a lot more confidence in the test harness, and suggests caution with the javascript version in future.
Going to leave everyone in peace for a bit as on holiday next week :)