Skip to content
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(lidar_centerpoint): optimize non-maximum suppression algorithm #1689

Conversation

technolojin
Copy link

Description

cherry pick of autowarefoundation#9595

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Refactor the `NonMaximumSuppression` class in the `lidar_centerpoint` module to optimize the non-maximum suppression algorithm. This includes removing the `isTargetLabel` function and modifying the `isTargetPairObject` function to handle pedestrian labels differently. Additionally, the `search_distance_2d_sq_` variable is now initialized in the `setParameters` function.
@technolojin technolojin marked this pull request as ready for review December 11, 2024 04:16
@technolojin technolojin self-assigned this Dec 11, 2024
@technolojin technolojin requested a review from YoshiRi December 11, 2024 04:32
Copy link

sonarcloud bot commented Dec 11, 2024

@knzo25
Copy link

knzo25 commented Dec 11, 2024

@technolojin
Is there a particular reason for not cherrypicking the squashed commit related to the upstream PR? (asking because not all the changes are here)

@technolojin
Copy link
Author

@knzo25
I said cherry-picking, but it is not exactly true. It is a manual work since it had namespace differences
(object_recognition_utils != autoware::object_recognition_utils)

Copy link

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

The deletion of the NMS_TYPE, documentation, etc, differs from the upstream PR, but the core functionality is the same. If this is ok for this version, then the PR can be merged

@technolojin technolojin merged commit 44bdb48 into tier4:beta/x2_gen2/v0.29.0 Dec 11, 2024
20 of 23 checks passed
@technolojin technolojin deleted the fix/centerpoint/nms-target-logic branch December 11, 2024 07:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants