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(localization_error_monitor): fixed header stamp #7174

Conversation

SakodaShintaro
Copy link
Contributor

Description

Currently, localization_error_monitor outputs a timestamp in the diagnostic message header with the node's this->now() set. However, we are interested in the time when the message monitored by the localization_error_monitor node was published. So I changed the timestamp to be set, from this->now() to input_msg->header.stamp.

Tests performed

I ran logging_simulator and parsed the /diagnostics topic from the saved rosbag.
I have confirmed that all timestamps in localization: localization_error_monitor have a match in localization: ekf_localizer.

Effects on system behavior

There are no effects on system behavior.

Interface changes

There are no interface changes.

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.

@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 30, 2024
@SakodaShintaro SakodaShintaro self-assigned this May 30, 2024
@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label May 30, 2024
@SakodaShintaro SakodaShintaro merged commit 365b5a8 into autowarefoundation:main May 30, 2024
32 of 34 checks passed
@SakodaShintaro SakodaShintaro deleted the fix/fix_header_stamp_at_localization_error_monitor branch May 30, 2024 23:45
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…on#7174)

Fixed header stamp at localization_error_monitor

Signed-off-by: Shintaro Sakoda <[email protected]>
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Jun 7, 2024
…on#7174)

Fixed header stamp at localization_error_monitor

Signed-off-by: Shintaro Sakoda <[email protected]>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
Fixed header stamp at localization_error_monitor

Signed-off-by: Shintaro Sakoda <[email protected]>
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