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(autoware_universe_utils): fix constParameterReference #7882

Conversation

kobayu858
Copy link
Contributor

Description

This is a fix based on cppcheck constParameterReference warnings

common/autoware_universe_utils/src/geometry/geometry.cpp:228:74: style: Parameter 'transform' can be declared as reference to const [constParameterReference]
  const geometry_msgs::msg::Pose & pose, geometry_msgs::msg::Transform & transform)
                                                                         ^

Related links

Parent Issue:

  • Link

How was this PR tested?

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

kobayu858 and others added 2 commits July 8, 2024 08:58
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
@github-actions github-actions bot added the component:common Common packages from the autoware-common repository. (auto-assigned) label Jul 8, 2024
Copy link

github-actions bot commented Jul 8, 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 marked this pull request as draft July 8, 2024 02:09
@kobayu858 kobayu858 marked this pull request as ready for review July 8, 2024 02:09
@kobayu858 kobayu858 marked this pull request as draft July 8, 2024 02:32
@atsushi421 atsushi421 requested a review from veqcc July 8, 2024 02:53
@kobayu858 kobayu858 marked this pull request as ready for review July 8, 2024 04:02
@kobayu858 kobayu858 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 8, 2024
@kobayu858 kobayu858 marked this pull request as draft July 8, 2024 04:20
kobayu858 added 2 commits July 8, 2024 13:30
Signed-off-by: kobayu858 <yutaro.kobayashi@tier4.jp>
…om:team-emb4/autoware.universe into fix/cppcheck_constParameterReference_com-1
@kobayu858 kobayu858 marked this pull request as ready for review July 8, 2024 05:08
Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 27.99%. Comparing base (6d0247e) to head (6202fb3).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7882      +/-   ##
==========================================
- Coverage   28.44%   27.99%   -0.46%     
==========================================
  Files        1591     1644      +53     
  Lines      116213   119098    +2885     
  Branches    49613    50137     +524     
==========================================
+ Hits        33059    33336     +277     
- Misses      74141    76654    +2513     
- Partials     9013     9108      +95     
Flag Coverage Δ *Carryforward flag
differential 29.84% <ø> (?)
total 28.41% <ø> (-0.04%) ⬇️ Carriedforward from 2d9df48

*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 kobayu858 merged commit 73febbd into autowarefoundation:main Jul 10, 2024
29 of 30 checks passed
@kobayu858 kobayu858 deleted the fix/cppcheck_constParameterReference_com-1 branch July 10, 2024 05:43
Ariiees pushed a commit to Ariiees/autoware.universe that referenced this pull request Jul 22, 2024
…undation#7882)

* fix: constParameterReference

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

* fix: constParameterReference

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:common Common packages from the autoware-common repository. (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