Skip to content

Improvement to make the architecture of V1Beta much cleaner#56

Merged
JaapvanEkris merged 418 commits into
mainfrom
V1Beta-Architecture_Revision
Feb 8, 2025
Merged

Improvement to make the architecture of V1Beta much cleaner#56
JaapvanEkris merged 418 commits into
mainfrom
V1Beta-Architecture_Revision

Conversation

@JaapvanEkris
Copy link
Copy Markdown
Owner

@JaapvanEkris JaapvanEkris commented Sep 25, 2024

Added support for creating FIT-files, addressing #59 and laberning#129

Removed the dependency of the clients on an all-knowing RowingStatistics.js and made them parse their own metrics (see laberning#107)

JaapvanEkris and others added 30 commits September 25, 2024 11:37
Improvement of the consistency of timer handling.
…rg profile (#57)

* Clean-up unused variables for PM5: The `options` variable is duplicate and removed. PM5 does not currently use `controlCallback` so removed.
* Split FTMS and PM5 broadcast interval setting: Implement separate broadcast interval settings for PM5 and FTMS profiles
to provide more flexibility and make the purpose of this setting clearer
* Improve consistency of `config` object injection: The injection of the `config` object as dependency into the peripherals
were inconsistent (some used constructor injection some used import statement). This commit cleans this up and harmonies using constructor DI.
* Rework CPS and CSC profiles broadcast schedule: Change the broadcast schedule to update new metrics only once per stroke (or after 4 second timeout if no new stroke is detected). Make the schedule interval settings private. Extend CSC and CPS metric update contexts: Include isPauseStart and isSessionStop in the list events updating
metrics for CSC and CPS broadcast.
* Refactor config validation and migrations: Split the config validator functions to a new file and group migrations
into a separate function to improve code readability and maintainability
* Add KayakFirst Blue erg profile
removed the indoorbike injection into the config and made it a standalone option
Removed the option injection and made it a stand-alone option
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants