From 08038bd1b7169fbbe02d5e02c5196bbd27da8da8 Mon Sep 17 00:00:00 2001 From: Yukinari Hisaki <42021302+yhisaki@users.noreply.github.com> Date: Wed, 13 Nov 2024 17:33:56 +0900 Subject: [PATCH] fix(autoware_trajectory): fix bug of autoware_trajectory (#9314) Signed-off-by: Y.Hisaki --- common/autoware_trajectory/src/pose.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/autoware_trajectory/src/pose.cpp b/common/autoware_trajectory/src/pose.cpp index 14806bb4701ae..35eca81981f89 100644 --- a/common/autoware_trajectory/src/pose.cpp +++ b/common/autoware_trajectory/src/pose.cpp @@ -45,8 +45,8 @@ PointType Trajectory::compute(double s) const { PointType result; result.position = BaseClass::compute(s); - result.orientation = orientation_interpolator_->compute(s); s = clamp(s); + result.orientation = orientation_interpolator_->compute(s); return result; }