Ticket Created
over 3 years ago

CIQQA-1326

HR zones are not working in simulator

In the simulator the following code:

var currentSport = UserProfile.getCurrentSport();
var heartRateZones = UserProfile.getHeartRateZones(currentSport);
Syste.println("HR zones:" + heartRateZones);

Always prints the following:
HR zones:[128, 153, 179, 204, 230, 185]

This itself has a bug: max_z5 < max_z4

However when I'm trying to set the HR zones in the simulator: Settings > Set User Profile > Heart Rate Zones:
The default values are: 94, 110, 130, 148, 167, 185
Which look OK, but when saving (or doing any changes and saving) doesn't have any effect on the output of the above code.

Parents
  • Ok, that fixes one problem: It turns out that it is in running mode, so editing the running zones does change the values.

    But still:
    - the default zones for the general are incorrect because z5max < z4max
    - the table headers are incorrect

Comment
  • Ok, that fixes one problem: It turns out that it is in running mode, so editing the running zones does change the values.

    But still:
    - the default zones for the general are incorrect because z5max < z4max
    - the table headers are incorrect

Children
No Data