Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(route_handler): simplify queries on the road and shoulder lanelets #6885

Conversation

maxime-clem
Copy link
Contributor

@maxime-clem maxime-clem commented Apr 25, 2024

Description

Currently, some functions are performing queries on ALL shoulder or road lanelets of the map.
With very large maps, this leads to performance issues which are solved by this PR.

Tests performed

Evaluator (TIER IV INTERNAL LINK): https://evaluation.tier4.jp/evaluation/reports/7a9c88f8-9724-57ba-a7cf-568b385f18f6?project_id=prd_jt

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Apr 25, 2024
@maxime-clem maxime-clem force-pushed the perf/route_handler-rm_road_lanelets branch 3 times, most recently from 2ae0949 to fb992b4 Compare April 26, 2024 06:10
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
also improve isShoulderLanelet (replace is_road_shoulder)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
using the routing graph did not work

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
@maxime-clem maxime-clem force-pushed the perf/route_handler-rm_road_lanelets branch from cfa9ed9 to 3a4d940 Compare April 29, 2024 08:10
@maxime-clem maxime-clem changed the title perf(route_handler): simplify queries on the road lanelets perf(route_handler): simplify queries on the road and shoulder lanelets Apr 29, 2024
@maxime-clem maxime-clem marked this pull request as ready for review April 29, 2024 11:45
Copy link
Contributor

@kyoichi-sugahara kyoichi-sugahara left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you so much for improving and sorry for leaving my temporary implementation 🙇

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
@kosuke55
Copy link
Contributor

wow! thanks!!

@maxime-clem maxime-clem added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Apr 30, 2024
@maxime-clem maxime-clem merged commit db38f04 into autowarefoundation:main May 8, 2024
34 of 37 checks passed
@maxime-clem maxime-clem deleted the perf/route_handler-rm_road_lanelets branch May 8, 2024 07:36
vividf pushed a commit to vividf/autoware.universe that referenced this pull request May 16, 2024
…ts (autowarefoundation#6885)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…ts (autowarefoundation#6885)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
satoshi-ota pushed a commit to tier4/autoware.universe that referenced this pull request Jun 6, 2024
…ts (autowarefoundation#6885)

Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) 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.

4 participants