Skip to content

Commit

Permalink
add route handler unit tests for overlapping route case
Browse files Browse the repository at this point in the history
Signed-off-by: mohammad alqudah <[email protected]>
  • Loading branch information
mkquda committed Jun 3, 2024
1 parent d950341 commit 27ecddd
Show file tree
Hide file tree
Showing 5 changed files with 1,168 additions and 10 deletions.
2 changes: 1 addition & 1 deletion planning/behavior_path_planner_common/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1316,7 +1316,7 @@ lanelet::ConstLanelets extendNextLane(
for (const auto & next_lane : next_lanes) {
// skip overlapping lanes
if (next_lane.id() == lanes.front().id()) continue;

// if route lane, set target and break
if (route_handler->isRouteLanelet(next_lane)) {
target_next_lane = next_lane;
Expand Down
Loading

0 comments on commit 27ecddd

Please sign in to comment.