We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2e309d commit 7e02693Copy full SHA for 7e02693
planning/behavior_path_planner_common/src/utils/drivable_area_expansion/static_drivable_area.cpp
@@ -1481,6 +1481,10 @@ std::vector<geometry_msgs::msg::Point> postProcess(
1481
const auto & vehicle_length = planner_data->parameters.vehicle_length;
1482
constexpr double overlap_threshold = 0.01;
1483
1484
+ if (original_bound.size() < 2) {
1485
+ return original_bound;
1486
+ }
1487
+
1488
const auto addPoints =
1489
[](const lanelet::ConstLineString3d & points, std::vector<geometry_msgs::msg::Point> & bound) {
1490
for (const auto & bound_p : points) {
0 commit comments