-
Notifications
You must be signed in to change notification settings - Fork 34
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): cherry-pick lane change commits to beta/v0.29.0 #1441
Conversation
7dee9e7
to
3338f38
Compare
…efoundation#7508) * refactor(lane_change): use lane change namespace for structs Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Move lane change namespace to bottom level Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…utowarefoundation#7504) * RT1-6230 feat(route_handler): add unit test for lane change related functions Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix spell check Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix spellcheck Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…foundation#7841) * move struct to lane change namespace Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Revert "move struct to lane change namespace" This reverts commit 306984a. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…utowarefoundation#7964) fix:shadowVariable Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…pdated (autowarefoundation#7989) * refactor(lane_change): compute lanes and polygon only when updated Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Revert accidental changesd This reverts commit cbfd9ae. Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * fix spell check Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Make a common getter for current lanes Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * add target lanes getter Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * some minor function refactoring Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
RT1-6955: delay lane change cancel Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ion#8093) * employ lanelet based filtering before distance based filtering Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * use distance based to terminal check instead Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * remove RCLCPP INFO Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * update flow chart Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
3338f38
to
6d38b7f
Compare
…towarefoundation#8208) fix:passedByValue Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
* fix(lane_change): relax finish judge Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * documentation update Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * update readme explanations Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * update config Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
autowarefoundation#8316) * different rss value for parked vehicle Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Documentation and config file update Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
… point (autowarefoundation#8357) * check start point directly after getting start point Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Update planning/behavior_path_planner/autoware_behavior_path_lane_change_module/src/scene.cpp Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Maxime CLEMENT <78338830+maxime-clem@users.noreply.github.com>
…owarefoundation#8358) Refactor debug print Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…l start (autowarefoundation#8359) Skip computation if prepare length exceed distance to terminal start Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ong (autowarefoundation#8362) rework. skip lane changing for insufficeient distance in target lane Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…rence is less than threshold (autowarefoundation#8363) * fix when prepare length is insufficient Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * add reason for comparing prev_prep_diff with eps for lc_length_diff Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…efoundation#8214) * refactor(lane_change): separate leading and trailing objects Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Refactor to use common function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@zulfaqar-azmi-t4 |
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.
@zulfaqar-azmi-t4 cc. @Naophis
Thank you so much! I'd like to merge this after v0.46.0 release this week. Until that let me change this PR to draft 🙏
I have updated the explanation in the PR description. To summarize, the most biggest and important change is the processing time improvement when generating lane change path. The change is made possible by the refactoring of lane change task. |
I will check evaluator result. |
…tion#8470) fix invalid doesn't have stop point Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@shmpwk @Naophis Since it is already reviewed and approved, i think i need to ask both of your agreement before I add another commit. |
@zulfaqar-azmi-t4 @Naophis @saka1-s xx1 v0.46.0(universe v0.29.1) has been released today. So we xx1 is ready to merge this great cherry pick. |
…warefoundation#8381) * do not cancel if ego vehicle approaching terminal start Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Insert stop point if object is coming from rear Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * minor edit to fix conflict Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * rename function Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…nes (autowarefoundation#8218) * object 3rd Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * named param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> --------- Signed-off-by: Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
@shmpwk |
@zulfaqar-azmi-t4 cc: @saka1-s |
|
Description
Cherry-pick lane change module.
Several part of lane change module needs to be refactored to improve the processing time.
processing time improvement
refactor(lane_change): update lanes and its polygons only when it's updated
refactor(lane_change): check start point directly after getting start point #8357
fix(lane_change): skip path computation if len exceed dist to terminal start #8359
fix(lane_change): skip generating path if lane changing path is too long #8362
fix(lane_change): skip generating path if longitudinal distance difference is less than threshold #8363
refactor(lane_change): separate leading and trailing objects #8214
improving lane change behavior
fix(lane_change): delay lane change cancel #8048
fix(lane_change): filtering object ahead of terminal #8093
fix(lane_change): relax finish judge #8133
feat(lane_change): use different rss param to deal with parked vehicle #8316
fix(lane_change): do not cancel when approaching terminal start #8381
fix(lane_change): moving object is filtered in the extended target lanes #8218
Bug fix
fix(lane_change): fix invalid doesn't have stop point #8470
Related links
tier4/autoware_launch#537
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
ROS Parameter Changes
Additions and removals
finish_judge_lateral_angle_deviation
double
1.0
parked.expected_front_deceleration
double
-1.0
parked.expected_rear_deceleration
double
-2.0
parked.rear_vehicle_reaction_time
double
1.0
parked.rear_vehicle_safety_time_margin
double
0.8
parked.lateral_distance_max_threshold
double
1.0
parked.longitudinal_distance_min_threshold
double
3.0
parked.longitudinal_velocity_delta_time
double
0.0
skip_process.longitudinal_distance_diff_threshold.prepare
double
1.0
skip_process.longitudinal_distance_diff_threshold.lane_changing
double
1.0
Modifications
finish_judge_lateral_threshold
double
0.2
finish_judge_lateral_threshold
double
0.1
Effects on system behavior
None.