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(ndt_scan_matcher): modify diagnostic #7112

Conversation

SakodaShintaro
Copy link
Contributor

Description

This PR made 2 small changes.

(1) If not activated, skipping_publish_num will not be incremented.

skipping_publish_num records the number of consecutive times that the NDT did not output a pose due to reasons such as NVTL degradation. Incrementing it even when it is not in the activate state does not match the purpose, so I fixed this.

(2) Change the diagnostic level output when skipping_publish_num reaches 5 from NG to WARN.

In the current autoware, NDT diagnostics are not related to the decision to start MRM (Minimum Risk Maneuver), so there is essentially no impact, but we will correct the diagnostics level as a general diag-level design.

In general, a node should only output an NG diagnostic when a critical error occurs that would force the vehicle to immediately stop. However, in areas with low NVTL, NDT skipping_publish_num can easily reach 5. It is unclear whether stopping immediately in such cases is desirable. So I fixed this.

Tests performed

logging_simulator works without any diagnostics ERROR.

Effects on system behavior

There are no effects on system behavior.

Interface changes

There are no interface changes.

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: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 24, 2024
@SakodaShintaro SakodaShintaro self-assigned this May 24, 2024
@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label May 24, 2024
@github-actions github-actions bot added the type:documentation Creating or refining documentation. (auto-assigned) label May 24, 2024
@SakodaShintaro SakodaShintaro merged commit 79e2a00 into autowarefoundation:main May 27, 2024
21 of 22 checks passed
@SakodaShintaro SakodaShintaro deleted the fix/diag_level_of_ndt_scan_matcher branch May 27, 2024 02:14
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
* Fixed diagnostic

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* Fixed README.md

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* style(pre-commit): autofix

---------

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

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* Fixed README.md

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* style(pre-commit): autofix

---------

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

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* Fixed README.md

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>

* style(pre-commit): autofix

---------

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
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) 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.

2 participants