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

fix(perception_online_evaluator): fix shadowVariable #7933

Merged

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck shadowVariable warnings

evaluator/perception_online_evaluator/src/perception_online_evaluator_node.cpp:278:23: style: Local variable 'ns' shadows outer variable [shadowVariable]
    const std::string ns = "debug_marker.";
                      ^

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@github-actions github-actions bot added the component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) label Jul 10, 2024
Copy link

github-actions bot commented Jul 10, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@kobayu858 kobayu858 requested a review from veqcc July 10, 2024 06:21
@kobayu858 kobayu858 marked this pull request as draft July 10, 2024 06:30
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@kobayu858 kobayu858 marked this pull request as ready for review July 10, 2024 06:56
@kobayu858 kobayu858 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 10, 2024
Copy link

codecov bot commented Jul 10, 2024

Codecov Report

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

Project coverage is 28.44%. Comparing base (3d849e9) to head (633bac5).
Report is 688 commits behind head on main.

Files Patch % Lines
...evaluator/src/perception_online_evaluator_node.cpp 0.00% 23 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7933       +/-   ##
===========================================
+ Coverage   15.09%   28.44%   +13.34%     
===========================================
  Files        1967     1594      -373     
  Lines      135941   116242    -19699     
  Branches    42122    49618     +7496     
===========================================
+ Hits        20520    33063    +12543     
+ Misses      92700    74157    -18543     
+ Partials    22721     9022    -13699     
Flag Coverage Δ *Carryforward flag
differential 10.61% <0.00%> (?)
total 28.45% <ø> (+13.35%) ⬆️ Carriedforward from 1cbd11d

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

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

@kobayu858
Copy link
Contributor Author

@rej55 @kosuke55 @ktro2828 @kyoichi-sugahara @miursh @YoshiRi

Please confirm the PR. Thank you very much.

@kobayu858 kobayu858 merged commit 33fe8a3 into autowarefoundation:main Jul 19, 2024
38 of 39 checks passed
yhisaki pushed a commit to yhisaki/autoware.universe that referenced this pull request Jul 19, 2024
…ion#7933)

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:clang-format

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

---------

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
…ion#7933)

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:clang-format

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

---------

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
chihungtzeng pushed a commit to chihungtzeng/autoware.universe that referenced this pull request Jul 23, 2024
…ion#7933)

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:clang-format

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

---------

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@kobayu858 kobayu858 deleted the fix/cppcheck_shadowVariable_eva-1 branch July 23, 2024 01:13
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…ion#7933)

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:clang-format

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

* fix:shadowVariable

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>

---------

Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:evaluator Evaluation tools for planning, localization etc. (auto-assigned) 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