Commit Graph

139 Commits

Author SHA1 Message Date
Lars Berning 9d7c2a08c0 fixes #88, to allow installation on Raspbian OS 64bit
Signed-off-by: Lars Berning <151194+laberning@users.noreply.github.com>
2022-10-23 12:12:18 +02:00
Lars Berning 8dc8146abf
fixes #69 error in angularDisplacement calculation 2022-03-08 20:09:42 +01:00
Lars Berning 697d2cd53c
updates some libraries 2022-02-12 21:20:28 +01: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 70f6623af6
updates some comments, bumps version 2022-02-12 20:21:08 +01:00
Lars Berning 8d8afb24b8
fixes a problem that prevented audio in browser on raspi 2022-02-12 17:58:12 +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 943518b986
implements confirmation dialogs, improvements to strava upload 2022-02-11 22:37:36 +00:00
Lars Berning 7b5cc942b9
adds contributing guidelines 2022-02-06 22:37:36 +00:00
Lars Berning dfc17c09b2
wires strava authorization to the web ui 2022-02-05 21:54:15 +01:00
Lars Berning 15cdf2e22f
adds initial strava integration to upload activities 2022-02-05 13:15:43 +01: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 2210c46162
improves metrics of first stroke by setting reasonable initial values 2022-01-31 19:55:27 +01:00
Lars Berning 6792ca77c1
fixes #57 where diagram would show spikes 2022-01-31 19:47:18 +01:00
Lars Berning b1aebef900
updates linter ignore pattern since linter now can support more recent syntax 2022-01-31 19:43:40 +01:00
Lars Berning fc00c01e61
fixes a problem that prevented session recording from working 2022-01-30 13:52:17 +01:00
Lars Berning 56c016d17e
unifies some markdown styling 2022-01-29 20:37:48 +01:00
Lars Berning af5c1f0d9b
migrates to markdownlint-cli2 2022-01-29 15:35:47 +01:00
Lars Berning b788754d23
some simplifications for configuration 2022-01-29 15:23:29 +01:00
Lars Berning 3f74511017
removes ConfigManager from validation again 2022-01-29 14:48:27 +01:00
Lars Berning c72f79a665
adds a missing linter dependency 2022-01-29 14:42:30 +01:00
Lars Berning 8d634b0a65
updates eslint to v8, adds some more linting rules 2022-01-29 14:15:33 +01:00
Lars Berning 2997da6ec4
mitigates a dependency problem which caused an audit finding 2022-01-28 23:20:45 +01:00
Lars Berning 9471ff758b
fixes some code duplications in the engine initialization routine 2022-01-28 20:23:50 +01:00
Jaap van Ekris 335083c37d
Improvement of the startup behaviour and external stroke definition (#46)
* Improvement of the startup behaviour

These changes improve the startup behaviour: ORM will now always start with a detected drive-phase, which will trigger recording etc. This changes several initialisations of variables to make sure they enable the triggering of a "Drive" at the beginning of a stroke. Also workoutHandler.handleStrokeEnd has been renamed to workoutHandler.handleDriveEnd, as this is the clear end of that stroke-phase.

* Renamed handleStrokeEnd to handleDriveEnd

Renamed handleStrokeEnd to handleDriveEnd, as this is the clear end of that stroke-phase, as the current model alternates between Drive+Recovery and Recovery+Drive strokes to keep feeding the metrics, there isn't a very clear "End of the Stroke".

* Redefinition of a stroke

Traditionally, a stroke is defined as a Drive phase, followed by a Recovery Phase. This is also expected by Garmin and EXR as Concept2 implements it this way as well. This implementation makes it more consistent with that interpretation, while leaving room for intermediate updates. This should make Bluetooth behaviour and metrics recording more consistent.
2022-01-28 19:56:55 +01:00
Lars Berning 426f982683
refactores frontend styling, updates some dependencies 2022-01-28 19:52:21 +01:00
Lars Berning 2df753f165
fixes #55 problem with kms driver, fixes problem with older git versions 2022-01-27 21:45:38 +01:00
Lars Berning 9a50378504
disables touchscreen pinch, updates documentation 2022-01-26 20:35:32 +01:00
Lars Berning 5a0afce81f
fixes #52 installer did not set the main branch branch correctly 2022-01-22 20:59:01 +01:00
Lars Berning 0c55c1ae71
Merge pull request #51 from laberning/frontend_redesign
Changes Architecture of the Web Frontend to use Web Components
2022-01-17 21:42:39 +01:00
Lars Berning 77845e4732
fixes a bug, where update-script could not be called from any directory 2022-01-17 21:29:50 +01:00
Lars Berning d1c607f2bf
small fix for version display if not started via npm 2022-01-17 21:22:27 +01:00
Lars Berning 0159a5f3c3
shows fullscreen button only on browsers that support this feature 2022-01-17 21:19:30 +01:00
Lars Berning a9ddd0489c
Merge branch 'main' into frontend_redesign 2022-01-16 22:36:18 +01:00
Lars Berning e21fb1aa53
adds auto restart of backend in dev setting 2022-01-16 22:21:26 +01:00
Lars Berning 7efa0b7961
adds a first simple frontend testcase 2022-01-16 20:40:24 +01:00
Lars Berning 5fcf43b0c1
some code cleanup 2022-01-16 13:31:31 +01:00
Lars Berning f5ff252f95
moves formatting of metrics to the displaying components 2022-01-15 12:29:48 +01:00
Lars Berning 424ba431c7
implements global state, restructures code 2022-01-14 19:26:47 +01:00
Lars Berning 9b2d14f157
adds badges, updates documentation 2022-01-14 19:22:02 +01:00
Lars Berning 799d7bd1f0
adds a security analysis pipeline and improves build pipeline (#45)
* adds a security pipeline, updates pipeline triggers

* prevent pipeline from running twice, if PR is open
2022-01-13 23:15:04 +01:00
Lars Berning b6dab1c038
updates some dependencies 2022-01-13 20:50:48 +01:00
Lars Berning c753cb4cf4
adds handling of some initial events 2022-01-10 22:31:00 +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
Lars Berning 582c5fd41c
updates and fixes some dependencies 2022-01-10 20:05:19 +01:00
Lars Berning bbd009453e
Merge branch 'main' into frontend_redesign 2022-01-09 22:22:13 +01:00
Lars Berning 2eed3fa6dd
adds a first test for a working global frontend state 2022-01-09 22:00:58 +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