Skip to content
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

Merged

Conversation

Autumn60
Copy link
Contributor

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Autumn60 added 5 commits June 6, 2024 18:07
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>
@github-actions github-actions bot added the component:common Common packages from the autoware-common repository. (auto-assigned) label Jun 11, 2024
Copy link
Contributor

@shmpwk shmpwk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

shmpwk and others added 2 commits June 11, 2024 22:14
@shmpwk
Copy link
Contributor

shmpwk commented Jun 18, 2024

@taikitanaka3
Could you approve this as a code owner?

Copy link
Contributor

@taikitanaka3 taikitanaka3 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@Autumn60 Autumn60 enabled auto-merge (squash) June 19, 2024 09:25
@Autumn60 Autumn60 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jun 20, 2024
Copy link

codecov bot commented Jun 20, 2024

Codecov Report

Attention: Patch coverage is 0% with 16 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (507e3f4) to head (fc25213).
Report is 70 commits behind head on main.

Files Patch % Lines
...e_calculator/src/goal_distance_calculator_node.cpp 0.00% 16 Missing ⚠️
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     
Flag Coverage Δ
differential 0.00% <0.00%> (?)
total ?

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Autumn60 Autumn60 merged commit d2d45f2 into autowarefoundation:main Jun 20, 2024
36 of 40 checks passed
@Autumn60 Autumn60 deleted the refactor/goal_distance_calculator/scope branch June 20, 2024 05:07
simon-eisenmann-driveblocks pushed a commit to simon-eisenmann-driveblocks/autoware.universe that referenced this pull request Jun 26, 2024
… 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>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
… 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants