Skip to content

Commit

Permalink
Merge pull request #1501 from tier4/hotfix/v0.29.0/cherry-pick-avoidance
Browse files Browse the repository at this point in the history
fix(static_obstacle_avoidance): use wrong parameter (autowarefoundation#8720)
  • Loading branch information
satoshi-ota authored Sep 3, 2024
2 parents c9e78d6 + 9b7759f commit 44fb380
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ class AvoidanceHelper
{
const auto & p = parameters_;
return prepare_distance >
std::max(getEgoSpeed() * p->min_prepare_distance, p->min_prepare_distance);
std::max(getEgoSpeed() * p->min_prepare_time, p->min_prepare_distance);
}

bool isComfortable(const AvoidLineArray & shift_lines) const
Expand Down

0 comments on commit 44fb380

Please sign in to comment.