Commit Graph

69 Commits

Author SHA1 Message Date
Lars Berning c87e78b000
fixes auto adjustment for rowed distance 2021-05-13 10:11:00 +02:00
Lars Berning d50b1b8c7c
speeds up updating by reusing existing dependencies 2021-05-05 12:32:57 +02:00
Lars Berning b019fb3bd4
adds more settings, adds auto adjust for damping 2021-05-05 12:16:04 +02:00
Jaap van Ekris 1b895972af
refactores FlankDetector, extracts some flank settings
* Improvement of the MovingflankDetector

Simplified the call of the moving flank detector, making it dependent on the settings

* Update MovingFlankDetector.js

Cleaned up the call to the MovingFlankDetector

* Added heartrate data to TCX

* Added parameters for the flankdetector

Added parameters for the flankdetector (flankLength and numberOfErrorsAllowed)

* Gave the RX800 some room as the settings haven't stabilised yet (and I think the recording is with a different damper setting than the source tree)
2021-05-05 05:41:11 +02:00
Lars Berning 475f0f4835
improves regression tests, renames some settings 2021-05-02 15:02:58 +02:00
JaapvanEkris 2c6819ca02
implements better flank detection, adds spreadsheet for analysis
Added the flankdetector, to reliably detect an acceleration or deceleration of the flywheel
Added extra metrics for the creation of TCX-files
Added extra metrics (speed in m/s and cadence) to allow future export of this data to Garmin TCX files, which everybody seems to love.
I increased the priority of the GPIO-service, as I noticed that much of the measurement noise originates from delayed read-outs of the GPIO.
An Excel tool to "play" with the settings of a rower, to adjust the settings found in the rowerprofiles.js
Adds test and data for RX800 rower
Lightweight version of Excel file

Co-authored-by: Lars Berning <151194+laberning@users.noreply.github.com>
2021-04-30 22:03:47 +02:00
JaapvanEkris 5c9630d0e5
This constant c isn't as constant....
The constant C isn't as constant as you'd hope it would be. As http://eodg.atm.ox.ac.uk/user/dudhia/rowing/physics/ergometer.html states: "The figure used for c is somewhat arbitrary - selected to indicate a 'realistic' boat speed for a given output power."
2021-04-29 14:29:54 +02:00
Lars Berning 5dddeb2ff5 adds unit tests to verify the rowing engine with real rower recordings 2021-04-21 19:56:42 +02:00
Lars Berning 55cde69ce6 moves rower configuration into a config file and adds rower presets 2021-04-20 21:48:34 +02:00
Lars Berning 43fa45bf29 adds support for BLE heart rate monitors 2021-04-14 22:13:24 +02:00
Lars Berning 1c135a0c1f replaces unit testing framework ava -> uvu 2021-03-26 23:37:36 +00:00
Lars Berning f358d06247 adds simulated heart rate 2021-03-26 22:35:17 +00:00
Lars Berning f1c0091a7a set split to infinity while pausing 2021-03-26 21:06:02 +00:00
Lars Berning e5e579f3fc notifies PM5 central when stroke state changes 2021-03-20 22:04:52 +00:00
Lars Berning d90fa9ea1f adds config file and additional metrics 2021-03-19 19:56:02 +00:00
Lars Berning 37c32829d8 implements PM5 protocol, simplifies code 2021-03-18 20:17:57 +00:00
Lars Berning 3d08f06336 implements handling of rowing pauses 2021-03-10 19:08:56 +00:00
Lars Berning 361e1c65f8 adds logging framework, cleans documentation 2021-03-09 19:39:42 +00:00
Lars Berning 6a4779dfa3 first commit 2021-03-06 21:15:37 +01:00