Skip to content

Question: Plans to support loaned-messages shared-memory APIs? #175

@mauropasse

Description

@mauropasse

Hi! I've running some ROS2 benchmarks on rmw_zenoh using the iRobot ros2-performance framework, and it looks promising. However I noticed the lack of support for loaned messages APIs like:

rmw_borrow_loaned_message(
const rmw_publisher_t * publisher,
const rosidl_message_type_support_t * type_support,
void ** ros_message)
{
static_cast<void>(publisher);
static_cast<void>(type_support);
static_cast<void>(ros_message);
return RMW_RET_UNSUPPORTED;
}

It seems zenoh-c already supports shared memory: eclipse-zenoh/zenoh-c#156, https://zenoh.io/blog/2023-06-05-charmander2/, which should be present in the version used on rmw_zenoh.

So I'm wondering what's missing to fully implement shared memory on ROS2 systems, and if there is a plan in the roadmap to do so? This feature is key for performant multi-process applications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions