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(ekf_localizer): add a class to manage queue elements with their ages #2681

Conversation

IshitaTakeshi
Copy link
Contributor

@IshitaTakeshi IshitaTakeshi commented Jan 18, 2023

Description

Add a class to manage message objects and their ages
Note that a debug publisher is also removed

Related links

Tests performed

Check if the aged queue works as expected

Notes for reviewers

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.

@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Jan 18, 2023
IshitaTakeshi and others added 2 commits January 18, 2023 17:51
Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
@IshitaTakeshi IshitaTakeshi changed the title Add a class to manage queue elements with their ages refactor(ekf_localizer): add a class to manage queue elements with their ages Jan 18, 2023
@codecov
Copy link

codecov bot commented Jan 18, 2023

Codecov Report

Base: 11.38% // Head: 11.37% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (881b66c) compared to base (f54c350).
Patch coverage: 31.25% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2681      +/-   ##
==========================================
- Coverage   11.38%   11.37%   -0.01%     
==========================================
  Files        1277     1279       +2     
  Lines       89251    89485     +234     
  Branches    23627    23800     +173     
==========================================
+ Hits        10158    10183      +25     
- Misses      68321    68466     +145     
- Partials    10772    10836      +64     
Flag Coverage Δ *Carryforward flag
differential 19.67% <31.25%> (?)
total 11.38% <0.00%> (ø) Carriedforward from 256573e

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

Impacted Files Coverage Δ
..._localizer/include/ekf_localizer/ekf_localizer.hpp 0.00% <ø> (ø)
localization/ekf_localizer/src/ekf_localizer.cpp 0.00% <0.00%> (ø)
...tion/ekf_localizer/test/test_aged_object_queue.cpp 28.84% <28.84%> (ø)
...alizer/include/ekf_localizer/aged_object_queue.hpp 76.92% <76.92%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@kminoda kminoda left a comment

Choose a reason for hiding this comment

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

LGTM!

@IshitaTakeshi IshitaTakeshi merged commit 11ce12b into autowarefoundation:main Jan 24, 2023
maxime-clem pushed a commit to maxime-clem/autoware.universe that referenced this pull request Jan 30, 2023
…eir ages (autowarefoundation#2681)

* Add a class to manage queue elements with their ages
* Add tests of queue.clear()
* Implement queue.back()

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
lexavtanke pushed a commit to lexavtanke/autoware.universe that referenced this pull request Jan 31, 2023
…eir ages (autowarefoundation#2681)

* Add a class to manage queue elements with their ages
* Add tests of queue.clear()
* Implement queue.back()

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Alexey Panferov <lexavtanke@gmail.com>
asana17 pushed a commit to asana17/autoware.universe that referenced this pull request Feb 8, 2023
…eir ages (autowarefoundation#2681)

* Add a class to manage queue elements with their ages
* Add tests of queue.clear()
* Implement queue.back()

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Mar 23, 2023
…eir ages (autowarefoundation#2681)

* Add a class to manage queue elements with their ages
* Add tests of queue.clear()
* Implement queue.back()

Signed-off-by: IshitaTakeshi <ishitah.takeshi@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
badai-nguyen pushed a commit to badai-nguyen/autoware.universe that referenced this pull request Apr 4, 2023
…eir ages (autowarefoundation#2681)

* Add a class to manage queue elements with their ages
* Add tests of queue.clear()
* Implement queue.back()

Signed-off-by: IshitaTakeshi <ishitah.takeshi@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:localization Vehicle's position determination in its environment. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants