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): delete diagnostics thread (#5532) #1010

Merged
merged 1 commit into from
Nov 9, 2023

Conversation

YamatoAndo
Copy link

Description

As a result of verification, the following error occurred within the timer_diagnostics function, causing the node to crash.

image-20231108-083138

Therefore, to make it thread-safe, we decided to remove the thread processing.
Furthermore, to ensure thread safety, I've made sure that functions other than callback_sensor_points do not access state_ptr_.

Related links

N/A

Tests performed

LSim works.

Notes for reviewers

We plan to make significant improvements to the diagnostics of the ndt_scan_matcher in the near future.
autowarefoundation#5076

Interface changes

N/A

Effects on system behavior

N/A

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.

…5532)

Signed-off-by: yamato-ando <Yamato ANDO>
Co-authored-by: yamato-ando <Yamato ANDO>
@TakaHoribe
Copy link

TakaHoribe commented Nov 9, 2023

same PR was merged in AWF: autowarefoundation#5532

@TakaHoribe TakaHoribe merged commit 2b6bf3f into beta/v0.16.0 Nov 9, 2023
13 checks passed
@TakaHoribe TakaHoribe deleted the fix/delete_ndt_diagnostics_thread branch November 9, 2023 10:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants