-
Notifications
You must be signed in to change notification settings - Fork 682
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(occupancy_grid_map_outlier_filter): improve performance #5980
Conversation
1ac3db7
to
7726ae6
Compare
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
perception/occupancy_grid_map_outlier_filter/src/occupancy_grid_map_outlier_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
perception/occupancy_grid_map_outlier_filter/src/occupancy_grid_map_outlier_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
If possible, |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5980 +/- ##
==========================================
+ Coverage 14.80% 15.04% +0.24%
==========================================
Files 1915 1839 -76
Lines 132245 126319 -5926
Branches 39317 37969 -1348
==========================================
- Hits 19576 19009 -567
+ Misses 90838 86027 -4811
+ Partials 21831 21283 -548
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@veqcc Is this PR ready for merge? |
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
Signed-off-by: Taiga Takano <[email protected]>
e8a967a
to
68b16b6
Compare
@YoshiRi |
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.
Thanks! LGTM
@takanotaiga |
@veqcc
|
@takanotaiga |
@veqcc I thought that simply displaying the improvement graph of the main callback might not clearly show the difference, so I also displayed the improved |
@takanotaiga |
I'm sorry. I misunderstood the graph. Tomorrow, I will check if the numbers are incorrect. It seems that I might have confused "before" and "after." |
@veqcc onOccupancyGridMapAndPointCloud2
splitPointCloudFrontBack
|
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 👍
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]> Signed-off-by: kaigohirao <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
…efoundation#5980) * improve perfomance Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fixed the bug and corrected the spelling mistake. Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * fix bug Signed-off-by: Taiga Takano <[email protected]> * style(pre-commit): autofix Signed-off-by: Taiga Takano <[email protected]> * change filter Signed-off-by: Taiga Takano <[email protected]> --------- Signed-off-by: Taiga Takano <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Yoshi Ri <[email protected]>
Signed-off-by: Taiga Takano [email protected]
Description
This PR improves performance with the following major changes:
Measurement
With this PR, the node (measurement is the overall latency of the callback) will be approximately more than twice as fast.