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

Diagnose a visible sensor topic with no samples by comparing offered and requested reliability before treating discovery as a delivery test.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/robotics-qos-reliability-request-offer-endpoint-match/
Language: en

## 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](https://raw.githubusercontent.com/ros2/ros2_documentation/kilted/source/Concepts/Intermediate/About-Quality-of-Service-Settings.rst) 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](https://raw.githubusercontent.com/ros2/rmw_dds_common/rolling/rmw_dds_common/src/qos.cpp) 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](/journal/guide-ks-service-publish-unready/) distinguishes another discovery boundary. [RDT observation availability](/journal/fg2-rdt-unified-state-vector-availability-map/) 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.
