Skip to content

Support RMW_EVENT_MESSAGE_LOST#169

Merged
Yadunund merged 1 commit intoyadu/namespacefrom
yadu/message_lost_event
May 16, 2024
Merged

Support RMW_EVENT_MESSAGE_LOST#169
Yadunund merged 1 commit intoyadu/namespacefrom
yadu/message_lost_event

Conversation

@Yadunund
Copy link
Copy Markdown
Member

@Yadunund Yadunund commented May 5, 2024

This PR brings support for RMW_EVENT_MESSAGE_LOST.

It's best to test with ros2/demos#679.

Run the message_lost_talker node to publish at 1000Hz. See https://github.com/ros2/demos/tree/rolling/quality_of_service_demo#message-lost-status-event-demo for more details.

Also removes unused variables from #103

Signed-off-by: Yadunund <yadunund@gmail.com>
@Yadunund Yadunund requested a review from clalancette May 5, 2024 21:21
Copy link
Copy Markdown
Collaborator

@clalancette clalancette left a comment

Choose a reason for hiding this comment

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

This generally looks OK to me.

I will say that I have some misgivings about adding this. It seems kind of fragile, and I worry that we'll receive this event more than we expect. But there are no concrete problems I see, so I think we should put this in and see what happens.

@Yadunund Yadunund merged commit e7aad9b into yadu/namespace May 16, 2024
@delete-merged-branch delete-merged-branch Bot deleted the yadu/message_lost_event branch May 16, 2024 15:02
Yadunund added a commit that referenced this pull request May 17, 2024
* Namespace

Signed-off-by: Yadunund <yadunund@openrobotics.org>

* More namespacing

Signed-off-by: Yadunund <yadunund@openrobotics.org>

* Check for lost messages in sub_data_handler (#169)

Signed-off-by: Yadunund <yadunund@gmail.com>

* Address feedback

Signed-off-by: Yadunund <yadunund@intrinsic.ai>

---------

Signed-off-by: Yadunund <yadunund@openrobotics.org>
Signed-off-by: Yadunund <yadunund@gmail.com>
Signed-off-by: Yadunund <yadunund@intrinsic.ai>
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.

2 participants