-
Notifications
You must be signed in to change notification settings - Fork 691
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(ndt_scan_matcher): added a function to check maximum distance of sensor points #6559
feat(ndt_scan_matcher): added a function to check maximum distance of sensor points #6559
Conversation
Signed-off-by: Shintaro SAKODA <[email protected]>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6559 +/- ##
==========================================
- Coverage 14.78% 14.78% -0.01%
==========================================
Files 1917 1917
Lines 132040 132076 +36
Branches 39238 39264 +26
==========================================
Hits 19524 19524
- Misses 90721 90754 +33
- Partials 21795 21798 +3
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
@SakodaShintaro
Almost perfect to me!
I made a situation that the concatenation doesn't work well by making timeout_sec
to 0.01 [s] from 0.1 [s] in the concatenate_data
node, and the implementation in this PR worked well.
Apart for that, could you add the unit [m] to the warning message for clarity?
Signed-off-by: Shintaro SAKODA <[email protected]>
@SakodaShintaro It is just my opinion but should we create a new node to perform this check on input clouds; or can we move this function (cloud validation) to a node that performs pre-processing steps on clouds? Some reasons for this:
|
@anhnv3991 Although this is an important point, it seems like it will take some time to fix it, so I would like to try merging this PR as is. The current autoware.universe is degraded, which initial position estimation fails with sample-rosbag with a probability of about 50%, so I would like to fix this as soon as possible. However, since good design is of course important, I will address your points in detail. (1) Concurrency (2) Modularity (3) Reusability |
Signed-off-by: Shintaro SAKODA <[email protected]>
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
b8c9701
into
autowarefoundation:main
… sensor points (autowarefoundation#6559) * Added function to check maximum distance of sensor points Signed-off-by: Shintaro SAKODA <[email protected]> * style(pre-commit): autofix * Added unit Signed-off-by: Shintaro SAKODA <[email protected]> * Fixed json schema Signed-off-by: Shintaro SAKODA <[email protected]> --------- Signed-off-by: Shintaro SAKODA <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: kaigohirao <[email protected]>
… sensor points (autowarefoundation#6559) * Added function to check maximum distance of sensor points Signed-off-by: Shintaro SAKODA <[email protected]> * style(pre-commit): autofix * Added unit Signed-off-by: Shintaro SAKODA <[email protected]> * Fixed json schema Signed-off-by: Shintaro SAKODA <[email protected]> --------- Signed-off-by: Shintaro SAKODA <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
Context
The current
ndt_scan_matcher
does not check the normality of the input point cloud, and performs scan matching even when an abnormal point cloud comes in, leading to incorrect position estimation.In particular, the pull requests below have been merged to make the default input point cloud topic
/sensing/lidar/concatenated/pointcloud
, which rarely outputs point clouds concatenated with short-range LiDAR only.ndt_scan_matcher
should check the validity of the input point cloud.Changes
As a first step in checking the input point cloud, this PR checks to see if there are points are more than a specified distance apart.
Note
This PR must be merged with
Tests performed
It has been confirmed that the
logging_simulator
runs with the same accuracy as before on AWSIM data with GT.sample rosbag
The probability of incorrect initial position estimation in Sample-rosbag performed under poor computational resources has been reduced from 3/7 to nearly 0/7.
Effects on system behavior
The possibility of ndt being incorrect is slightly reduced.
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.