Skip to content

Commit

Permalink
feat(motion_utils): substitute input path initila point informaiton (a…
Browse files Browse the repository at this point in the history
…utowarefoundation#1518)

Signed-off-by: yutaka <purewater0901@gmail.com>
  • Loading branch information
purewater0901 authored and Haoru Xue committed Aug 10, 2022
1 parent 3519292 commit 91b37d7
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 91b37d7

Please sign in to comment.