-
-
Notifications
You must be signed in to change notification settings - Fork 77
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
Please implement TCX-export in manual mode #125
Comments
Implemented in version 3.5 |
Very nice, thanks a lot for the very quick implementation Wouter! I noticed that power values are saved using the -d2 setting as well, but it is a bit cumbersome to only get the relevant data out of the log-file. |
-d2 is for debugging and not intended for your purpose. |
At first sorry for my late reply, I already did a ride yesterday evening but didn't had time until now to provide the outcome. The TCX file is succesfully generated and can be uploaded to Strava or any tool to process TCX files, which is showing cadence and power as a function of time. |
Yes that is by design; ERGmode training does not have a track. Speed is quite virtual. |
One could assume a gradient of 0% (or other) and then "do maths" to calculate speed/distance. |
@WouterJD You are right that the speed signal does not really make sense in ERG mode, but it seems that Strava for instance (at least in the browser, the mobile app was working fine) is struggling with having no speed and distance, so it makes sense to implement a solution as proposed by @mattipee (and maybe for the speed gauge in the GUI in -m mode as well?) |
I will check And compare with https://www.strava.com/activities/4286798312 |
This is probably the result of a training in TrainingPeaks which is synchronized with Strava afterwards? When loading the TCX file from my workout 2 days ago I get the overview in Strava as below, and in the "Analysis" tab nothing is shown (but in the mobile app it does, so this could be a Strava bug as well). |
First tests being done, not yet ready for distribution. |
I know... interested to see the result. I like how testing software burns calories these days. :) |
Although the solution proposed by @mattipee which takes acceleration into account is well looks very nice, I was also already thinking about reversing the Speed2Power equation (at 0 grade) which might be much simpler to integrate. Good to hear that testing is on-going, hopefully the function can be implemented soon! |
Pfff Strava is not happy yet :-( |
Saving the inversed Speed2Power data in the TCX file does not do the job? |
@mattipee @torpedox88 Please check attached TCX. I would think it is correct, but the speed is displayed incorrectly. PS. .TCX renamed to .TXT since github does not accept TCX. |
I've uploaded the files to both Strava and CyclingAnalytics and they are working fine, but speed and distance are indeed not corresponding with the delivered power. @WouterJD What are the units of speed and distance in the TCX file? In the first seconds of the TCX file for instance the speed is around 20 km/h (I assume), but the distance is 5.22 in the first instance and 5.65 in the second instance, around 1 second later. Maybe there is a discrepancy between the units of speed and distance (or an error calculating from one to the other) which is recognized by Strava for instance after which it only uses distance to calculate speed? |
Compare with next file as exported from Trainer Road |
Zoals zo vaak: als je het niet weet zie je het niet. is de afstand vanaf het begin, niet sinds vorige trackpoint. |
You can do your tests with 3.6; please let me know results. |
@WouterJD @torpedox88 ... a quick, related after-note because I've just discovered this... thanks to @ericchristoffersen GoldenCheetah has a sim model which correctly uses power over time to calculate a virtual bike speed. A recent change was made specifically to use this model in ERG mode, assuming a slope of 0%, so that ERG mode workouts have a consistent speed and distance. Such a model shouldn't be difficult to implement (I've played with one) and could well be a little enhancement for FortiusANT, to replace the inverse calculation, which has the same aim, just the maths is different. GoldenCheetah/GoldenCheetah#3712 |
Thanks for the quick reply Wouter!
It is also not possible to only "read" data from FortiusANT?
Reason for asking is that I'm thinking about running TrainingPeaks for instance to record all data while running FortiusANT in manual/grade mode (or is there maybe another way to record all FortiusANT data?)
Originally posted by @torpedox88 in #113 (comment)
The text was updated successfully, but these errors were encountered: