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(ndt_scan_matcher): changed the type of timestamp from double to int in ndt diag #7128

Conversation

SakodaShintaro
Copy link
Contributor

Description

ndt_scan_matcher outputs timestamps as double to /diagnostics.
In diagnostics_module, this is converted to string by std::to_string, so it has 6 decimal places and the last 3 digits are removed.

To match other topics (like pose_with_covariance), it is useful to keep the full timestamp. So, I fixed it.

Tests performed

logging_simulator works well.

topic_time_stamp is changed to int64_t.

image

Effects on system behavior

There is no effects on system behavior.

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: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label May 27, 2024
@SakodaShintaro SakodaShintaro self-assigned this May 27, 2024
@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label May 27, 2024
@SakodaShintaro SakodaShintaro merged commit 6744b1a into autowarefoundation:main May 28, 2024
32 of 34 checks passed
@SakodaShintaro SakodaShintaro deleted the fix/change_timestamp_double_to_int_in_ndt_diag branch May 28, 2024 06:05
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…nt in ndt diag (autowarefoundation#7128)

Changed the type of timestamp from double to int in ndt diag

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Jun 7, 2024
…nt in ndt diag (autowarefoundation#7128)

Changed the type of timestamp from double to int in ndt diag

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
…nt in ndt diag (#7128)

Changed the type of timestamp from double to int in ndt diag

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
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