Skip to content

Commit

Permalink
Merge branch 'feat/fix-resample-function' into feat/update-behavior-p…
Browse files Browse the repository at this point in the history
…ath-resampling-function
  • Loading branch information
purewater0901 committed Aug 4, 2022
2 parents 903a1e9 + 64389ce commit 09820b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions common/motion_utils/src/resample/resample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 09820b4

Please sign in to comment.