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(probabilistic_occupancy_gridmap): prevent node death by adding lookupTransform exception in util function #4713

Merged

Conversation

YoshiRi
Copy link
Contributor

@YoshiRi YoshiRi commented Aug 22, 2023

Description

Pointcloud based occupancy grid map generation node sometimes died by null pointcloud input. (see figure below)

image

This PR enables to prevent this error by fixing util function and its effectiveness is tested with launch_test.

TIER IV INTERNAL TICKET

Tests performed

Tested in launch_test.

Effects on system behavior

Not applicable.

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: yoshiri <yoshiyoshidetteiu@gmail.com>
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Aug 22, 2023
Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

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

LGTM

@miursh miursh added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 23, 2023
@YoshiRi YoshiRi enabled auto-merge (squash) August 23, 2023 01:51
@codecov
Copy link

codecov bot commented Aug 23, 2023

Codecov Report

Patch coverage: 20.00% and no project coverage change.

Comparison is base (8c5c20b) 14.89% compared to head (eab9db4) 14.89%.
Report is 51 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4713   +/-   ##
=======================================
  Coverage   14.89%   14.89%           
=======================================
  Files        1547     1547           
  Lines      106607   106610    +3     
  Branches    32603    32606    +3     
=======================================
+ Hits        15876    15882    +6     
+ Misses      73426    73420    -6     
- Partials    17305    17308    +3     
Flag Coverage Δ *Carryforward flag
differential 24.28% <20.00%> (?)
total 14.89% <ø> (+<0.01%) ⬆️ Carriedforward from 8c5c20b

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

Files Changed Coverage Δ
...obabilistic_occupancy_grid_map/src/utils/utils.cpp 52.05% <20.00%> (+4.91%) ⬆️

... and 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@YoshiRi YoshiRi merged commit 5181783 into autowarefoundation:main Aug 23, 2023
@YoshiRi YoshiRi deleted the fix/probabilistic_ogm_node_null_input branch August 23, 2023 05:27
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Aug 23, 2023
…okupTransform exception in util function (autowarefoundation#4713)

* add lookupTransform exception in util function and add launch_test

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>

* style(pre-commit): autofix

---------

Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
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:perception Advanced sensor data processing and environment understanding. (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.

3 participants