Skip to content

Commit

Permalink
Merge pull request #977 from satoshi-ota/hotfix/avoidance-2
Browse files Browse the repository at this point in the history
fix(utils): fix drivable area expansion with intersection area
  • Loading branch information
takayuki5168 authored Oct 31, 2023
2 parents d0b5e19 + 7cda3f0 commit 54931e5
Show file tree
Hide file tree
Showing 2 changed files with 249 additions and 119 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,15 @@ std::vector<geometry_msgs::msg::Point> calcBound(
const bool enable_expanding_hatched_road_markings, const bool enable_expanding_intersection_areas,
const bool is_left);

std::vector<lanelet::ConstPoint3d> getBoundWithHatchedRoadMarkings(
const std::vector<lanelet::ConstPoint3d> & original_bound,
const std::shared_ptr<RouteHandler> & route_handler);

std::vector<lanelet::ConstPoint3d> getBoundWithIntersectionAreas(
const std::vector<lanelet::ConstPoint3d> & original_bound,
const std::shared_ptr<RouteHandler> & route_handler,
const std::vector<DrivableLanes> & drivable_lanes, const bool is_left);

boost::optional<size_t> getOverlappedLaneletId(const std::vector<DrivableLanes> & lanes);
std::vector<DrivableLanes> cutOverlappedLanes(
PathWithLaneId & path, const std::vector<DrivableLanes> & lanes);
Expand Down
Loading

0 comments on commit 54931e5

Please sign in to comment.