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

Downloading GPX files with HR #89

Open
solwhite opened this issue Mar 23, 2023 · 2 comments
Open

Downloading GPX files with HR #89

solwhite opened this issue Mar 23, 2023 · 2 comments

Comments

@solwhite
Copy link

Great code thank you! I was wondering if you had any arguments / way to download the GPX files with heart rate - on the garmin connect the activites has this feature.

Then can visualise the heart rate variabliity over the course of an activity!

Thanks,

Sol

@solwhite solwhite changed the title Downloading GOX files with HR Downloading GPX files with HR Mar 23, 2023
@pe-st
Copy link
Owner

pe-st commented Apr 2, 2023

Hello @solwhite

The heart rate should be in the GPX files already. Mine have a <ns3:hr> element containing the heart rate for every track point:

      <trkpt lat="46.xxx" lon="7.xxx">
        <ele>620.4000244140625</ele>
        <time>2023-03-28T14:58:36.000Z</time>
        <extensions>
          <ns3:TrackPointExtension>
            <ns3:atemp>25.0</ns3:atemp>
            <ns3:hr>119</ns3:hr>
            <ns3:cad>81</ns3:cad>
          </ns3:TrackPointExtension>
        </extensions>
      </trkpt>

@McPringle
Copy link

I can confirm this, my exported GPX files contain my heart rate, too. They are just missing in the activities where I did not wear a heart rate sensor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants