Skip to content

Add support for the MESSAGE_LOST event#581

Closed
MiguelCompany wants to merge 13 commits intoros2:masterfrom
eProsima:feature/message-lost
Closed

Add support for the MESSAGE_LOST event#581
MiguelCompany wants to merge 13 commits intoros2:masterfrom
eProsima:feature/message-lost

Conversation

@MiguelCompany
Copy link
Copy Markdown
Collaborator

This replaces #580 and adds proper support for MESSAGE_LOST event.

The interfaces are already present in Fast-DDS, but the listener callback is currently never called.
This means the RMW will behave as if messages are never lost, until we implement on_sample_lost on Fast DDS v2.6.0.

clalancette and others added 5 commits February 9, 2022 21:38
Fast-DDS (and rmw_fastrtps_cpp) don't really support this right
now, but having it in the list here allows RViz2 to start up.

Signed-off-by: Chris Lalancette <clalancette@openrobotics.org>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Copy link
Copy Markdown
Contributor

@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.

Looks good to me with green CI. Thanks @MiguelCompany !

@clalancette
Copy link
Copy Markdown
Contributor

CI:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Windows Build Status

@MiguelCompany
Copy link
Copy Markdown
Collaborator Author

@clalancette this test will fail unless we have a correct implementation for on_sample_lost on Fast DDS.

The only way to push this foward I can think of is to disable MESSAGE_LOST support on the CI, by putting this inside a #if !defined(BUILD_TESTING) with a // TODO: remove when on_sample_lost is correctly implemented by Fast DDS

Let me know what you think.

Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
@MiguelCompany
Copy link
Copy Markdown
Collaborator Author

Closed in favor of #583

@MiguelCompany MiguelCompany deleted the feature/message-lost branch February 14, 2022 10:03
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