-
Notifications
You must be signed in to change notification settings - Fork 15
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
Decode lap data #8
Comments
According http://www8.garmin.com/xmlschemas/TrainingCenterDatabasev2.xsd an activity can have 1 or more laps. Each lap has a track. So based on that info, you could split the single track in your current file in to separate tracks. One track for each lap in the lap table. Not sure if this solution will import in RunKeeper but will try a manualy edited tcx file. |
I've been working on this over the weekend. I've got some code that pulls the lap data from the watch and then as the samples are pushed to the broadcaster, checks whether the sample time > the end of lap time and if so, splits the lap and starts another. The XML parses as valid against the schema but RunKeeper sadly does nothing with the extra information. MyTourbook puts little markers on the map etc. I'll figure out how to get the code up today sometime. |
Added LapInfo structure Populated with data in Watch.cpp Added a Lap callback Added Lap printing in DebugWriter and TcxWriter
I've been thinking about the output of the lap data that I moved into the DebugWriter. I'm not sure that's such a great place for it. I can see instances where I want that data output, but not the rest of the debug output. In fact, I think that'd be my default mode for using the program:
I was thinking of expanding the stats accumulation to cover everything that GPS Master currently does, so time below/in/above HR target zone, Min, Max, Avg HR, Calories, etc for the workout, plus the per lap stats. I was wondering if it was worth adding a StatsWriter and a commandline switch for it? I guess the other option is to just encode stats into the elements of the tcx output. Should I raise this as a separate issue? Any thoughts? |
Is the latest and greatest source good enough? can we close this issue? |
I've built on your work a little more to make the output a little tidier. I think this can be closed. If I expand on this work more, I'll just make another pull request later. |
Great, thank you for your contribution! |
The program should also decode and output lap data.
Some information is already known, cf.https://github.com/mru00/GpsWatch/blob/master/image2gpx.pl#L177
Challenge: how to store lap information in tcx file?
The text was updated successfully, but these errors were encountered: