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 6047f1c commit 1319feb
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -413,10 +413,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 1319feb

Please sign in to comment.