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

feat(component_interface_utils): apply message change #1921

Conversation

isamu-takagi
Copy link
Contributor

@isamu-takagi isamu-takagi commented Sep 21, 2022

Signed-off-by: Takagi, Isamu isamu.takagi@tier4.jp

Description

Apply message change #1897 to component_interface_utils package.
Use template functions for response status.

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.

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
{

template <class T1, class T2>
void copy(const T1 & src, T2 & dst) // NOLINT cpplint false positive
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you write the error message here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is it like this 1c5b53b? The error message is:

Add #include <algorithm> for copy  [build/include_what_you_use] [4]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In addition, this also causes false positives in execution.

  component_interface_utils::status::copy(a, b);  // cpplint requires algorithm header

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah, no. I just wanted to know this one. Thanks!

Add #include <algorithm> for copy  [build/include_what_you_use] [4]

Copy link
Contributor

Choose a reason for hiding this comment

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

In addition, this also causes false positives in execution.

Maybe related? cpplint/cpplint#200

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
@isamu-takagi isamu-takagi enabled auto-merge (squash) September 21, 2022 06:05
@codecov
Copy link

codecov bot commented Sep 21, 2022

Codecov Report

Base: 10.33% // Head: 10.33% // No change to project coverage 👍

Coverage data is based on head (1c5b53b) compared to base (478c759).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1921   +/-   ##
=======================================
  Coverage   10.33%   10.33%           
=======================================
  Files        1147     1147           
  Lines       81613    81613           
  Branches    19048    19048           
=======================================
  Hits         8434     8434           
  Misses      64184    64184           
  Partials     8995     8995           
Flag Coverage Δ *Carryforward flag
differential 9.12% <ø> (?)
total 10.31% <ø> (ø) Carriedforward from 478c759

*This pull request uses carry forward flags. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@isamu-takagi isamu-takagi merged commit c57206c into autowarefoundation:main Sep 21, 2022
@isamu-takagi isamu-takagi deleted the feature/ad-api/update-message-component-inteface-util branch September 21, 2022 06:12
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Sep 28, 2022
…tion#1921)

* feat(component_interface_utils): apply message change

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: add error category

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
…tion#1921)

* feat(component_interface_utils): apply message change

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: add error category

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 3, 2022
…tion#1921)

* feat(component_interface_utils): apply message change

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: add error category

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
boyali pushed a commit to boyali/autoware.universe that referenced this pull request Oct 19, 2022
…tion#1921)

* feat(component_interface_utils): apply message change

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

* feat: add error category

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>

Signed-off-by: Takagi, Isamu <isamu.takagi@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants