thomaschampagne / elevate

A sport app to "Elevate" your training experience and goals! Track your fitness and progressions over time. Analyse deeper your activities. And more...
https://thomaschampagne.github.io/elevate-docs/
Mozilla Public License 2.0
1.28k stars 176 forks source link

[Desktop][Bug] HRSS gets calculated only for the parts of the workout that are moving. #1173

Open cptdrosselbart opened 11 months ago

cptdrosselbart commented 11 months ago

Describe the bug I went to a spin class and started recording the activity on my whaoo from leaving the house until I was back home (I took the bike). The HRSS however only got calculated for the relaxed bike ride to and from the class, not the all out effort I did during the class, where I was stationary.

To Reproduce Steps to reproduce the behavior:

  1. record a bike ride
  2. As long as you are recording location data, all your HRSS generated while being stationary is not attributed to your HRSS score for that activity.
  3. If you however record the activity without any location data, it calculates the HRSS for the entire time you were recording, not only the parts where you were moving.

Expected behavior I expected the HRSS to be calculated based on HR and duration, not only when I am moving but also for the parts that I am stationary, so I could for example cycle to a workout, do a HIIT session while not moving any recorded distance, and cycle back without the elevate app ignoring all the HRSS I generated while at the stationary HIIT