-
Notifications
You must be signed in to change notification settings - Fork 650
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
feat(autoware_ground_segmentation): grid data structure revision for efficiency improve #9297
base: main
Are you sure you want to change the base?
feat(autoware_ground_segmentation): grid data structure revision for efficiency improve #9297
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
d5420a1
to
6d76680
Compare
Signed-off-by: Taekjin LEE <[email protected]>
…ode.cpp Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
… size refactor: Update Grid class initialization to use radians for azimuth size refactor: Update Grid class initialization to use radians for azimuth size Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
… size Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
…nt a segmentation logic refactor: Update Grid class initialization and reset methods, implement a segmentation logic refactor: replace original methods Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
refactor: remove previous scan ground grid Signed-off-by: Taekjin LEE <[email protected]>
…for radius comparisons Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
fix: ground bin logic fix Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
fix: azimuth grid index converter bug Signed-off-by: Taekjin LEE <[email protected]>
fix: cell connection bug fix Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
b63d4f1
to
980e054
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9297 +/- ##
===========================================
- Coverage 29.19% 13.97% -15.22%
===========================================
Files 1333 84 -1249
Lines 102795 5932 -96863
Branches 39870 1386 -38484
===========================================
- Hits 30008 829 -29179
+ Misses 69926 4980 -64946
+ Partials 2861 123 -2738
☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
Signed-off-by: Taekjin LEE <[email protected]>
std::memcpy( | ||
&out_object_cloud.data[output_data_size], &in_cloud_ptr->data[i * in_cloud_ptr->point_step], | ||
&out_object_cloud.data[output_data_size], &in_cloud_ptr->data[idx], |
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.
idx
is index of point in pointcloud, is correct to use directly for memcpy?
// Get Point | ||
pcl::PointXYZ input_point; | ||
data_accessor_.getPoint(in_cloud_, data_index, input_point); | ||
grid_ptr_->addPoint(input_point.x, input_point.y, data_index); |
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.
Q: why did you use y
for input of addPoint
? as the function definition, it should be height?
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Signed-off-by: Taekjin LEE <[email protected]>
Description
Change data structure of grid for calculation efficiency improvement.
This PR do not change main logic of the
scan_ground_filter
.This performance improvement only will be implemented when the option
elevation_grid_mode
is true.How the efficiency is improved
Drawbacks
Drawback mitigation
set the parameter
grid_size_m
to 0.5PR autowarefoundation/autoware_launch#1223
Related links
Parent Issue:
How was this PR tested?
Performance test (check degradation)
TIER IV INTERNAL
Tested with
grid_size_m
of 0.5 and there was no degradation confirmed.Processing time
Before
Computation time difference by grid size is negligible.
After
The larger grid size, the lower computation time.
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.