From bdad5e00c751a33eca07f874374d07543e25b254 Mon Sep 17 00:00:00 2001 From: Franco Cipollone <53065142+francocipollone@users.noreply.github.com> Date: Thu, 14 Sep 2023 18:42:18 -0300 Subject: [PATCH] Matches with change in logger format. (#81) Signed-off-by: Franco Cipollone --- src/maliput_dragway/road_geometry.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/maliput_dragway/road_geometry.cc b/src/maliput_dragway/road_geometry.cc index a1c0672..15d0a09 100644 --- a/src/maliput_dragway/road_geometry.cc +++ b/src/maliput_dragway/road_geometry.cc @@ -99,10 +99,9 @@ bool RoadGeometry::IsInertialPositionOnDragway(const api::InertialPosition& iner if (inertial_pos.x() < inertial_to_backend_frame_translation_.x() || inertial_pos.x() > length + +inertial_to_backend_frame_translation_.x() || inertial_pos.y() > max_y || inertial_pos.y() < min_y) { - maliput::log()->trace( - "dragway::RoadGeometry::IsInertialPositionOnDragway(): The provided inertial_pos " - "({}, {}) is not on the dragway (length = {}, min_y = {}, max_y = {}).", - inertial_pos.x(), inertial_pos.y(), length, min_y, max_y); + maliput::log()->trace("dragway::RoadGeometry::IsInertialPositionOnDragway(): The provided inertial_pos (", + inertial_pos.x(), ", ", inertial_pos.y(), ") is not on the dragway (length = ", length, + ", min_y = ", min_y, ", max_y = ", max_y, ")."); return false; } else { return true;