Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cycling dynamics in train mode #4337

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

vlcvboyer
Copy link
Contributor

@vlcvboyer vlcvboyer commented Mar 9, 2023

Configure power sensors in order to enable cycling dynamics data broadcast
Read the same during hometrainer session
Record them into csv and then into activity json
includes commits with few cosmetics in code
and evolution to CSV parser/writer in order to be more flexible to add fields in the future
and part of #4327 (one commit) which is required by this commits sequence

@vlcvboyer
Copy link
Contributor Author

Related to Feature request #3840

Power sensors which deliver cycling dynamics such as power start angle,
rider position, etc. are supported during hometrainer session.
Goldencheetah requests power sensor capabilities and, when available,
request the sensor to enable them (power phase, pedal position, etc.
and 8Hz transmission mode which is mandatory when accessing those
additional data pages)
The comment was not reflecting the up-to-date file
content as per latest CSV header
Only target power was recorded in CSV records during hometrainer
session.
When not using ERG mode but slope mode then the data was lost.
This patch take care of training mode to determine which data
is to be recorded.
Allows to add fields in CSV file recorded during hometrainer session
without impacting a lot of files in the code
Historical first fields are still used to determine taht this file
has been created by GoldenCheetah.
During CSV parsing GoldenCheetah will use CSV header to determine which
fields are part of the file and to locate the column which contain it
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant