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(autoware_multi_object_tracker): revert latency reduction logic and bring back to timer trigger #8277

Conversation

technolojin
Copy link
Contributor

@technolojin technolojin commented Jul 31, 2024

Description

Revert logic of latency reduction.
If CPU usage is high, the process could not be triggered in time. As result, the output is less than incoming messages.
The main process and message publish is back to periodic timer trigger.

Related links

revert of #6710

  • Link

How was this PR tested?

TIER IV INTERNAL

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@technolojin technolojin self-assigned this Jul 31, 2024
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 31, 2024
Copy link

github-actions bot commented Jul 31, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@technolojin technolojin added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 31, 2024
Copy link

codecov bot commented Jul 31, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 29.20%. Comparing base (3d849e9) to head (960d8ca).
Report is 946 commits behind head on main.

Files Patch % Lines
...i_object_tracker/src/multi_object_tracker_node.cpp 0.00% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #8277       +/-   ##
===========================================
+ Coverage   15.09%   29.20%   +14.11%     
===========================================
  Files        1967     1600      -367     
  Lines      135941   117487    -18454     
  Branches    42122    50652     +8530     
===========================================
+ Hits        20520    34313    +13793     
+ Misses      92700    73991    -18709     
+ Partials    22721     9183    -13538     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 29.20% <ø> (+14.11%) ⬆️ Carriedforward from ebce651

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

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
@technolojin technolojin marked this pull request as ready for review July 31, 2024 07:10
@technolojin technolojin marked this pull request as draft July 31, 2024 07:11
zusizusi pushed a commit to tier4/autoware.universe that referenced this pull request Jul 31, 2024
…d bring back to timer trigger autowarefoundation#8277 (#1436)

* fix: revert latency reduction logic and bring back to timer trigger

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

* style(pre-commit): autofix

* chore: remove unused variables

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@technolojin technolojin marked this pull request as ready for review August 5, 2024 00:46
@technolojin technolojin merged commit 983b133 into autowarefoundation:main Aug 5, 2024
29 of 30 checks passed
@technolojin technolojin deleted the fix/multi-object-tracker-revert-latency-reduction branch August 5, 2024 08:17
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…d bring back to timer trigger (autowarefoundation#8277)

* fix: revert latency reduction logic and bring back to timer trigger

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

* style(pre-commit): autofix

* chore: remove unused variables

Signed-off-by: Taekjin LEE <taekjin.lee@tier4.jp>

---------

Signed-off-by: Taekjin LEE <taekjin.lee@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: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.

2 participants