We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c84ddf commit f9859d4Copy full SHA for f9859d4
planning/behavior_path_lane_change_module/src/utils/utils.cpp
@@ -1342,8 +1342,8 @@ bool has_overtaking_turn_lane_object(
1342
const ExtendedPredictedObjects & trailing_objects)
1343
{
1344
// 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;
+ if (has_passed_intersection_turn_direction(lc_param, status)) {
+ return false;
1347
}
1348
1349
const auto & target_lanes = status.target_lanes;
0 commit comments