Skip to content

Commit

Permalink
feat(intersection): disable peeking while collision is detected
Browse files Browse the repository at this point in the history
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
  • Loading branch information
soblin committed May 22, 2023
1 parent a9da72e commit 6cbac75
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ bool IntersectionModule::modifyPathVelocity(PathWithLaneId * path, StopReason *
RCLCPP_DEBUG(logger_, "===== plan end =====");
return true;
}
if (before_creep_state_machine_.getState() == StateMachine::State::GO) {
if (before_creep_state_machine_.getState() == StateMachine::State::GO && has_collision) {
occlusion_stop_required = true;
occlusion_peeking_line_idx = occlusion_peeking_line_idx_opt;

Expand Down

0 comments on commit 6cbac75

Please sign in to comment.