From 74bee395dd110f601708d07c86e43f12ab224aed Mon Sep 17 00:00:00 2001 From: Dawid Moszynski Date: Fri, 20 Dec 2024 16:19:49 +0100 Subject: [PATCH] fix(traffic_simulator): revert adjustOrientationAndOzPosition change (lanelet rpy) --- simulation/traffic_simulator/src/data_type/lanelet_pose.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/simulation/traffic_simulator/src/data_type/lanelet_pose.cpp b/simulation/traffic_simulator/src/data_type/lanelet_pose.cpp index 39b24b6c738..b4dfb4dc0d8 100644 --- a/simulation/traffic_simulator/src/data_type/lanelet_pose.cpp +++ b/simulation/traffic_simulator/src/data_type/lanelet_pose.cpp @@ -154,7 +154,7 @@ auto CanonicalizedLaneletPose::adjustOrientationAndOzPosition( .y(lanelet_rpy.y) .z(entity_rpy.z)); lanelet_pose_.rpy = - convertQuaternionToEulerAngle(getRotation(map_pose_.orientation, lanelet_quaternion)); + convertQuaternionToEulerAngle(getRotation(lanelet_quaternion, map_pose_.orientation)); } }