-
Notifications
You must be signed in to change notification settings - Fork 683
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
perf(map_based_prediction): filter surrounding crosswalks for pedestrians beforehand #8388
Conversation
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>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Codecov ReportAttention: Patch coverage is
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
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
7a516a5
to
bed9b41
Compare
Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
…ians beforehand (autowarefoundation#8388) fix withinAnyCroswalk Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…ians beforehand (autowarefoundation#8388) fix withinAnyCroswalk Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…ians beforehand (autowarefoundation#8388) fix withinAnyCroswalk Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: xtk8532704 <1041084556@qq.com>
Description
iterating all
crosswalks_
is really slow, so filter surrounding crosswalk beforehand for each objectRelated 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.