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

Auto-detect sport types #12

Closed
pcolby opened this issue Jul 26, 2014 · 3 comments
Closed

Auto-detect sport types #12

pcolby opened this issue Jul 26, 2014 · 3 comments

Comments

@pcolby
Copy link
Owner

pcolby commented Jul 26, 2014

TCX files must specify the "Sport" for each activity, where the "Sport" value can be one of: Running, Biking, or Other.

Currently, Bipolar uses "Other" for all activities.

Ideally, Bipolar should be able to either detect the sport type (eg from the training-sessions-create request's "sport" field), or infer it (eg from the presence of certain types of cadence / footpod data).

pcolby added a commit that referenced this issue Jul 26, 2014
@pcolby
Copy link
Owner Author

pcolby commented Jul 26, 2014

In release 0.1.0, the debug output will include lines like:

Sat Jul 26 16:02:04 2014 Debug sport 16

See if those number correlate with the activity you did. eg I suspect 16 = "Other Outdoor".

@pcolby
Copy link
Owner Author

pcolby commented Jul 26, 2014

I've put together a list of possible sport type mappings:

https://github.com/pcolby/bipolar/wiki/Polar-Sport-Types

Let me know if they do/don't appear to correlate well for your activities.

@pcolby
Copy link
Owner Author

pcolby commented Jul 26, 2014

Released in 0.1.1 😄

@pcolby pcolby closed this as completed Jul 26, 2014
@pcolby pcolby added this to the 0.1.1 milestone Jul 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant