-
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
fix(autoware_image_projection_based_fusion): detected object roi box projection fix #9519
fix(autoware_image_projection_based_fusion): detected object roi box projection fix #9519
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
fe461df
to
3d9f51c
Compare
perception/autoware_image_projection_based_fusion/src/roi_detected_object_fusion/node.cpp
Show resolved
Hide resolved
1. eliminate misuse of std::numeric_limits<double>::min() 2. fix roi range up to the image edges Signed-off-by: Taekjin LEE <[email protected]>
Improve the calculation of the region of interest (ROI) in the RoiDetectedObjectFusionNode. The previous code had an issue where the ROI range was not correctly limited to the image edges. This fix ensures that the ROI is within the image boundaries by using the correct comparison operators for the x and y coordinates. Signed-off-by: Taekjin LEE <[email protected]>
3d9f51c
to
26cdeea
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9519 +/- ##
==========================================
- Coverage 29.49% 29.49% -0.01%
==========================================
Files 1443 1444 +1
Lines 108648 108659 +11
Branches 41537 41538 +1
==========================================
+ Hits 32047 32048 +1
- Misses 73479 73489 +10
Partials 3122 3122
*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.
LGTM
Description
std::numeric_limits<double>::min()
Related links
Parent Issue:
How was this PR tested?
Objects at the edges are fused without issue.
Notes for reviewers
It will be merged after #9505 is merged and the build issue is resolved.
Interface changes
None.
Effects on system behavior
None.