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(ndt_scan_matcher): removed tf2_listener_module #6008

Conversation

SakodaShintaro
Copy link
Contributor

Description

Removed tf2_listener_module and perform error handling explicitly

Context

Currently, ndt_scan_matcher uses a helper class called tf2_listener_module for coordinate transformation using tf, but this class's functions do not have appropriate error handling.
It ignores the exception when the frame is not found in the tf link, and will continue to work even if this conversion fails.
It is also needed to decide how to handle errors.

Tests performed

It has been confirmed that the logging_simulator runs with the same accuracy as before on AWSIM data with GT.
Before : 0.046 [m]
After : 0.048 [m]

Effects on system behavior

There are no 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.

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 <[email protected]>
@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 4, 2024
@SakodaShintaro SakodaShintaro self-assigned this Jan 4, 2024
@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Jan 4, 2024
Copy link

codecov bot commented Jan 4, 2024

Codecov Report

Attention: 22 lines in your changes are missing coverage. Please review.

Comparison is base (ed8ffea) 15.22% compared to head (28c57e6) 15.30%.
Report is 1 commits behind head on main.

Files Patch % Lines
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 0.00% 20 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6008      +/-   ##
==========================================
+ Coverage   15.22%   15.30%   +0.08%     
==========================================
  Files        1751     1751              
  Lines      120849   120203     -646     
  Branches    36721    36328     -393     
==========================================
  Hits        18398    18398              
+ Misses      81810    81163     -647     
- Partials    20641    20642       +1     
Flag Coverage Δ *Carryforward flag
differential 12.64% <0.00%> (?)
total 15.30% <ø> (+0.08%) ⬆️ Carriedforward from ed8ffea

*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.

@SakodaShintaro SakodaShintaro merged commit 6ff47cf into autowarefoundation:main Jan 9, 2024
33 of 34 checks passed
@SakodaShintaro SakodaShintaro deleted the refactor/remove_tf2_listener_module branch January 9, 2024 00:36
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 26, 2024
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request May 28, 2024
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants