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(gyro_odometer): add diagnostic #7188

Conversation

YamatoAndo
Copy link
Contributor

@YamatoAndo YamatoAndo commented May 31, 2024

Description

add diagnostic for gyro_odometer

diagnostic

see readme.md for more details

Related links

Tests performed

Notes for reviewers

Interface changes

ROS Topic Changes

ROS Parameter Changes

Effects on system behavior

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) labels May 31, 2024
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
@YamatoAndo YamatoAndo force-pushed the feat/gyro_odometer/add_diagnostic branch from b9fb1f6 to 756359b Compare May 31, 2024 07:44
@YamatoAndo YamatoAndo marked this pull request as ready for review May 31, 2024 07:47
@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 31, 2024
YamatoAndo and others added 2 commits June 5, 2024 15:56
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
Copy link
Contributor

@SakodaShintaro SakodaShintaro left a comment

Choose a reason for hiding this comment

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

I ran the logging_simulator and confirmed that /diagnostics was displayed properly.
The autoware_auto_*** message type has just been updated, and twist does not appear in unupdated rosbags. When using such a rosbag, the warning was displayed in /diagnostics.

Since the diagnostics module is in camel case, it should be fixed based on the linter's suggestions, but you can fix in another pull request. This is because I believe that in the future the diagnostics module will be placed in localization_util and will be commonly used by various packages.

Copy link
Contributor

@KYabuuchi KYabuuchi left a comment

Choose a reason for hiding this comment

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

I also have confirmed that diagnostics are properly output by logging_simulator.

@YamatoAndo YamatoAndo merged commit 043a7e9 into autowarefoundation:main Jun 6, 2024
24 of 27 checks passed
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Jun 6, 2024
* add diagnostic

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* fix diag time stamp

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

* fix spellcheck

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SakodaShintaro <shintaro.sakoda@tier4.jp>
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Jun 7, 2024
* add diagnostic

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* fix diag time stamp

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

* fix spellcheck

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SakodaShintaro <shintaro.sakoda@tier4.jp>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
* add diagnostic

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* fix diag time stamp

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

* fix spellcheck

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: SakodaShintaro <shintaro.sakoda@tier4.jp>
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants