-
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): return default value if no registered module exists #3843
fix(behavior_path_planner): return default value if no registered module exists #3843
Conversation
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## main #3843 +/- ##
=======================================
Coverage 14.11% 14.11%
=======================================
Files 1438 1438
Lines 101542 101519 -23
Branches 27063 27063
=======================================
Hits 14330 14330
+ Misses 71524 71501 -23
Partials 15688 15688
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
…ule exists Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
cbfa7b6
to
a35fbee
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
…ule exists (autowarefoundation#3843) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…ule exists (autowarefoundation#3843) (#541) Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com> Co-authored-by: Satoshi OTA <44889564+satoshi-ota@users.noreply.github.com>
Description
Since
std::all_of
returnstrue
if the vector is empty, it should use default parameter in such a case.Tests performed
Effects on system behavior
Nothing.
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.