-
Notifications
You must be signed in to change notification settings - Fork 658
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(lane_change): improve delay lane change logic #9480
feat(lane_change): improve delay lane change logic #9480
Conversation
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
…common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp Co-authored-by: mkquda <[email protected]> Signed-off-by: Zulfaqar Azmi <[email protected]>
…common/include/autoware/behavior_path_planner_common/utils/path_safety_checker/objects_filtering.hpp Co-authored-by: mkquda <[email protected]> Signed-off-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: Zulfaqar Azmi <[email protected]>
…vior' into RT1-8508-improve-delay-lane-change-logic
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
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 #9480 +/- ##
=======================================
Coverage 29.24% 29.25%
=======================================
Files 1442 1444 +2
Lines 108555 108540 -15
Branches 41528 41502 -26
=======================================
+ Hits 31750 31752 +2
+ Misses 73720 73703 -17
Partials 3085 3085
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Signed-off-by: mohammad alqudah <[email protected]>
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/utils/utils.cpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/utils/utils.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
…nge_module/src/utils/utils.cpp Co-authored-by: Zulfaqar Azmi <[email protected]>
…nge_module/src/utils/utils.cpp Co-authored-by: Zulfaqar Azmi <[email protected]>
planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/utils/utils.cpp
Outdated
Show resolved
Hide resolved
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!
…nge_module/src/utils/utils.cpp Co-authored-by: Zulfaqar Azmi <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
Signed-off-by: mohammad alqudah <[email protected]>
Description
Lane change module has a feature to allow delaying of LC when there is parked along the target lane ahead of ego, however the current implementation has some drawbacks.
In the current implementation, we only check the front most static object along the target lane and delay is applied only if:
This approach limits the situations under which delay feature can be useful.
To help improve the robustness of delay feature and increase its usefulness, the following method is proposed.
For all static objects ahead of ego along the target lane, we check each object from closest to furthest, if any object passes the following checks, LC will be delay:
Changes
is_delay_lane_change
DelayParameters
isParkedObject
passed_parked_objects
&getLeadingStaticObjectIdx
Related links
How was this PR tested?
Notes for reviewers
None.
Interface changes
ROS Parameter Changes
Additions and removals
delay_lane_change.enabled
bool
true
delay_lane_change.check_only_parked_vehicle
bool
false
Modifications
object_check_min_road_shoulder_width
double
0.5
delay_lane_change.min_road_shoulder_width
double
0.5
object_shiftable_ratio_threshold
double
0.6
delay_lane_change.th_parked_vehicle_shift_ratio
double
0.6
Effects on system behavior
Delay lane change feature is more robust, and can be configured to apply for all static objects or only or parked objects.
Less chance of Ego doing lane change before stopped vehicle and getting stuck.