Skip to content

Commit

Permalink
fix(avoidance): fix condition to trim front shift line (autowarefound…
Browse files Browse the repository at this point in the history
…ation#5949)

Signed-off-by: satoshi-ota <[email protected]>
  • Loading branch information
satoshi-ota committed Mar 8, 2024
1 parent 1a96550 commit 212feb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -890,7 +890,7 @@ void ShiftLineGenerator::applySmallShiftFilter(
continue;
}

if (s.start_longitudinal < helper_->getMinimumPrepareDistance()) {
if (s.start_longitudinal + 1e-3 < helper_->getMinimumPrepareDistance()) {
continue;
}

Expand Down

0 comments on commit 212feb4

Please sign in to comment.