Skip to content

Commit

Permalink
style(pre-commit): autofix
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 11, 2024
1 parent 89a9d99 commit 776b509
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -476,8 +476,8 @@ std::optional<geometry_msgs::msg::Pose> CrosswalkModule::calcStopPose(

const double strong_brk_dist = [&]() {
const auto strong_brk_dist_opt = autoware::motion_utils::calcDecelDistWithJerkAndAccConstraints(
ego_vel_non_nega, 0.0, ego_acc, p.min_acc_for_no_stop_decision,
10.0, p.min_jerk_for_no_stop_decision);
ego_vel_non_nega, 0.0, ego_acc, p.min_acc_for_no_stop_decision, 10.0,

Check warning on line 479 in planning/behavior_velocity_planner/autoware_behavior_velocity_crosswalk_module/src/scene_crosswalk.cpp

View workflow job for this annotation

GitHub Actions / spell-check-differential

Unknown word (nega)
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) {
Expand Down

0 comments on commit 776b509

Please sign in to comment.