Skip to content

Commit f9859d4

Browse files
fix logic
Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
1 parent 1c84ddf commit f9859d4

File tree

1 file changed

+2
-2
lines changed
  • planning/behavior_path_lane_change_module/src/utils

1 file changed

+2
-2
lines changed

planning/behavior_path_lane_change_module/src/utils/utils.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -1342,8 +1342,8 @@ bool has_overtaking_turn_lane_object(
13421342
const ExtendedPredictedObjects & trailing_objects)
13431343
{
13441344
// Note: This situation is only applicable if the ego is in a turn lane.
1345-
if (!has_passed_intersection_turn_direction(lc_param, status)) {
1346-
return true;
1345+
if (has_passed_intersection_turn_direction(lc_param, status)) {
1346+
return false;
13471347
}
13481348

13491349
const auto & target_lanes = status.target_lanes;

0 commit comments

Comments
 (0)