From e30fe514a2dd8f4e81d8cf3910e604f8faffa1a0 Mon Sep 17 00:00:00 2001 From: Johann Rudloff Date: Mon, 8 Mar 2021 21:24:00 +0100 Subject: [PATCH] Take climbed meters into account when estimating energy expenditure --- activities/activity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activities/activity.py b/activities/activity.py index 2075405..f714881 100644 --- a/activities/activity.py +++ b/activities/activity.py @@ -301,7 +301,7 @@ def analyse(track: Track, athlete_data: Mapping[str, float], raw: bool = False): weight = athlete_data.get('weight') if weight is not None: energy = round(estimate_energy(dist[-1][1], - 0, # TODO: real elevation + climb, elapsed_seconds, weight)) else: -- 2.38.5