From 0bf4a8b0772051ac0b448e7fb2b2f2322d008ae0 Mon Sep 17 00:00:00 2001 From: Yuki Takagi Date: Wed, 11 Sep 2024 17:38:12 +0900 Subject: [PATCH] follow param def change Signed-off-by: Yuki Takagi --- .../src/scene_crosswalk.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp b/planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp index 140e1685baa8d..8fec17bae2dd1 100644 --- a/planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp +++ b/planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp @@ -478,7 +478,7 @@ std::optional CrosswalkModule::calcStopPose( 10.0, p.min_jerk_for_no_stop_decision); return strong_brk_dist_opt ? strong_brk_dist_opt.value() : 0.0; }(); - if (selected_stop.dist < strong_brk_dist + p.overrun_threshold_length_for_no_stop_decision) { + if (selected_stop.dist < strong_brk_dist - p.overrun_threshold_length_for_no_stop_decision) { RCLCPP_INFO( logger_, "Abandon to stop. "