Skip to content

feat: add support for area for route planning#993

Open
emmeyteja wants to merge 7 commits intoautowarefoundation:mainfrom
emmeyteja:feat/add-area-support-for-route-search-thru-lanelet-area-lanelet
Open

feat: add support for area for route planning#993
emmeyteja wants to merge 7 commits intoautowarefoundation:mainfrom
emmeyteja:feat/add-area-support-for-route-search-thru-lanelet-area-lanelet

Conversation

@emmeyteja
Copy link
Copy Markdown

@emmeyteja emmeyteja commented Mar 24, 2026

Description

Enable global routing through Lanelet2 Areas by registering AutowareVehicle traffic rules (Areas passable per GenericTrafficRules / participant tags) and extending RouteHandler to plan with shortestPathIncludingAreas, build LaneletSegments with primitive_type == "area", and support drivable-lane fallbacks where needed. Areas are connectors in the routing graph only—no centerline or path inside the Area; lane legs stay lanelet-based.

Related Links

Related PRs

Issues
TierIV Internal Issue Link

Design Documents
Tier IV Internal Design Document: Area Visualization
Tier IV Internal Design Document: Route Serach through Areas

How was this PR tested?

  • Colcon build of touched packages (autoware_lanelet2_extension, autoware_route_handler, and dependents as needed).
  • Route handler / mission tests or a minimal L–A–L map in sim, if available in-tree.

Notes for reviewers

None.

Interface changes

No new ROS topics or parameters in core. C++ RouteHandler (and related headers) gain overloads and helpers for area-inclusive paths and segment construction. Downstream LaneletRoute.segments may include primitive_type == "area" once the mission planner uses this pipeline (that wiring may be a separate PR).

Effects on system behavior

Routes can traverse Areas as graph links, so some maps become plannable that were not before.
Lane-only routes and maps without area-inclusive paths should match prior behavior.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 24, 2026

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@emmeyteja
Copy link
Copy Markdown
Author

@mitsudome-r @soblin Could you please review this PR?

Copy link
Copy Markdown
Member

@mitsudome-r mitsudome-r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are multiple changes included in this PR.
Could you split the PRs into the following?

  • adding visualization support of Area
  • adding support of area for route_manager
  • adding support for area for route_handler

It helps us to make the review easier and also easier to revert only the necessary parts when there is an issue.

@emmeyteja
Copy link
Copy Markdown
Author

There are multiple changes included in this PR. Could you split the PRs into the following?

@mitsudome-r as we spoke in slack, I am going to split this PR into two PRs. One for routing search through Area primitive and publish in the route, second PR for visualizations of Area primitives. Please review.

@mitsudome-r mitsudome-r force-pushed the feat/add-area-support-for-route-search-thru-lanelet-area-lanelet branch from 3853724 to d6f070f Compare April 27, 2026 04:03
@emmeyteja emmeyteja enabled auto-merge (squash) April 27, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants