-
Notifications
You must be signed in to change notification settings - Fork 619
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
refactor(goal_distance_calculator): narrow variable scopes and change to read topic by polling #7434
refactor(goal_distance_calculator): narrow variable scopes and change to read topic by polling #7434
Conversation
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
…bscriber Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
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
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
@taikitanaka3 |
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
Signed-off-by: Autumn60 <akiro.harada@tier4.jp>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7434 +/- ##
==========================================
- Coverage 14.84% 0.00% -14.85%
==========================================
Files 1999 38 -1961
Lines 139163 1823 -137340
Branches 43716 77 -43639
==========================================
- Hits 20661 0 -20661
+ Misses 95731 1823 -93908
+ Partials 22771 0 -22771
☔ View full report in Codecov by Sentry. |
… to read topic by polling (autowarefoundation#7434) * delete unnecessary member Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * replace rclcpp::Subscription to autoware_utils::InterProcessPollingSubscriber Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * format by clang-format Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * delete unnecessary callback func Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * refactor goal_distance_calculator_node Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * clang format Signed-off-by: Autumn60 <akiro.harada@tier4.jp> --------- Signed-off-by: Autumn60 <akiro.harada@tier4.jp> Co-authored-by: Autumn60 <akiro.harada@tier4.jp> Co-authored-by: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com> Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
… to read topic by polling (#7434) * delete unnecessary member Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * replace rclcpp::Subscription to autoware_utils::InterProcessPollingSubscriber Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * format by clang-format Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * delete unnecessary callback func Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * refactor goal_distance_calculator_node Signed-off-by: Autumn60 <akiro.harada@tier4.jp> * clang format Signed-off-by: Autumn60 <akiro.harada@tier4.jp> --------- Signed-off-by: Autumn60 <akiro.harada@tier4.jp> Co-authored-by: Autumn60 <akiro.harada@tier4.jp> Co-authored-by: Shumpei Wakabayashi <42209144+shmpwk@users.noreply.github.com>
Description
This PR includes changes to #7316 (change
goal_distance_calculator
to read topic by polling instead of best_effort callback.).In addition to that, a modification was made to narrow the scope of the variable.
Tests performed
psim test were performed
Effects on system behavior
nothing
Interface changes
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.