-
Notifications
You must be signed in to change notification settings - Fork 682
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(avoidance_by_lc): add new module to avoid obstacle by lane change #3125
feat(avoidance_by_lc): add new module to avoid obstacle by lane change #3125
Conversation
ead7047
to
8768542
Compare
7ab1a82
to
170a8fe
Compare
Hi @VRichardJP Thanks for your comments 👍
Yes. I would like to set higher priority to this module than nomal avoidance and lane change module. So, as you said, these modules will be skipped in the following example scenario.
-> This module will be executed, and the vehicle will move to right side lane. As a result, nomal avoidance and normal lane change module executions will be no longer needed.
It is not assumed that normal avoidance will not be used at all even if we enable this module in that scenario. I suppose there are some scenarios that are better handled by normal avoidance. For example,
This module checks the required distance to back to the original lane at least in following function, but the function doesn't consider the obsrtacle and It does not check to see if there is enough distance left to return to the original lane after completely avoiding the obstacle. I understand this issue should be resolved 👍 autoware.universe/planning/behavior_path_planner/src/util/lane_change/util.cpp Lines 448 to 486 in 36bdca4
|
1558c0a
to
4e7c12d
Compare
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3125 +/- ##
==========================================
- Coverage 12.43% 12.34% -0.09%
==========================================
Files 1365 1368 +3
Lines 95296 95958 +662
Branches 27197 27529 +332
==========================================
Hits 11847 11847
- Misses 70922 71583 +661
- Partials 12527 12528 +1
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
1078932
to
1a2833c
Compare
4c034d1
to
cc3d7ba
Compare
planning/behavior_path_planner/src/scene_module/avoidance_by_lc/module.cpp
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/avoidance_by_lc/module.cpp
Outdated
Show resolved
Hide resolved
planning/behavior_path_planner/src/scene_module/avoidance_by_lc/module.cpp
Show resolved
Hide resolved
@satoshi-ota |
Looks good Single AvoidLCcap-.2023-04-05-12-15-56.mp4Double AvoidLCcap-.2023-04-05-12-18-41.mp4 |
planning/behavior_path_planner/src/scene_module/avoidance_by_lc/module.cpp
Outdated
Show resolved
Hide resolved
@zulfaqar-azmi-t4 Thanks for comment. You're right. |
fb57320
to
bf91e5e
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: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
bf91e5e
to
9c5022e
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
autowarefoundation#3125) * feat(rtc_interface): add new module avoidance by lc Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(launch): add new param files Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(avoidance_by_lc): add avoidance by lane change module Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * feat(behavior_path_planner): integrate avoidance by lc Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance_by_lc): apply refactor Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> * fix(avoidance_by_lc): use found_safe_path for ready check * fix request condition * fix build error Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> --------- Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Description
⬇️ These PRs must be merged before this PR.
tier4/tier4_autoware_msgs#71
autowarefoundation/autoware_launch#261
Add new module
avoidance_by_lc
.This module execute lane change maneuver when there are obstacles on ego's driving lane.
The obstacle filtering logic and path generation logic are almost the same to the
avoidance
andlane_change
module.(TODO: remove duplicated functions.)
Params
execute_object_num
This module execute lane change maneuver only when the target number is larger than
execute_object_num
. (If the condition is NOT satisfied, the nomalavoidance
module will be running.)execute_object_longitudinal_margin
This module execute lane change maneuver only when the distance between the ego and object is larger than
execute_object_longitudinal_margin
. (If the condition is NOT satisfied, the nomalavoidance
module will be running.)execute_only_when_lane_change_finish_before_object
If it set this param as
true
, this module will be canceled when the following conditions are satisfied.execute_only_when_lane_change_finish_before_object: true
simplescreenrecorder-2023-03-21_15.34.23.mp4
execute_only_when_lane_change_finish_before_object: false
NOTE: This module also use
avoidance
andlane_change
module params.Related links
Tests performed
Please set following flag to
FALSE
, and confirm to pass all build.autoware.universe/planning/behavior_path_planner/CMakeLists.txt
Line 10 in ad55953
Use following PRs' branch.
tier4/tier4_autoware_msgs#71
autowarefoundation/autoware_launch#261
Set
enable_module
as true.simplescreenrecorder-2023-03-21_15.09.46.mp4
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.