ayoola-solomon / mytracks

Automatically exported from code.google.com/p/mytracks
0 stars 0 forks source link

Power Data Recorded But Inaccessible #654

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My Tracks records power data from the SRM PCS7. This can be seen live on the 
sensor screen and it is stored in the database but there is no way to extract 
it. Ideally it would be included in the TCX and perhaps GPX exported data files.

Original issue reported on code.google.com by kenep...@gmail.com on 13 Dec 2011 at 5:44

GoogleCodeExporter commented 9 years ago
The power data is available on the chart and in the TCX file.

Original comment by sandordo...@google.com on 13 Dec 2011 at 5:49

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
So it is. It is encoded as an activity extension which I missed. Cadence is 
also in the extension. Cadence should be included in the trackpoint as 
described at 
http://developer.garmin.com/schemas/tcx/v2/xmlspy/index.html#complexType_Trackpo
int_t_Link05E0A408

The problem with including cadence in an extension is that most places you can 
upload the data cadence will not be recognised if encoded this way. Here is an 
example trackpoint from a TCX export where HR, cadence and power were recorded.

<Trackpoint>
          <Time>2012-02-22T22:41:28.0Z</Time>
          <Position>
            <LatitudeDegrees>-40.047104</LatitudeDegrees>
            <LongitudeDegrees>175.779932</LongitudeDegrees>
          </Position>
          <AltitudeMeters>501.29998779296875</AltitudeMeters>
          <HeartRateBpm><Value>180</Value></HeartRateBpm>
          <Extensions><TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"><RunCadence>103</RunCadence><Watts>134</Watts></TPX></Extensions>
        </Trackpoint>

Original comment by kenep...@gmail.com on 13 Mar 2012 at 3:09