Skip to content

Best effort QoS messages larger than UCLIENT_UDP_TRANSPORT_MTU not published #394

@jimmy-mcelwain

Description

@jimmy-mcelwain

I am using the Micro-XRCE-DDS-Client with micro-ros using UDP, and I have been running into a problem where I am trying to publish a message of type joint_state using rmw_qos_profile_sensor_data, which uses best effort reliability.

I am able to publish without a problem if my message size is under the UCLIENT_UDP_TRANSPORT_MTU, but if my message exceeds that size, then it does not publish.

It does, however, publish correctly if I change the QoS profile to something with reliable reliability, such as rmw_qos_profile_default, or if I increase the UCLIENT_UDP_TRANSPORT_MTU to be larger than the message.

Unless I misunderstand something or something is wrong in my configuration, it seems to me like the serialization/deserialization is not working properly for messages with best-effort reliability.

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