-
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): fix ap point for long obeject #1041
fix(behavior_path_planner): fix ap point for long obeject #1041
Conversation
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
Codecov Report
@@ Coverage Diff @@
## main #1041 +/- ##
========================================
- Coverage 9.33% 9.12% -0.21%
========================================
Files 988 981 -7
Lines 66698 61975 -4723
Branches 11587 11193 -394
========================================
- Hits 6223 5655 -568
+ Misses 55302 51400 -3902
+ Partials 5173 4920 -253
*This pull request uses carry forward flags. Click here to find out more.
Continue to review full report at Codecov.
|
@TakaHoribe @shulanbushangshu So this PR only handle for bug fix and this PR is ready to marge |
@taikitanaka3.I have read the changed code carefully. Whether "ap_return.end_longitudinal" needs to add o.length.This keeps the return distance unchanged |
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.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.
You can remote TODO message in calcAvoidanceTargetObjects
by this fix.
planning/behavior_path_planner/src/scene_module/avoidance/avoidance_module.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: tanaka3 <ttatcoder@outlook.jp>
@taikitanaka3 It seems that Jerk might plays some role in causing this to happen. |
..._path_planner/include/behavior_path_planner/scene_module/avoidance/avoidance_module_data.hpp
Show resolved
Hide resolved
@zulfaqar-azmi-t4 |
Sorry, for the lack of explanation. |
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.
@zulfaqar-azmi-t4 If you still have any suggestions.
@TakaHoribe @taikitanaka3 Just to note, as informed here, the shift length issue will still occurs and #1055 supposed to solve them. But this PR is nice since it will be helpful for the feature as illustrated in the sketch. |
@zulfaqar-azmi-t4 im going to test with your pr and if it goes well i will merge this. |
@zulfaqar-azmi-t4
|
…undation#1041) * fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: SoohyeokPark-MORAI <shpark.morai@gmail.com>
* fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(behavior_path_planner): fix ap point for long obeject Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * fix: add vehicle length for return point Signed-off-by: tanaka3 <ttatcoder@outlook.jp> * ci(pre-commit): autofix * chore: remove todo and better naming Signed-off-by: tanaka3 <ttatcoder@outlook.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…ocess (autowarefoundation#1041) * add cuda preprocess Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> * add cuda preprocess for centerpoint Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> * update pp Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> * fix bug Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> * style(pre-commit): autofix --------- Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com> Signed-off-by: tomoya.kimura <tomoya.kimura@tier4.jp> Co-authored-by: wep21 <daisuke.nishimatsu1021@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…dation#1041) * Added ellipse diagnostics to ekf Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed to ellipse_scale Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: tanaka3 ttatcoder@outlook.jp
Description
because current implementation consider avoidance by only one shift point it's possible to collide with long obstacle such as bus, truck or trailer.
So I added longitudinal length of vehicle for avoidance return point in frenet-frame
before
maybe OK for car
NG for bus
after
OK for car
OK for bus
parallel case
Related links
#833
Tests performed
by psim
Please set
lateral_collision_safety_margin
to zero when testingNotes for reviewers
This PR won't fix maybe too much margin case.
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.