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(map_based_prediction): filter surrounding crosswalks for pedestrians beforehand #8388

Merged

Conversation

soblin
Copy link
Contributor

@soblin soblin commented Aug 7, 2024

Description

iterating all crosswalks_ is really slow, so filter surrounding crosswalk beforehand for each object

Related links

https://tier4.atlassian.net/browse/RT0-32279

How was this PR tested?

https://evaluation.tier4.jp/evaluation/reports/2f811188-c27e-5dce-9a11-381656ee369c?project_id=prd_jt

worst computation time of objectsCallbak reduced from 38.59ms to 18.59ms for a rosbag with many pedestrians.

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Aug 7, 2024
Copy link

github-actions bot commented Aug 7, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Copy link
Contributor

@technolojin technolojin left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@YoshiRi YoshiRi left a comment

Choose a reason for hiding this comment

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

LGTM

@technolojin technolojin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 7, 2024
Copy link

codecov bot commented Aug 7, 2024

Codecov Report

Attention: Patch coverage is 0% with 19 lines in your changes missing coverage. Please review.

Project coverage is 23.73%. Comparing base (e541300) to head (2aeb41f).
Report is 17 commits behind head on main.

Files Patch % Lines
...based_prediction/src/map_based_prediction_node.cpp 0.00% 19 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8388      +/-   ##
==========================================
- Coverage   23.76%   23.73%   -0.03%     
==========================================
  Files        1379     1381       +2     
  Lines      101362   101376      +14     
  Branches    38528    38521       -7     
==========================================
- Hits        24086    24063      -23     
- Misses      74796    74816      +20     
- Partials     2480     2497      +17     
Flag Coverage Δ *Carryforward flag
differential 2.14% <0.00%> (?)
total 23.74% <ø> (-0.02%) ⬇️ Carriedforward from 7d2025c

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@technolojin technolojin enabled auto-merge (squash) August 7, 2024 08:26
@technolojin technolojin force-pushed the debug/map-based-prediction2 branch from 7a516a5 to bed9b41 Compare August 7, 2024 08:43
@technolojin technolojin changed the title feat(map_based_prediction): filter surrounding crosswalks for pedestrians beforehand perf(map_based_prediction): filter surrounding crosswalks for pedestrians beforehand Aug 7, 2024
@technolojin technolojin merged commit ba5da74 into autowarefoundation:main Aug 7, 2024
28 of 30 checks passed
@technolojin technolojin deleted the debug/map-based-prediction2 branch August 7, 2024 11:26
shmpwk pushed a commit to tier4/autoware.universe that referenced this pull request Aug 7, 2024
…ians beforehand (autowarefoundation#8388)

fix withinAnyCroswalk

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…ians beforehand (autowarefoundation#8388)

fix withinAnyCroswalk

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
xtk8532704 pushed a commit to tier4/autoware.universe that referenced this pull request Aug 15, 2024
…ians beforehand (autowarefoundation#8388)

fix withinAnyCroswalk

Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: xtk8532704 <1041084556@qq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (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.

5 participants