Skip to content

Commit

Permalink
fix(behavior_path_planner): unable to fix bound (#3942)
Browse files Browse the repository at this point in the history
Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com>
  • Loading branch information
rej55 authored Jun 13, 2023
1 parent fc8766e commit 463d4e2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions planning/behavior_path_planner/src/utils/utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1510,8 +1510,11 @@ void generateDrivableArea(
}

// make bound longitudinally monotonic
makeBoundLongitudinallyMonotonic(path, true); // for left bound
makeBoundLongitudinallyMonotonic(path, false); // for right bound
// TODO(Murooka) Fix makeBoundLongitudinallyMonotonic
if (enable_expanding_polygon) {
makeBoundLongitudinallyMonotonic(path, true); // for left bound
makeBoundLongitudinallyMonotonic(path, false); // for right bound
}
}

// calculate bounds from drivable lanes and hatched road markings
Expand Down

0 comments on commit 463d4e2

Please sign in to comment.