Skip to content

Commit aee97ba

Browse files
h-ohtasatoshi-ota
andauthored
fix(static_obstacle_avoidance): change implementation the logic to remove invalid small shift lines (autowarefoundation#8721) (#1775)
Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com> fix(static_obstacle_avoidance): remove invalid small shift lines (autowarefoundation#8344)"
1 parent ab1b4d2 commit aee97ba

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/src/shift_line_generator.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ AvoidLineArray ShiftLineGenerator::applyFillGapProcess(
812812

813813
// fill gap among shift lines.
814814
for (size_t i = 0; i < sorted.size() - 1; ++i) {
815-
if (sorted.at(i + 1).start_longitudinal < sorted.at(i).end_longitudinal) {
815+
if (sorted.at(i + 1).start_longitudinal < sorted.at(i).end_longitudinal + 1e-3) {
816816
continue;
817817
}
818818

@@ -827,8 +827,6 @@ AvoidLineArray ShiftLineGenerator::applyFillGapProcess(
827827
utils::static_obstacle_avoidance::fillAdditionalInfoFromLongitudinal(
828828
data, debug.step1_front_shift_line);
829829

830-
applySmallShiftFilter(ret, 1e-3);
831-
832830
return ret;
833831
}
834832

0 commit comments

Comments
 (0)