Skip to content

Commit

Permalink
fix(behavior_path_planner): resample path in the route (autowarefound…
Browse files Browse the repository at this point in the history
…ation#3179)

Signed-off-by: Takayuki Murooka <takayuki5168@gmail.com>
  • Loading branch information
takayuki5168 authored and ktro2828 committed Apr 7, 2023
1 parent 261bca1 commit 0b039e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner/src/utilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1979,7 +1979,7 @@ PathWithLaneId getCenterLinePath(
route_handler.getCenterLinePath(lanelet_sequence, s_backward, s_forward, true);
const auto resampled_path_with_lane_id = motion_utils::resamplePath(
raw_path_with_lane_id, parameter.input_path_interval, parameter.enable_akima_spline_first);
return raw_path_with_lane_id;
return resampled_path_with_lane_id;
}

// for lane following
Expand Down

0 comments on commit 0b039e1

Please sign in to comment.