Skip to content

Commit

Permalink
call setSafe() regardless of occlusion_stop_required
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 f38e646 commit 37e88bb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -411,10 +411,9 @@ bool IntersectionModule::modifyPathVelocity(PathWithLaneId * path, StopReason *
if (occlusion_stop_required) {
occlusion_first_stop_required_ = first_phase_stop_required;
occlusion_safety_ = is_occlusion_cleared;
} else {
/* collision */
setSafe(collision_state_machine_.getState() == StateMachine::State::GO);
}
/* collision */
setSafe(collision_state_machine_.getState() == StateMachine::State::GO);

/* make decision */
const double baselink2front = planner_data_->vehicle_info_.max_longitudinal_offset_m;
Expand Down

0 comments on commit 37e88bb

Please sign in to comment.