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(tier4_localization_rviz_plugin): apply clang-tidy #1608

Merged

Conversation

h-ohta
Copy link
Contributor

@h-ohta h-ohta commented Aug 17, 2022

Description

  • fix below
    • modernize-make-unique
    • clang-diagnostic-inconsistent-missing-override
    • modernize-use-equals-default
    • readability-redundant-access-specifiers
  • fix readability-identifier-naming (I can revert if you don't feel like to merge it)

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.

@YamatoAndo YamatoAndo added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Aug 17, 2022
@codecov
Copy link

codecov bot commented Aug 17, 2022

Codecov Report

Merging #1608 (4f15ed0) into main (020c6d8) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main    #1608      +/-   ##
==========================================
- Coverage   10.59%   10.58%   -0.01%     
==========================================
  Files        1101     1102       +1     
  Lines       71856    71883      +27     
  Branches    17979    17979              
==========================================
  Hits         7612     7612              
- Misses      55803    55830      +27     
  Partials     8441     8441              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.59% <0.00%> (ø) Carriedforward from 2191d4e

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

Impacted Files Coverage Δ
...z_plugin/src/pose_history/pose_history_display.cpp 0.00% <0.00%> (ø)
...z_plugin/src/pose_history/pose_history_display.hpp 0.00% <ø> (ø)

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

@h-ohta h-ohta force-pushed the refactor/tier4_localization_rviz_plugin branch from 071b90d to 356f478 Compare August 17, 2022 10:57
@h-ohta h-ohta marked this pull request as ready for review August 18, 2022 03:28
@h-ohta h-ohta requested a review from isamu-takagi August 18, 2022 03:28
@h-ohta h-ohta enabled auto-merge (squash) August 18, 2022 03:34
@h-ohta h-ohta force-pushed the refactor/tier4_localization_rviz_plugin branch from 0110109 to 056ddc4 Compare August 18, 2022 13:18
@h-ohta h-ohta force-pushed the refactor/tier4_localization_rviz_plugin branch from 056ddc4 to 2191d4e Compare August 19, 2022 09:55
private:
void subscribe() override;
void unsubscribe() override;
void processMessage(const geometry_msgs::msg::PoseStamped::ConstSharedPtr message) override;
Copy link
Contributor

Choose a reason for hiding this comment

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

@h-ohta
[IMO]
I think every function should be lowerCamelCase or snake_case if you want to change this.
other wise this change is worse than before.

Copy link
Contributor Author

@h-ohta h-ohta Aug 19, 2022

Choose a reason for hiding this comment

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

These function are defined in parent class. So I can't change it

Copy link
Contributor

Choose a reason for hiding this comment

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

I understand but it looks like strange code style with QT 🤔
if you like this I think it's ok.

Copy link
Contributor

Choose a reason for hiding this comment

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

I resolve this

@h-ohta h-ohta merged commit 8130123 into autowarefoundation:main Aug 19, 2022
boyali referenced this pull request in boyali/autoware.universe Sep 28, 2022
* refactor(tier4_localization_rviz_plugin): apply clang-tidy

* ci(pre-commit): autofix

* refactor: add NOLINT

* refactor: fix readability-identifier-naming

* ci(pre-commit): autofix

* fix: build error

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* refactor(tier4_localization_rviz_plugin): apply clang-tidy

* ci(pre-commit): autofix

* refactor: add NOLINT

* refactor: fix readability-identifier-naming

* ci(pre-commit): autofix

* fix: build error

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
boyali referenced this pull request in boyali/autoware.universe Oct 3, 2022
* refactor(tier4_localization_rviz_plugin): apply clang-tidy

* ci(pre-commit): autofix

* refactor: add NOLINT

* refactor: fix readability-identifier-naming

* ci(pre-commit): autofix

* fix: build error

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
yukke42 pushed a commit to tzhong518/autoware.universe that referenced this pull request Oct 14, 2022
…oundation#1608)

* refactor(tier4_localization_rviz_plugin): apply clang-tidy

* ci(pre-commit): autofix

* refactor: add NOLINT

* refactor: fix readability-identifier-naming

* ci(pre-commit): autofix

* fix: build error

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@h-ohta h-ohta deleted the refactor/tier4_localization_rviz_plugin branch October 17, 2022 05:45
boyali referenced this pull request in boyali/autoware.universe Oct 19, 2022
* refactor(tier4_localization_rviz_plugin): apply clang-tidy

* ci(pre-commit): autofix

* refactor: add NOLINT

* refactor: fix readability-identifier-naming

* ci(pre-commit): autofix

* fix: build error

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants