From f06e48d094f2a068aab2ece6fb76027ff84e0aab Mon Sep 17 00:00:00 2001 From: glopezdiest Date: Fri, 26 Apr 2024 16:13:29 +0200 Subject: [PATCH] Fixed metrics wheel parser --- srunner/metrics/tools/metrics_parser.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srunner/metrics/tools/metrics_parser.py b/srunner/metrics/tools/metrics_parser.py index a5d1ae793..e7ea1a9e0 100644 --- a/srunner/metrics/tools/metrics_parser.py +++ b/srunner/metrics/tools/metrics_parser.py @@ -194,8 +194,8 @@ def parse_wheels_control(info): max_brake_torque=float(info[11]), max_handbrake_torque=float(info[13]), position=carla.Vector3D( - x=float(info[17][1:-1]) / 100, - y=float(info[17][:-1]) / 100, + x=float(info[15][1:-1]) / 100, + y=float(info[16][:-1]) / 100, z=float(info[17][:-1]) / 100) ) return wheels_control