-
Notifications
You must be signed in to change notification settings - Fork 673
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): improve avoidance judgement logic for pedestrian & bicycle #4016
feat(avoidance): improve avoidance judgement logic for pedestrian & bicycle #4016
Conversation
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4016 +/- ##
==========================================
- Coverage 14.31% 14.31% -0.01%
==========================================
Files 1557 1557
Lines 106900 106922 +22
Branches 30777 30791 +14
==========================================
Hits 15301 15301
- Misses 75028 75050 +22
Partials 16571 16571
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
e1eea17
to
f703927
Compare
aaa3d70
to
4534539
Compare
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
4534539
to
d0196bf
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
(couldn't find part to improve...)
…icycle (autowarefoundation#4016) * feat(avoidance): don't avoid pedestrian and bicycle on crosswalk Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): avoid pedestrian/bicycle near centerline Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(utils): use geometry distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(avoidance): add comment Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…icycle (autowarefoundation#4016) * feat(avoidance): don't avoid pedestrian and bicycle on crosswalk Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): avoid pedestrian/bicycle near centerline Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(utils): use geometry distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(avoidance): add comment Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
* feat(avoidance): add hysteresis to avoidance necessity check (autowarefoundation#3880) * feat(avoidance): add hysteresis factor to avoid necessity check Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance_by_lc): add hysteresis factor to avoid necessity check Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * refactor(utils): use lambda Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): improve stop behavior under decel/jerk constraints option (autowarefoundation#3978) * feat(avoidance): add option to decel within constraints Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(avoidance): add comments Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * refactor(utils): merge similar functions Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): can set stop/move judge threshold for each object class (autowarefoundation#3998) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): ignore behind unavoidable objects (autowarefoundation#4034) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): improve avoidance judgement logic for pedestrian & bicycle (autowarefoundation#4016) * feat(avoidance): don't avoid pedestrian and bicycle on crosswalk Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance): avoid pedestrian/bicycle near centerline Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(utils): use geometry distance Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * chore(avoidance): add comment Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance): ignore objects less than execution threshold (autowarefoundation#3595) fix(avoidance): ignore objects whose shift length is less than execution threshold Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance): not init rtc status at onProcessEntry (autowarefoundation#3804) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance): update logic to keep waiting approval (autowarefoundation#4059) * revert "fix(avoidance): don't clear waiting approval if raw shift line exists (autowarefoundation#4012)" This reverts commit 8577563. * fix(avoidance): update logic to keep waiting approval Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance): fix invalid cherry pick Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Description
I would like to enable avoidance behavior for non car-like objects. (e.g. pedestrian, bicycle)
But if I set the flag true, in following situation, the module executes avoidance maneuver for pedestrian that are stopping in front of the crosswalk. I think it is little bit a strange behavior, and it is better not avoid objects around crosswalk.
simplescreenrecorder-2023-06-21_11.48.58.mp4
In this PR, the module doesn't avoid crosswalk user (PEDESTRIAN, BICYCLE) arround the crosswalk lanelet.
simplescreenrecorder-2023-06-21_10.31.25.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.