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(traffic_light_arbiter): clear perception msg when the stamp is over the tolerance #4464

Conversation

TomohitoAndo
Copy link
Contributor

@TomohitoAndo TomohitoAndo commented Jul 31, 2023

Description

I think latest_perception_msg_ should be cleared here instead of latest_external_msg_.
https://github.com/autowarefoundation/autoware.universe/pull/4464/files#diff-8488136a70c0a6c2330c7db712a8d69c5e2111f1b7f83477e67a99887933ca4dR102

Tests performed

I confirmed that this node works by following these steps.

  • launch traffic_signal_arbiter
ros2 launch traffic_light_arbiter traffic_light_arbiter.launch.xml
  • publish traffic signal message to /external/traffic_signals
  • check the output topic of this node.

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.

…er the tolerance

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
@TomohitoAndo TomohitoAndo requested a review from knzo25 as a code owner July 31, 2023 06:10
@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Jul 31, 2023
Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

LGTM 🙇

@TomohitoAndo TomohitoAndo enabled auto-merge (squash) July 31, 2023 08:03
@TomohitoAndo TomohitoAndo added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 31, 2023
@codecov
Copy link

codecov bot commented Jul 31, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (bfe5314) 14.91% compared to head (d431631) 14.91%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4464   +/-   ##
=======================================
  Coverage   14.91%   14.91%           
=======================================
  Files        1517     1517           
  Lines      104701   104701           
  Branches    31884    31884           
=======================================
  Hits        15619    15619           
  Misses      72030    72030           
  Partials    17052    17052           
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 14.91% <ø> (ø) Carriedforward from bfe5314

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

Files Changed Coverage Δ
...raffic_light_arbiter/src/traffic_light_arbiter.cpp 0.00% <ø> (ø)

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

@TomohitoAndo TomohitoAndo merged commit d2a94d8 into autowarefoundation:main Jul 31, 2023
@TomohitoAndo TomohitoAndo deleted the fix/traffic-light-arbiter-clear-perceptin-msg branch July 31, 2023 22:59
TomohitoAndo added a commit to tier4/autoware.universe that referenced this pull request Jul 31, 2023
…er the tolerance (autowarefoundation#4464)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
TomohitoAndo added a commit to tier4/autoware.universe that referenced this pull request Jul 31, 2023
…er the tolerance (#701)

fix(traffic_light_arbiter): clear perception msg when the stamp is over the tolerance (autowarefoundation#4464)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
kminoda pushed a commit to kminoda/autoware.universe that referenced this pull request Aug 1, 2023
…er the tolerance (autowarefoundation#4464)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
felixf4xu pushed a commit to felixf4xu/autoware.universe that referenced this pull request Aug 2, 2023
…er the tolerance (autowarefoundation#4464)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
Signed-off-by: Felix F Xu <felixfxu@gmail.com>
tkimura4 pushed a commit to tier4/autoware.universe that referenced this pull request Aug 4, 2023
…er the tolerance (autowarefoundation#4464)

Signed-off-by: Tomohito Ando <tomohito.ando@tier4.jp>
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