-
Notifications
You must be signed in to change notification settings - Fork 661
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(avoidance): consider objects on shift side lane #6252
feat(avoidance): consider objects on shift side lane #6252
Conversation
2207380
to
c209a0c
Compare
c209a0c
to
85a6d9d
Compare
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!
sorry for late approval
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
85a6d9d
to
6acafbc
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6252 +/- ##
==========================================
- Coverage 14.86% 14.86% -0.01%
==========================================
Files 1845 1845
Lines 126636 126649 +13
Branches 37876 37890 +14
==========================================
+ Hits 18823 18824 +1
- Misses 86655 86657 +2
- Partials 21158 21168 +10
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
feat(avoidance): consider objects on shift side lane (autowarefoundation#6252)
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…ion#6252) * fix(avoidance): check safety for only moving objects Signed-off-by: satoshi-ota <[email protected]> * feat(avoidance): consider ignore object in avoid margin calculation Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use nearest overhang point Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
Description
Related tickets: https://tier4.atlassian.net/browse/RT1-4740
This PR includes following two modifications of stopped objects handling:
1. do NOT consider stopped object in safety check logic.
commit: 0cedbfc
Previously, the avoidance module considered all objects in safety check logic. But sometimes it judged UNSAFE for stopped object on shift side lane. This caused unnecessary yield maneuver. (Basically, I don't think it's meaningless to yield for stopped objects.) Therefore, I fixed logic in order to ignore them in safety check logic.
2. consider stopped object in shift length calculation even if it's NOT an avoidance target.
commit: e6f5cab
On the other hand, it need to consider stopped object in avoidance path generation step because if the module doesn't take care of the stopped objects at all, its avoidance path is maybe closer to shift side stopped objects. So, I fixed logic of shiftable length calculation so that it can output distance to stopped objects.
simplescreenrecorder-2024-01-31_17.45.41.mp4
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.