-
Notifications
You must be signed in to change notification settings - Fork 646
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(lane_change): unify stuck detection to avoid unnecessary computation #8383
fix(lane_change): unify stuck detection to avoid unnecessary computation #8383
Conversation
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]>
3369eda
to
4719395
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.
code looks good 👍
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8383 +/- ##
==========================================
- Coverage 23.91% 23.78% -0.14%
==========================================
Files 1380 1381 +1
Lines 101739 101686 -53
Branches 38716 38631 -85
==========================================
- Hits 24329 24183 -146
- Misses 74930 75043 +113
+ Partials 2480 2460 -20
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
8fdebeb
into
autowarefoundation:main
…ion (autowarefoundation#8383) unify stuck detection in getLaneChangePaths Signed-off-by: Muhammad Zulfaqar Azmi <[email protected]> Signed-off-by: xtk8532704 <[email protected]>
Description
With the current detection, there will necessary computation when ego vehicle is stuck.
In this case, lane change module first check if there is any safe path. If not safe path, then ego vehicle will attempt to generate lane change path with stuck rss.
In this PR, these steps are unified. Meaning if ego is stuck, in the same loop, ego first check if there is safe path with normal rss, and if no, then then rss param is used.
This helps to reduce computation time of lane change module.
Related links
#8214
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.