Skip to content

Commit

Permalink
follow param def change
Browse files Browse the repository at this point in the history
Signed-off-by: Yuki Takagi <[email protected]>
  • Loading branch information
yuki-takagi-66 committed Sep 11, 2024
1 parent 4f36c4a commit 0bf4a8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ std::optional<geometry_msgs::msg::Pose> 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. "
Expand Down

0 comments on commit 0bf4a8b

Please sign in to comment.