CompanyGateways / mytracks

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

Negative Heartrate in 1.5RC3 using HxM #465

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. nothing special, just testing new version
2. walked 5km @ 6.3km/h
3. in the middle of walk, i tested sensor data and it marked negative, it was 
ok in the beginning

What is the expected output? What do you see instead?
The expected output is heartrate between 120-145 (my hr brisk walking), but i 
got -100, and other negative numbers

What version of MyTracks are you using? On what version of Android? On what 
phone?
Cyanogenmod 7.0.3, MyTracks 1.5RC3 on NexusOne

If possible please provide a log.  Either upload here or send to mytracks-
support@google.com.
Detailed instructions can be found here:
http://code.google.com/p/mytracks/wiki/HowToReportErrors

Please provide any additional information here:

i think it is reporting negative number because my HR>128 and you are using a 
signed byte to represent it? i put here the exact site in my  TCX export where 
the HR changed to negative:

        <Trackpoint>
          <Time>2011-05-20T20:33:47Z</Time>
          <Position>
            <LatitudeDegrees>27.836351</LatitudeDegrees>
            <LongitudeDegrees>-15.450561</LongitudeDegrees>
          </Position>
          <AltitudeMeters>138.0</AltitudeMeters>
          <HeartRateBpm><Value>125</Value></HeartRateBpm>
          <Extensions><TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"><Watts>100</Watts></TPX></Extensions>
          <Cadence>60</Cadence>
        </Trackpoint>
        <Trackpoint>
          <Time>2011-05-20T20:34:20Z</Time>
          <Position>
            <LatitudeDegrees>27.836685</LatitudeDegrees>
            <LongitudeDegrees>-15.450704</LongitudeDegrees>
          </Position>
          <AltitudeMeters>148.1999969482422</AltitudeMeters>
          <HeartRateBpm><Value>-127</Value></HeartRateBpm>
          <Extensions><TPX xmlns="http://www.garmin.com/xmlschemas/ActivityExtension/v2"><Watts>100</Watts></TPX></Extensions>
          <Cadence>60</Cadence>
        </Trackpoint>

Original issue reported on code.google.com by ble...@gmail.com on 20 May 2011 at 9:45

GoogleCodeExporter commented 9 years ago

Original comment by sandordo...@google.com on 24 May 2011 at 4:10

GoogleCodeExporter commented 9 years ago
Sorry, i meant 1.1.5RC3 in this and in the other issue i opened, i tried to 
edit them, but found not any way of doing it

regards

Original comment by ble...@gmail.com on 24 May 2011 at 6:10

GoogleCodeExporter commented 9 years ago
This should be fixed in my clone in revision 2cb787c5c513.

Original comment by n...@nclm.de on 24 May 2011 at 8:10

GoogleCodeExporter commented 9 years ago
Thanks for the fix.

Original comment by rdama...@google.com on 3 Jun 2011 at 4:56