Skip to content

Commit

Permalink
fix logic
Browse files Browse the repository at this point in the history
Signed-off-by: Zulfaqar Azmi <[email protected]>
  • Loading branch information
zulfaqar-azmi-t4 committed Nov 5, 2024
1 parent 1c84ddf commit f9859d4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planning/behavior_path_lane_change_module/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1342,8 +1342,8 @@ bool has_overtaking_turn_lane_object(
const ExtendedPredictedObjects & trailing_objects)
{
// Note: This situation is only applicable if the ego is in a turn lane.
if (!has_passed_intersection_turn_direction(lc_param, status)) {
return true;
if (has_passed_intersection_turn_direction(lc_param, status)) {
return false;
}

const auto & target_lanes = status.target_lanes;
Expand Down

0 comments on commit f9859d4

Please sign in to comment.