summaryrefslogtreecommitdiffstats
path: root/divelist.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 21:45:32 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2011-09-16 21:45:32 -0700
commite1171a57a76c1f3277c54bcc48a9fe6c29b741ec (patch)
tree965d2b1dd2a80f01763446450202fe4de842a7ad /divelist.c
parentd5b102bdf3c2f1e78c51fe8b81e8ff134c30d012 (diff)
downloadsubsurface-e1171a57a76c1f3277c54bcc48a9fe6c29b741ec.tar.gz
Attempt to smooth out the velocity readings
If the velocity is slower than FAST then we look back up to 30 seconds and calculate the velocity for the past 30 seconds instead. For the first version I'm not doing the average of the changes but simply the change from beginning to end. The alternative would be to do another triangle smoothing or something like that - but as we don't know how many samples we have in the 30 second window, it's a little harder here. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'divelist.c')
0 files changed, 0 insertions, 0 deletions