staffann / st2funbeat

The project develops a plugin to training diary software Sporttracks 3 developed by Zone Five Software, that exports excercise data to swedish online training diary Funbeat.se.
GNU Lesser General Public License v3.0
1 stars 0 forks source link

Time offset between GPS and heartrate tracks #24

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Import a measurement where the heartrate data starts at a different time 
then the GPS data.
2. Export to funbeat.
3. Check the graphs in funbeat.

The pulse and GPS-derived info should be synchronised but have instead been 
offset by the difference in start time between the data tracks.

Problem is in FitnessDataHandler, GetTrackPointsFromGPSTrack, line:
DateTime actualTime = activity.StartTime.AddSeconds(p.ElapsedSeconds);
The start time of the activity is not necessarily the same as the start time of 
the GPS track.

Original issue reported on code.google.com by staffan....@gmail.com on 22 Sep 2010 at 10:26

GoogleCodeExporter commented 9 years ago

Original comment by staffan....@gmail.com on 31 Dec 2010 at 10:43