-
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
fix(avoidance): don't use polygon centroid in shiftable ratio calculation #6285
fix(avoidance): don't use polygon centroid in shiftable ratio calculation #6285
Conversation
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.
The code looks good to me.
…tion Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
fddde11
to
a02b0e8
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6285 +/- ##
==========================================
- Coverage 14.91% 14.36% -0.55%
==========================================
Files 1817 1907 +90
Lines 125357 130141 +4784
Branches 37640 37643 +3
==========================================
Hits 18697 18697
- Misses 85651 90435 +4784
Partials 21009 21009
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
fix(avoidance): don't use polygon centroid in shiftable ratio calculation (autowarefoundation#6285)
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…tion (autowarefoundation#6285) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
Description
Fix bug. In previous implementaion, the module calculated the shift ratioby using envelope polygon centroid for each objects. But it should use original object's position in that logic.
Tests performed
Effects on system behavior
Improve avoidance maneuver.
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.