-
Notifications
You must be signed in to change notification settings - Fork 672
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(voxel_grid_downsample_filter): performance tuning #3679
perf(voxel_grid_downsample_filter): performance tuning #3679
Conversation
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
…el_grid_downsample_filger
sensing/pointcloud_preprocessor/src/downsample_filter/voxel_grid_downsample_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
sensing/pointcloud_preprocessor/src/downsample_filter/voxel_grid_downsample_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
@atsushi421 Thank you for your PR 👍 I just commented |
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
@yukkysaito |
@@ -0,0 +1,92 @@ | |||
// Copyright 2020 Tier IV, Inc. |
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.
// Copyright 2020 Tier IV, Inc. | |
// Copyright 2023 TIER IV, Inc. |
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.
Fixed in 6451075.
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.
@atsushi421 Looks like no change 🙏
sensing/pointcloud_preprocessor/src/downsample_filter/faster_voxel_grid_downsample_filter.cpp
Outdated
Show resolved
Hide resolved
sensing/pointcloud_preprocessor/src/downsample_filter/faster_voxel_grid_downsample_filter.cpp
Outdated
Show resolved
Hide resolved
@atsushi421 Thank you for your modification 👍 it is looks like almost good!
Are you able to confirm that the point clouds are the same, not just the data size? 🙏 |
sensing/pointcloud_preprocessor/include/pointcloud_preprocessor/filter.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
…xel_grid_downsample_filger
Signed-off-by: atsushi421 <yff81986@nifty.com>
…ttps://github.com/atsushi421/autoware.universe into performance_tuning_for_voxel_grid_downsample_filger
Signed-off-by: atsushi421 <yff81986@nifty.com>
@yukkysaito |
...r/include/pointcloud_preprocessor/downsample_filter/voxel_grid_downsample_filter_nodelet.hpp
Outdated
Show resolved
Hide resolved
sensing/pointcloud_preprocessor/include/pointcloud_preprocessor/transform_info.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: atsushi421 <yff81986@nifty.com>
Signed-off-by: atsushi421 <yff81986@nifty.com>
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
…el_grid_downsample_filger
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.
There is a typo in filename: dowNsample
// See the License for the specific language governing permissions and | ||
// limitations under the License. | ||
|
||
#include "pointcloud_preprocessor/downsample_filter/faster_voxel_grid_dowmsample_filter.hpp" |
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.
typo
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3679 +/- ##
==========================================
- Coverage 14.38% 14.37% -0.02%
==========================================
Files 1563 1566 +3
Lines 107631 107725 +94
Branches 31175 31175
==========================================
Hits 15481 15481
- Misses 75325 75419 +94
Partials 16825 16825
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
…arefoundation#3679)" This reverts commit edcad42.
…arefoundation#3679)" This reverts commit edcad42.
Description
This PR makes
voxel_grid_downsample_filter
faster without changing the logical output.The tail latency of the
voxel_grid_downsample_filter
node gets about x2.3 faster with this PR merged.Measurement Condition
Related links
Tests performed
I have comfirmed the following between point clouds with the same timestamp before and after this PR:
To reproduce: https://drive.google.com/drive/folders/1mON3GN-2v8uUPjw1oejasflOP_O-V0kc?usp=share_link
Notes for reviewers
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.
After all checkboxes are checked, anyone who has write access can merge the PR.