Skip to content

Commit

Permalink
fix(motion_utils): fix the right bound assignment in resamplePath (#6020
Browse files Browse the repository at this point in the history
)

Signed-off-by: Takayuki Murooka <[email protected]>
  • Loading branch information
takayuki5168 authored Jan 7, 2024
1 parent 5de111f commit 4784c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/motion_utils/src/resample/resample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ autoware_auto_planning_msgs::msg::Path resamplePath(
autoware_auto_planning_msgs::msg::Path resampled_path;
resampled_path.header = input_path.header;
resampled_path.left_bound = input_path.left_bound;
resampled_path.right_bound = resampled_path.right_bound;
resampled_path.right_bound = input_path.right_bound;
resampled_path.points.resize(interpolated_pose.size());
for (size_t i = 0; i < resampled_path.points.size(); ++i) {
autoware_auto_planning_msgs::msg::PathPoint path_point;
Expand Down

0 comments on commit 4784c33

Please sign in to comment.