From 64389ce5b3a15512522a00f0af3200415b382226 Mon Sep 17 00:00:00 2001 From: yutaka Date: Thu, 4 Aug 2022 18:19:42 +0900 Subject: [PATCH] feat(motion_utils): substitute input path initila point informaiton Signed-off-by: yutaka --- common/motion_utils/src/resample/resample.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/motion_utils/src/resample/resample.cpp b/common/motion_utils/src/resample/resample.cpp index 20466806570be..fd2c7422267bf 100644 --- a/common/motion_utils/src/resample/resample.cpp +++ b/common/motion_utils/src/resample/resample.cpp @@ -152,6 +152,8 @@ autoware_auto_planning_msgs::msg::PathWithLaneId resamplePath( v_lon.front() = input_path.points.front().point.longitudinal_velocity_mps; v_lat.front() = input_path.points.front().point.lateral_velocity_mps; heading_rate.front() = input_path.points.front().point.heading_rate_rps; + is_final.front() = input_path.points.front().point.is_final; + lane_ids.front() = input_path.points.front().lane_ids; for (size_t i = 1; i < input_path.points.size(); ++i) { const auto & prev_pt = input_path.points.at(i - 1).point; const auto & curr_pt = input_path.points.at(i).point;