Skip to content

Commit 64c6dba

Browse files
authored
fix(avoidance): fix condition to trim front shift line (autowarefoundation#5949)
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1 parent cc1d483 commit 64c6dba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

planning/behavior_path_avoidance_module/src/shift_line_generator.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@ void ShiftLineGenerator::applySmallShiftFilter(
890890
continue;
891891
}
892892

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

0 commit comments

Comments
 (0)