-
Notifications
You must be signed in to change notification settings - Fork 659
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): wait and see ambiguous stopped vehicle #6631
Conversation
Important Auto Review SkippedDraft detected. Please check the settings in the CodeRabbit UI or the To trigger a single review, invoke the Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
48c5fe5
to
c1ec95b
Compare
c1ec95b
to
fbd0f8e
Compare
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
fbd0f8e
to
378632a
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
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6631 +/- ##
==========================================
+ Coverage 14.77% 14.79% +0.01%
==========================================
Files 1925 1925
Lines 132754 133473 +719
Branches 39548 40042 +494
==========================================
+ Hits 19620 19742 +122
- Misses 91166 91655 +489
- Partials 21968 22076 +108
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
feat(avoidance): wait and see ambiguous stopped vehicle (autowarefoundation#6631)
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]> Signed-off-by: kaigohirao <[email protected]>
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
…dation#6631) * feat(avoidance): wait and see the ambiguous stopped vehicle Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait and see objects around ego straight lane Signed-off-by: satoshi-ota <[email protected]> * tmp Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): filtering logic for vehicle type objects Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): wait with unsafe avoidance path Signed-off-by: satoshi-ota <[email protected]> * fix(avoidance): use getRightLanelet Signed-off-by: satoshi-ota <[email protected]> * refactor(avoidance): parameterize Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
Description
Related PR: autowarefoundation/autoware_launch#925 (Please approve at first.)
Related ticket: https://tier4.atlassian.net/browse/RT1-5553
Previously, the module generates avoidance path as soon as it detects ambiguous stopped vehicle. However, this sometimes caused unnecessary avoidance maneuver. Basically, we should wait and see such kind vehicles at first. And if necessary, the module should generates avoidance path after closing them.
After this PR
The module waits avoidance path generation until the ego gets closer to ambiguous vehicle. When the distance between ego and avoidance start point is less than
closest_distance_to_wait_and_see
, the module generates avoidance path.simplescreenrecorder-2024-03-17_16.25.03.mp4
Tests performed
Effects on system behavior
Not applicable.
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.