etemu / satar

System for Advanced Timekeeping and Amateur Racing. Compatible with the the Arduino platform.
Other
5 stars 1 forks source link

SSR: List the last 32 deltas in a table. #6

Open shulter opened 11 years ago

shulter commented 11 years ago

Store a FIFO buffer with e.g. 512 values in Redis. Print out the last deltas and the deviation between the deltas, e.g.

timestamp delta arithmetic mean of the last 32 values deviation from mean average
T-25s 500 512 12
T-27s 524 512 12
T-30s 510 512 2
T-32s 501 513 12
T-35s 523 513 10
T-55s 510 514 4
shulter commented 11 years ago

crude implementation via the MySQL satar-debug database output. pushed to RC3