-
Notifications
You must be signed in to change notification settings - Fork 667
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(behavior_path_planner): revise lane change module #1139
feat(behavior_path_planner): revise lane change module #1139
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1139 +/- ##
==========================================
+ Coverage 10.34% 10.68% +0.34%
==========================================
Files 1104 1105 +1
Lines 73650 78491 +4841
Branches 18155 18724 +569
==========================================
+ Hits 7616 8387 +771
- Misses 57449 61098 +3649
- Partials 8585 9006 +421
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
9f4c77b
to
951df09
Compare
74d514e
to
9c6d489
Compare
12d55b5
to
5bd456d
Compare
5258e06
to
bbe2d84
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.
Thank you for your great work!
My comments are just questions mainly.
And please update readme.
planning/behavior_path_planner/config/behavior_path_planner.param.yaml
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/include/behavior_path_planner/scene_module/lane_change/util.hpp
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/lane_change/lane_change_module.cpp
Outdated
Show resolved
Hide resolved
const auto & lane_change_prepare_duration = lane_change_parameters.lane_change_prepare_duration; | ||
const auto & lane_changing_duration = lane_change_parameters.lane_changing_duration; | ||
const double current_lane_check_start_time = | ||
(!lane_change_parameters.enable_collision_check_at_prepare_phase) ? lane_change_prepare_duration |
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.
Just for my curios, what is the purpose of the enable_collision_check_at_prepare_phase
parameter?
const auto current_lane_object_indices_lanelet = util::filterObjectsByLanelets( | ||
*dynamic_objects, current_lanes, arc.length, arc.length + check_distance); | ||
|
||
const double lateral_buffer = (use_buffer) ? 0.5 : 0.0; |
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.
What is the use_butter
for? In my understanding from the code, use buffer when executing lane change and zero buffer for abort check.
And is this a different one from lateral_distance_threshold
in ros parameter?
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.
the lateral_buffer
is used to filter out dynamic object in the current lane.
Assuming the distance of the object to ego current path's line is d
, then if
d < (0.5 vehicle_width + lateral_buffer)
then the object is considered in current lane.
lateral_distance_threshold
is the threshold for safety check. Assuming distance between ego's polygon and object's polygon is h
, if
h < lateral_distance_threshold
then we will check for the longitudinal distance.
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.
Thanks. I understood the implementation, but still not clear about why there are two filtering for the object. Could you explain one situation where these two filters are needed?
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.
One of the situation i can think of is for debug purpose, at least this is what my current use case are (I am not sure about the intention of the original author), and it will allow us to have more information about the object or failures.
@TakaHoribe @rej55 |
72d52f2
to
76a729e
Compare
@zulfaqar-azmi-t4 The behavior looks good. My comments are mainly for the rationale of the implementation. If you update the readme and it is ok, then go merge. |
76a729e
to
6be420d
Compare
d2b8e4e
to
a0b3703
Compare
a0b3703
to
eadb3e9
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
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
7752025
to
d50abec
Compare
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (autowarefoundation#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
feat(behavior_path_planner): revise lane change module (autowarefoundation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (autowarefoundation#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> with param server Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> with abort Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Improved abort function Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): minimum distance for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Added keiro seisei Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
feat(behavior_path_planner): revise lane change module (#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> with param server Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> with abort Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Improved abort function Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): minimum distance for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Added keiro seisei Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…ation#1139) * feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (autowarefoundation#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
* feat(behavior_path_planner): revise lane change module Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Refactoring and renaming Remove some of the unused variables Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add longitudinal threshold and modify default param Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix error after rebase Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor and copy predicted if not empty Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * Include abort parameters and reorganize parameters declaration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): lane change revised visualization (#1140) Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> change force lane change path color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> visualize ego polygon with respect to object using same color Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Add valid path's visualization Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix conflicts Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): lane change ego and target polygon pose (autowarefoundation#1786) * fix(behavior_path_planner): lane change ego and target polygon pose Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * reduce lane changing duration Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> * refactor(behavior_path_planner): lane change refactoring Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com> Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix(behavior_path_planner): fix lane change logic on the edge case Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> fix pose init and add failed reasons Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Ignore prepare distance if object is static Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> revert the lerp by time stamp Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> feat(behavior_path_planner): debug message for lane change Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
…csv files (autowarefoundation#6136) (autowarefoundation#1139) Signed-off-by: Fumiya Watanabe <rej55.g@gmail.com> Co-authored-by: Fumiya Watanabe <rej55.g@gmail.com>
Description
Previous lane change logic checks the distance between ego to the object using l2Norm. However, some information lost might occurs for example the object is on the left or right etc.
The lane change module is currently revised internally to better handle the dynamic environment. Instead of using l2norm, the distance is separated into lateral distance evaluation and longitudinal distance evaluation. the longitudinal distance evaluation takes into account of collision via predicted path.
This PR aims to realize the newly revised functions.
For configuration, add the following tier4/autoware_launch#355
For visualization, add the following #1140
Related links
Tests performed
rtc_auto_approval
for right and left lane change needs to be disableFor configuration, cherry-pick/pull the following tier4/autoware_launch#355
Documentation #1385
Notes for reviewers
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.