ROS 2 QoS Profiles Explained: Reliability, Durability, Depth and Compatibility

What each ROS 2 QoS policy does, the offer-versus-request rule that decides whether a publisher and subscriber connect, the built-in profiles, and a checklist for an empty topic.

In this article

  • What a QoS profile is
  • The built-in profiles
  • The compatibility rule
  • Latched-style topics: transient local
  • Setting QoS in code
  • Depth, deadlines and dropped data
  • A short checklist for "the topic is there but empty"