-
Notifications
You must be signed in to change notification settings - Fork 649
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
refactor(lane_change): refactor extended object safety check #9322
base: main
Are you sure you want to change the base?
refactor(lane_change): refactor extended object safety check #9322
Conversation
Signed-off-by: mohammad alqudah <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #9322 +/- ##
==========================================
- Coverage 29.29% 29.28% -0.01%
==========================================
Files 1334 1335 +1
Lines 102799 102830 +31
Branches 39962 39964 +2
==========================================
+ Hits 30116 30118 +2
- Misses 69721 69751 +30
+ Partials 2962 2961 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/scene.cpp
Outdated
Show resolved
Hide resolved
…nge_module/src/scene.cpp Co-authored-by: Zulfaqar Azmi <[email protected]>
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
Currently when creating extended objects in lane change module, lane change prepare duration is assumed to be fixed (parameterized value).
In situations where the prepare duration used for candidate path generation does not match the assumed fixed value, such as when sampling multiple prepare durations near terminal, the mismatch can result in incorrect result for collision check causing an unsafe path to be approved.
This PR fixes the issue by refactoring extended object generation code and collision check code to work for candidate paths with varying prepare durations.
Changes
transform
to generate predicted object polygons for the entire durationis_collided
to filter the predicted object polygons based on the prepare duration of the candidate path being checked.Related links
None.
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.