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: subscription take #538

Merged
merged 15 commits into from
Oct 30, 2024
Merged

Conversation

xygyo77
Copy link
Contributor

@xygyo77 xygyo77 commented Oct 18, 2024

Description

Modify the following two points

  • If all callback_start_timestamp columns are empty in the Communication just before take implementation, remove them.
  • rmw_take with topic name qualification.

Related links

https://tier4.atlassian.net/browse/RT2-1838

Notes for reviewers

Pre-review checklist for the PR author

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR has been properly tested.
  • The PR has been reviewed.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • (Optional) The PR has been properly tested with CARET_report verification.
  • 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.

@xygyo77 xygyo77 requested a review from ymski October 18, 2024 13:28
@xygyo77 xygyo77 changed the title refact: subscription take fix: subscription take Oct 18, 2024
src/caret_analyze/runtime/path.py Outdated Show resolved Hide resolved
src/test/runtime/test_path.py Outdated Show resolved Hide resolved
…callback, and skip the merge process.

Signed-off-by: ISP akm <[email protected]>
@@ -803,7 +798,7 @@ def test_take_impl_case_include_last_callback(self, mocker, caplog):
return_value=RecordsCppImpl(
[],
[
ColumnValue(f'{topic1}/callback_start_timestamp'),
ColumnValue(f'{topic1}/source_timestamp'),
Copy link
Contributor

Choose a reason for hiding this comment

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

to_path_end_records always returns the column [xxx/callback_start, xxx/callback_end].
It is not appropriate to use source_timestamp as the column name.

src/test/runtime/test_path.py Show resolved Hide resolved
src/caret_analyze/runtime/path.py Outdated Show resolved Hide resolved
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Signed-off-by: ISP akm <[email protected]>
Copy link
Contributor

@ymski ymski left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@miyakoshi-dev miyakoshi-dev left a comment

Choose a reason for hiding this comment

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

[compare] ========== Result ==========
[compare] 1/3 file existence matches
[compare] OK. file existence matches
[compare] 2/3 yaml files
[compare] OK. yaml matches
[compare] 3/3 PNG files
[compare] OK. PNG matches
[compare] ====== ALL OK ==============

@xygyo77 xygyo77 merged commit c4cd270 into tier4:main Oct 30, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants