-
Notifications
You must be signed in to change notification settings - Fork 630
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): change pull over path candidate priority with soft and hard margins #6412
feat(goal_planner): change pull over path candidate priority with soft and hard margins #6412
Conversation
387e5f0
to
4cf21a2
Compare
4cf21a2
to
fd548fe
Compare
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #6412 +/- ##
==========================================
- Coverage 14.99% 14.99% -0.01%
==========================================
Files 1838 1838
Lines 127099 127116 +17
Branches 38075 38065 -10
==========================================
Hits 19062 19062
- Misses 86715 86732 +17
Partials 21322 21322
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…t and hard margins Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> tmp
fd548fe
to
cc5436c
Compare
this PR include typo fix not related this PR |
const std::vector<double> margins = std::invoke([&]() { | ||
std::vector<double> combined_margins = soft_margins; | ||
combined_margins.insert(combined_margins.end(), hard_margins.begin(), hard_margins.end()); | ||
return combined_margins; | ||
}); | ||
|
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.
const std::vector<double> margins = std::invoke([&]() { | |
std::vector<double> combined_margins = soft_margins; | |
combined_margins.insert(combined_margins.end(), hard_margins.begin(), hard_margins.end()); | |
return combined_margins; | |
}); | |
std::vector<double> margins = soft_margins; | |
margins.insert(margins.end(), hard_margins.begin(), hard_margins.end()); | |
[super nits] simpler?
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.
I like const
...
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!
…t and hard margins (autowarefoundation#6412) * feat(goal_planner): change pull over path candidate priority with soft and hard margins Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> tmp * fix typo Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
…t and hard margins (#6412) * feat(goal_planner): change pull over path candidate priority with soft and hard margins Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> tmp * fix typo Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
…t and hard margins (autowarefoundation#6412) * feat(goal_planner): change pull over path candidate priority with soft and hard margins Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> tmp * fix typo Signed-off-by: kosuke55 <kosuke.tnp@gmail.com> --------- Signed-off-by: kosuke55 <kosuke.tnp@gmail.com>
Description
change path priority.
before
after
tier4 internal ticket
https://tier4.atlassian.net/browse/RT1-4623
Tests performed
psim
https://evaluation.tier4.jp/evaluation/reports/e55d8582-2192-59b9-bbe4-81d8e04d3c81?project_id=prd_jt
Effects on system behavior
Not applicable.
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.