From 92c5ea04635325223be1ef986c4531e85415c9c4 Mon Sep 17 00:00:00 2001 From: sergiopaniego Date: Wed, 9 Feb 2022 16:51:52 +0100 Subject: [PATCH] Comment removed --- behavior_metrics/utils/metrics.py | 1 - 1 file changed, 1 deletion(-) diff --git a/behavior_metrics/utils/metrics.py b/behavior_metrics/utils/metrics.py index ee41149c..a0b5823f 100644 --- a/behavior_metrics/utils/metrics.py +++ b/behavior_metrics/utils/metrics.py @@ -40,7 +40,6 @@ def is_finish_line(point, start_point): start_point = np.array([start_point['pose.pose.position.x'], start_point['pose.pose.position.y']]) except IndexError: start_point = start_point - # start_point = np.array([start_point['pose.pose.position.x'], start_point['pose.pose.position.y']]) dist = (start_point - current_point) ** 2 dist = np.sum(dist, axis=0) dist = np.sqrt(dist)