Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 committed Oct 26, 2023
1 parent 9ae613d commit 3f7ceaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2888,7 +2888,7 @@ lanelet::ConstLanelets getCurrentLanesFromPath(
auto extended_lanes = current_lanes;
while (rclcpp::ok()) {
const size_t pre_extension_size = extended_lanes.size(); // Get existing size before extension
extended_lanes = extendPrevLane(route_handler, extended_lanes);
extended_lanes = extendPrevLane(route_handler, extended_lanes, true);
if (extended_lanes.size() == pre_extension_size) break;
if (have_front_lanes(extended_lanes)) {
current_lanes = extended_lanes;
Expand Down

0 comments on commit 3f7ceaa

Please sign in to comment.