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 authored and saka1-s committed Nov 9, 2024
1 parent 87337f4 commit 1bcf343
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1293,6 +1293,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 1bcf343

Please sign in to comment.