TECHNOLOGY

ROS reliability QoS: seeing a publisher does not establish a compatible subscription

In this article
THE QUICK TAKE

A best-effort publisher cannot satisfy a reliable subscription; the reverse reliability pairing is compatible, subject to the other policies.

The topic exists but the consumer remains silent

A camera driver appears in the ROS graph and advertises the expected message type. A downstream detector subscribes but receives no images. Reconnecting the network may be irrelevant: discovery established endpoint information, while communication still depends on the endpoint policies. Start by recording the publisher offer and subscriber request from the running configuration. Do not infer them solely from an application label such as sensor input, because wrappers and explicit overrides can select different profiles.

Reliability matching is asymmetric

The Kilted QoS guide describes a request-versus-offer model. A reliable subscriber requests more than a best-effort publisher offers, so that pair is incompatible. A reliable publisher with a best-effort subscriber is compatible on reliability. Changing the subscriber to reliable therefore does not upgrade an existing best-effort source. It can instead remove the communication path entirely. Decide which behavior the sensor application needs before making that change.

Retain the compatibility reason and its uncertainty

The reviewed DDS-common checker explicitly diagnoses the best-effort offer with reliable request. It also distinguishes uncertainty for some default or unknown policy values. Preserve that diagnostic rather than flattening every result into matched or broken. Resolve the actual middleware configuration where possible. Even a compatible reliability pair may fail another policy, such as durability. A successful local policy check is consequently narrower evidence than an observed delivered sample from the intended publisher.

Construct an endpoint matrix without a robot

Propose an isolated publisher and consumer carrying harmless sequence markers. Hold message type, topic name and other relevant policies fixed, while varying offered and requested reliability. Record endpoint discovery, compatibility diagnostics and received markers separately. The incompatible pair should not be counted as ordinary packet loss. Recreate endpoints when their configured policies change according to the client implementation. No middleware or robot was executed here; this is a proposed fixture, with no claimed delivery rate or timing measurement.

A matched pair still needs an operational contract

A compatible pair does not prove that the detector keeps up, timestamps are useful or callbacks receive CPU time. Examine those questions after establishing matching. If the application accepts best effort, define its response to gaps rather than describing the stream as complete. If it requires reliable publication, configure and qualify the source accordingly. Keep the identity of the delivering publisher in the evidence when several publishers share a topic, because one healthy source can conceal another incompatible source.

Separate discovery, matching and usable measurements

Peer discovery before readiness distinguishes another discovery boundary. RDT observation availability addresses what received state fields actually mean. The ROS record should retain each stage: discovered endpoint, compatible profile, delivered sample and accepted measurement. These observations answer different questions. This separation makes a silent detector explainable without inventing a hardware diagnosis or promoting graph visibility into evidence that the sensing pipeline is functioning.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles