We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ae6082 commit 16d04d9Copy full SHA for 16d04d9
planning/behavior_path_planner/autoware_behavior_path_goal_planner_module/src/util.cpp
@@ -191,7 +191,7 @@ std::optional<Polygon2d> generateObjectExtractionPolygon(
191
constexpr double INTERSECTION_CHECK_DISTANCE = 10.0;
192
std::vector<Point> modified_bound{};
193
size_t i = 0;
194
- while (i < bound.size() - 2) {
+ while (i < bound.size() - 1) {
195
BoostPoint p1(bound.at(i).x, bound.at(i).y);
196
BoostPoint p2(bound.at(i + 1).x, bound.at(i + 1).y);
197
LineString p_line{};
0 commit comments