Skip to content

Support matched/unmatched event#101

Merged
mjcarroll merged 1 commit intoros2:rollingfrom
Barry-Xu-2018:topic-matched-unmatched-event-support
Mar 22, 2023
Merged

Support matched/unmatched event#101
mjcarroll merged 1 commit intoros2:rollingfrom
Barry-Xu-2018:topic-matched-unmatched-event-support

Conversation

@Barry-Xu-2018
Copy link
Copy Markdown
Collaborator

Address ros2/rmw#330

Copy link
Copy Markdown
Collaborator

@fujitatomoya fujitatomoya left a comment

Choose a reason for hiding this comment

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

overall looks good to me.

@fujitatomoya
Copy link
Copy Markdown
Collaborator

@asorbini we would like to request another review on this.

Related to new feature, ros2/rmw#330 (comment)

@fujitatomoya
Copy link
Copy Markdown
Collaborator

@asorbini could you take a look at this?

{
this->status_matched = *status;

if (status->current_count_change == 1) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

@Barry-Xu-2018
CC: @asorbini

current_count_change will be either 1 or -1 always? otherwise, we will miss the event. as far as i see the specification, this could be 2 or -2 for example.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I think the processing likes Fastdds.
@asorbini please help to confirm this since I have no source codes.

@mjcarroll
Copy link
Copy Markdown
Member

@Barry-Xu-2018 this has some conflicts now.

@Barry-Xu-2018
Copy link
Copy Markdown
Collaborator Author

@mjcarroll

Thanks for notification.

this has some conflicts now.

Yes. I found it and fix it now.
Besides, I found it is hard to do rebase since the implementation of inconsistent topic was merged.
I have to find another do 'rebase'.

@Barry-Xu-2018
Copy link
Copy Markdown
Collaborator Author

Barry-Xu-2018 commented Mar 16, 2023

Now interface is changed. We only use matched event in rmw layer (ros2/rmw#331).
So code changes are quite significant.
Besides, merged implementation of inconsistent topic leads to many conflicts with old commits while doing rebase.
So I will merge all commits in this PR to one commit and then do rebase.

Signed-off-by: Barry Xu <barry.xu@sony.com>
@Barry-Xu-2018 Barry-Xu-2018 force-pushed the topic-matched-unmatched-event-support branch from 12de24e to 4a94ebc Compare March 16, 2023 02:58
@fujitatomoya
Copy link
Copy Markdown
Collaborator

@asorbini friendly ping, we would like you to review on this one.

@mjcarroll mjcarroll merged commit 364c44c into ros2:rolling Mar 22, 2023
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