Skip to content

Commit

Permalink
fix(crosswalk): fix build (#801)
Browse files Browse the repository at this point in the history
Signed-off-by: kosuke55 <[email protected]>
  • Loading branch information
kosuke55 authored Sep 5, 2023
1 parent e2cabf5 commit d992f4d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -747,6 +747,8 @@ Polygon2d CrosswalkModule::getAttentionArea(
break;
}

const auto & p_ego_front = sparse_resample_path.points.at(j).point.pose;
const auto & p_ego_back = sparse_resample_path.points.at(j + 1).point.pose;
const auto ego_one_step_polygon = createOneStepPolygon(p_ego_front, p_ego_back, ego_polygon);

debug_data_.ego_polygons.push_back(toGeometryPointVector(ego_one_step_polygon, ego_pos.z));
Expand Down

0 comments on commit d992f4d

Please sign in to comment.