Skip to content

Commit

Permalink
PR9119
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <[email protected]>
  • Loading branch information
soblin committed Oct 22, 2024
1 parent 9cc857a commit 8da4064
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1352,6 +1352,10 @@ IntersectionModule::PassJudgeStatus IntersectionModule::isOverPassJudgeLinesStat
std::get<intersection::OccludedAbsenceTrafficLight>(prev_decision_result_);
return !state.collision_detected;
}
if (std::holds_alternative<intersection::FullyPrioritized>(prev_decision_result_)) {
const auto & prev_decision = std::get<intersection::FullyPrioritized>(prev_decision_result_);
return !prev_decision.collision_detected;
}
return false;
}();

Expand Down

0 comments on commit 8da4064

Please sign in to comment.