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

Moving time and time_from_course #4

Open
xmedeko opened this issue Mar 25, 2018 · 2 comments
Open

Moving time and time_from_course #4

xmedeko opened this issue Mar 25, 2018 · 2 comments

Comments

@xmedeko
Copy link

xmedeko commented Mar 25, 2018

Garmin Connect is the most aggressive when calculating moving time, Strava is the most lenient ...

Can you explain it more in detail, what are differences in the moving time calculations? What about the field time_from_course - I think it should be used instead of the timestamp when presented, to calculate the the moving time.

And thanks for this analysis. FIT format suffer from lack of standardization of semantics, despite it's so widely used.

@mtraver
Copy link
Owner

mtraver commented Apr 17, 2018

What I meant is that it seems like Garmin Connect removes more samples than Strava when excising a stopped period. But I haven't compared record-by-record to see if this is the case.

Can you describe time_from_course, and/or provide a link to documentation? I see references to it in the Fit SDK but I can't find any documentation about what it means. The best I found is actually this SO answer written by you!

@xmedeko
Copy link
Author

xmedeko commented Apr 18, 2018

The problem with FIT is that the semantic rules of data is described nowhere. So, dealing with the pauses is really a black box. AFAIK time_from_course should be a net time for each record from a course start. That is, the time_from_course of the last record should be equal to the session total_moving_time. This knowledge is from my co-workers based on a reverse engineering of FITs from various devices. We do not have any doc for that, too.

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

No branches or pull requests

2 participants