Commit Graph

60 Commits

Author SHA1 Message Date
cyteen 56bf45eec3 Typo.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-05 09:16:33 +00:00
cyteen 9ac3882049 Typo.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-05 09:09:30 +00:00
cyteen f072563823 Add a graphs readme containing links to examples.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-05 08:51:06 +00:00
cyteen 40a506cfec Typo.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-04 16:04:53 +00:00
cyteen 23be2e2421 Typo.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-04 16:02:54 +00:00
cyteen 61a93c6345 Add a javascript version of the prediction example.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-04 15:58:24 +00:00
cyteen a5c94a9230 Add wattage predictions readme and py implementation to docs.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-12-04 15:06:51 +00:00
cyteen bbef8369ef Small changes to README_coach.md
Node.js CI / build (14.x) (push) Has been cancelled Details
Node.js CI / build (16.x) (push) Has been cancelled Details
2024-11-30 12:30:09 +00:00
cyteen 06b2636278 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Has been cancelled Details
Node.js CI / build (16.x) (push) Has been cancelled Details
2024-11-27 23:33:00 +00:00
cyteen 50637e27f6 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-27 19:17:03 +00:00
cyteen e120c0f8d5 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-27 15:17:52 +00:00
cyteen 2ae17ba1d9 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-27 15:13:27 +00:00
cyteen 20bc2d0447 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Has been cancelled Details
Node.js CI / build (16.x) (push) Has been cancelled Details
2024-11-22 11:55:47 +00:00
cyteen 0b59a7041f Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-21 19:34:54 +00:00
cyteen 07f41297c2 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-21 16:15:29 +00:00
cyteen 0170920113 Add image of pulses from a max9924 measuring the reluctance sensor on a C2 Model C.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-21 10:04:57 +00:00
cyteen dcf745a0f1 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-21 10:02:53 +00:00
cyteen c577db4a51 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-20 19:14:08 +00:00
cyteen ef68995063 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-20 12:11:31 +00:00
cyteen 2547da1588 Add README_concept2.md to detail the info specific to that rower.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-19 03:14:24 +00:00
cyteen 80045375ea Small changes to README_coach.md
Node.js CI / build (14.x) (push) Has been cancelled Details
Node.js CI / build (16.x) (push) Has been cancelled Details
2024-11-17 13:42:11 +00:00
cyteen 226c64610a Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-17 10:28:46 +00:00
cyteen 2bfbf26480 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-17 10:25:29 +00:00
cyteen 407669accd Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-17 10:20:57 +00:00
cyteen efec09c935 Small changes to README_coach.md
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-17 01:23:26 +00:00
cyteen c23b00813e Add the README for coach functionality outline.
Node.js CI / build (14.x) (push) Waiting to run Details
Node.js CI / build (16.x) (push) Waiting to run Details
2024-11-16 16:26:38 +00:00
Lars Berning c8c0719ec0
Merge pull request #66 from laberning/strava_upload
adds new features Strava upload and Device Shutdown
2022-02-12 20:50:34 +01:00
Lars Berning 5ece475b2e
adds a hint in the docs about the strava integration 2022-02-12 20:43:51 +01:00
Lars Berning dec19fdd1f
adds feature to shutdown device, adds some minor UI improvements 2022-02-12 11:32:31 +00:00
Lars Berning 7b5cc942b9
adds contributing guidelines 2022-02-06 22:37:36 +00:00
Lars Berning a4a7a1b0a0
adds features to store recordings with gzip compression, fixes a bug with the recording config 2022-02-01 20:20:32 +01:00
Lars Berning 2ccd54a65d
adds a constant metric stream for BLE devices to fix some connectivity issues 2022-02-01 19:25:51 +01:00
Lars Berning 56c016d17e
unifies some markdown styling 2022-01-29 20:37:48 +01:00
Lars Berning 9b2d14f157
adds badges, updates documentation 2022-01-14 19:22:02 +01:00
Jaap van Ekris 47e71ea5ef
Drag poising bugfix (#44)
* Bugfix for dragfilter poisoning prevention

Implementation of a more refined version of the dragfactor calculation to prevent the dragfactor being stuck at certain values after pauses, etc.

* Addition of new settings

Implementation of a more refined version of the dragfactor calculation to prevent the dragfactor being stuck at certain values after pauses, etc.

Two changes:
* Made the smoothing function of the dragfactor configurable from the config-file (dampingConstantSmoothing) instead of hardcoded. as it should have been from day one
* Implementation of a new filter to prevent dragfactor poisoning by noisy data, based on another setting (dampingConstantMaxChange). The new filter will not get stuck but will follow the direction of the change but is limited to the setting..
2022-01-10 21:41:21 +01:00
Jaap van Ekris e85491acb9
More refined session state (#33)
* A more refined rowing session state (PM5)

Introduces a more refined session state needed for the PM5 rower session simulation, as well as a cleaner setup for the metrics to stop when the rower is stopped.

* Added the WorkoutState and rowingState

Added the WorkoutState and rowingState to the PM5 interface, to prevent EXR to start too early.

* Added a link to the brilliant work of Nomath

Added a link to Nomath's work, as it is a brilliant piece of work that independently verifies our calculations and provides a basis for support of the Concept2 rower.

* Bugfix in Instantanous Torque calculation

The Instantanous Torque calculation wasn't cleaned up sufficiently, causing issues in the powercurve.

* unifies reset of heartrate value at different places

* unifies naming with other variables status -> state

* just some minor link adjustments in documentation

Co-authored-by: Lars Berning <151194+laberning@users.noreply.github.com>
2022-01-09 12:09:02 +01:00
Lars Berning a083af9e49
updates some references and some dependencies 2021-12-13 21:05:07 +01:00
Jaap van Ekris 19ec4f28bb
Code Cleanup and Documentation Update (#30)
* Moved .doc to .md

Moved the Word document to a more open format

* Update of the file based on the new settings

Update of the settings documentation due to the introduction of the new RowingEngine

* Moved .doc to .md

Moved the information to the .md file, updated with the design decissions made in the new RowingEngine.

* Splitting the hardware set-ups for specific rowers

Split off the WRX700 hardware set-up from the generic setup, to allow for other rower-specific set-ups to be created (easier to read and better for search engines).

* Removal of generic text

* SPlit the generic from the WRX700

* Fixed a very rare bug

A very rare condition can cause the noise correction filter to get stuck and dismiss all subsequent values. Now the number of corrections is maximised preventing that situation.

* Code refactoring

Refactoring of the code (added calculateLinearVelocity(), calculateCyclePower(), calculateTorque() functions) to reduce code duplication across phases.

* Fixed a very rare bug

A very rare condition can cause the noise correction filter to get stuck and dismiss all subsequent values. Now the number of corrections is maximised preventing that situation.

* Code refactoring

Refactoring of the code (added calculateLinearVelocity(), calculateCyclePower(), calculateTorque() functions) to reduce code duplication across phases.

* fixes some typos, fixes some links, renames some files

Co-authored-by: Lars Berning <151194+laberning@users.noreply.github.com>
2021-12-13 20:01:28 +01:00
Lars Berning a3730f9a9c
improves GitHub page (#29)
* adds verification information

* gets description directly from github

* reduces some margins

* removes header and footer in print view

* some test adjustments

* adds some metadata

* fixes a warning

* updates backlog
2021-11-15 10:37:16 +01:00
Lars Berning 68f4313518
Adds support for GitHub pages (#27)
* moves readme to docs folder

* Set theme jekyll-theme-cayman

* adjusts some colors

* adjusts image margin

* adds some styling and a navigation menu
2021-11-11 21:11:07 +01:00
Lars Berning 4196009237
adds documentation on the physics model (#25)
* adds documentation on the physics model
2021-11-08 11:32:08 +01:00
Lars Berning 36fe899e81
adds more tests to averagers 2021-11-08 08:47:56 +01:00
Lars Berning 8f064a0aab
fixes typos, updates documentation to new names 2021-11-07 15:14:51 +01:00
Jaap van Ekris 7ee25292fc
Improved Rowing Engine (#24)
* Update to accomodate the new RowingEngine

Update of the MovingFlankDetector to provide the values needed to determine the speeds at the beginning of the flank.

* Created the MovingAverager for RowingEngine 2.0

Added the MovingAverager to accomodate the RowingEngine 2.0

* Update to RowingEngine 2.0

Update based on the great theoretical work of Anu Dudhia and the practical experiences of Dave Venrooy.

* Added to explain RowingEngine 2.0 design

A rationale for explaining the RowingEngine 2.0 design, based on the great theoretical work of Anu Dudhia, and the practical work of Dave Venrooy and Marinus van Holst, as well as the great feedback from Lars Berning.

* Update to accomodate the new RowingEngine

Update to the rower settings to accommodate the new RowingEngine. Please note that the modifications need to be verified by the respective users.

* Modifications to the RX800 tests

Modifications to the RX800 to bring it in line with the Concept2 Power and distance measurements.

* BUGFIX: Prevent ghost-strokes at end of session

This change to isAccelerating prevents stroke-detection to detect a stroke when the currentDt "flatlines". This typically happens when the error correction kicks in when you quit rowing (and thus the rowerSettings.maximumTimeBetweenImpulses is exceeded). It is bad (flatlining isn't acceleration), and this ghost-stroke causes havoc in the GUI: all measurements are reset again to random values instead of the nice indicators normally used.

* BUGFIX: Prevent ghost-strokes at end of session

This change to isAccelerating prevents stroke-detection to detect a stroke when the currentDt "flatlines". This typically happens when the error correction kicks in when you quit rowing (and thus the rowerSettings.maximumTimeBetweenImpulses is exceeded). It is bad (flatlining isn't acceleration), and this ghost-stroke causes havoc in the GUI: all measurements are reset again to random values instead of the nice indicators normally used.

* Added defensive programming

In some rare cases not rounding led to a buffer overflow, so added defensive programming to prevent this.

* Update MovingFlankDetector.js

* Improved stroke detection algorithm accuracy

Improvement of the Stroke detection algorithm: when naturalDeceleration is specified in the settings, it will only consider something a Revocery when this level of deceleration is encountered for the FlankLength.

* Made the RowingEngine more stateful

Removed some bugs, added a lot of defensive programming and made the RowingEngine report the key statistics every impuls to create a more fluid experience on the monitor. To do this, the rowingEngine maintins and reports absolute values to rowingStatistics, instead of relative.

* Improved stroke detection algorithm accuracy

Improvement of the Stroke detection algorithm: when naturalDeceleration is specified in the settings, it will only consider something a Revocery when this level of deceleration is encountered for the FlankLength.

* Modification to fit new RowingEngine

* Addition of new parameters for stroke detection

Added new parameters for stroke detection and monitor fluidity

* Fixed missing bracket

* Updated to more fluid RowingStatistics

Moved the timer from a static timer to the raw measurements of the flywheel, and the distance more frequently updated, to keep all data consistent. Also made the GUI-updates more fluid, responsive and dependent on settings: this more fluid GUI update mechanism is dependent on the screenUpdateInterval setting and moving averager dependent on a setting (numOfPhasesForAveragingScreenData)

* Made all monitor updates consistent

* Accommodate more frequent update of the monitors

Update to accommodate the more frequent updates, and to accommodate the reset for the RowingEngine

* improves some testcases, fixes some minor code styling and duplicate definitions

* Fixed a comment about dragfactor

* Added parameters for the new RowingStatistics.js

Added screenUpdateInterval, numOfPhasesForAveragingScreenData and maxCycleTimeBeforePause as config parameters to remove statically determined parameters in RowingStatistics.js

* Added RX800 as second testbed

* fixes some problems that caused the engine to crash

* uses non sanitized durations for now

* updates some settings, fixes some typos

* wires the correct timer configuration, fixes a problem where SPM would not reset to 0

* fixes a crash problem in workout recorder, fixes fallback value for strokeTime

* relaxes constraint on stroke time

* updates some explanatory text, updates some rower parameters

Co-authored-by: Lars Berning <151194+laberning@users.noreply.github.com>
2021-11-07 14:53:11 +01:00
Lars Berning 4664ece207
updates backlog 2021-05-22 20:57:34 +02:00
Lars Berning e903037d68
enables installer to also set up a browser in kiosk mode 2021-05-22 20:31:16 +02:00
Lars Berning a618419702
simplifies git hooks 2021-05-21 14:38:21 +02:00
Lars Berning 602766c4a0
implements tcx and raw export 2021-05-20 13:40:42 +02:00
Lars Berning b16fc34ea0
adds installation instructions for raspi0w 2021-05-04 21:27:44 +02:00
Lars Berning 475f0f4835
improves regression tests, renames some settings 2021-05-02 15:02:58 +02:00