-
Notifications
You must be signed in to change notification settings - Fork 683
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(goal_planner): sort goal candidates by weighted distance #5110
Conversation
ae8158a
to
f0fa32f
Compare
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
f0fa32f
to
ff81ae7
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5110 +/- ##
==========================================
- Coverage 15.02% 14.95% -0.08%
==========================================
Files 1608 1608
Lines 111740 112641 +901
Branches 34645 35336 +691
==========================================
+ Hits 16788 16841 +53
- Misses 76244 77008 +764
- Partials 18708 18792 +84
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
} | ||
}; | ||
|
||
// Sort with weighted lateral distance against 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.
[NITS]
If my understanding is correct, comments below is easier to understand for me.
Sort with the weighted sum of the longitudinal distance and the lateral distance weighted by lateral_cost.
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! it is better! fixed in e6f3068
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!
…rcher.cpp Co-authored-by: Kyoichi Sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…refoundation#5110) * feat(goal_planner): sort goal candidates priority by weighted distance Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * style(pre-commit): autofix * Update planning/behavior_path_planner/src/utils/goal_planner/goal_searcher.cpp Co-authored-by: Kyoichi Sugahara <kyoichi.sugahara@tier4.jp> * update from sugahara-san review Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kyoichi Sugahara <kyoichi.sugahara@tier4.jp> tmp weigh Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…refoundation#5110) * feat(goal_planner): sort goal candidates priority by weighted distance Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> * style(pre-commit): autofix * Update planning/behavior_path_planner/src/utils/goal_planner/goal_searcher.cpp Co-authored-by: Kyoichi Sugahara <kyoichi.sugahara@tier4.jp> * update from sugahara-san review Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Kyoichi Sugahara <kyoichi.sugahara@tier4.jp>
Description
sort goal candidates priority by weighted distance
Related links
Tests performed
psim
2023/09/26 https://evaluation.tier4.jp/evaluation/reports/a2e2c74e-2ea8-5f80-80ec-80b1e801e584/?project_id=prd_jt
Notes for reviewers
Interface changes
none
Effects on system behavior
none
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.