Add support for loan message API

Open
#98 0 comments 2 reactions 1 assignee View on GitHub

@asorbini is already working on this.

Since Jan 20, 2023.

Assessment

This issue has not been assessed yet.

Description

feature request

Feature Description

Extend rmw_connextdds to support both publication and subscription of "loaned messages".

This feature requires the implementation of the following functions from the RMW API:

  • rmw_publish_loaned_message
  • rmw_borrow_loaned_message
  • rmw_return_loaned_message_from_publisher
  • rmw_take_loaned_message
  • rmw_take_loaned_message_with_info
  • rmw_return_loaned_message_from_subscription

Implementation Considerations

The feature will require modifications to the "type plugin" used by the middleware to handle message serialization.

In order to support the loan API, the RMW implementation must be able to allocate and initialize messages, instead of solely relying on messages allocated by the application layer.

Dominant language
C++
Stars
68
Forks
42
Avg merge
9d 15h
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ros2/rmw_connextdds

All issues in ros2/rmw_connextdds

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.