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)); } }