Skip to content

Commit

Permalink
fix(static_obstacle_avoidance): use wrong parameter (autowarefoundati…
Browse files Browse the repository at this point in the history
…on#8720) (#1502)

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota authored Sep 3, 2024
1 parent 30a9576 commit 6d9633e
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 6d9633e

Please sign in to comment.