-
Notifications
You must be signed in to change notification settings - Fork 673
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(behavior_path_planner): remove min max shift limit #1055
fix(behavior_path_planner): remove min max shift limit #1055
Conversation
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Codecov Report
@@ Coverage Diff @@
## main #1055 +/- ##
========================================
- Coverage 9.32% 9.25% -0.08%
========================================
Files 988 988
Lines 66698 67230 +532
Branches 11589 11589
========================================
Hits 6221 6221
- Misses 55302 55834 +532
Partials 5175 5175
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
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
…ation#1055) The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp> Signed-off-by: SoohyeokPark-MORAI <shpark.morai@gmail.com>
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
The shift limit generates improper shift that caused the maximum shift to be improper. Signed-off-by: Muhammad Zulfaqar Azmi <zulfaqar.azmi@tier4.jp>
Signed-off-by: M. Fatih Cırıt <mfc@leodrive.ai>
The shift limit generates improper shift that caused the maximum shift to be improper.
Signed-off-by: Muhammad Zulfaqar Azmi zulfaqar.azmi@tier4.jp
Description
Previously, the code is tested mainly on Cars.
The maximum shift point limit (based on the min/max of the online computed
max_shift_length
and parameterized value) was imposed to avoid a large shift during avoidance.However, it actually introduces a bug since to avoid long object types (e.g., bus, truck, trailers), sometimes, large shift is needed.
For example, if the necessary shift length to avoid bus is
shift_length = 3.5
and the currentmax_shift_length=2.5
, the shift length will be limited to2.5
. Therefore, it creates a path that collides with long objects such as buses, trucks, or trailers, as followsIn the first place, the maximum shift point limit is unnecessary. Therefore to solve this issue, this PR removes the limitation check. It will not change very much of the current avoidance module behavior. The following is the result after the changes.
Related links
#833
#934
#1041
Tests performed
Use psim to test the conditions.
You can set either
lateral_collision_safety_margin: 0.0
orlateral_collision_margin: 0.0
while testing.Notes for reviewers
This should solve #833 originally. However, #1041 is needed as it will complements with the future upgrades of the shift length computation.
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.