ROS2 provies default QoS setting. For example, By default, publishers and subscriptions in ROS 2 have “keep last” for history with a queue size of 10, “reliable” for reliability, “volatile” for durability, and “system default” for liveliness. Deadline, lifespan, and lease durations are also all set to “default”.
The volatile durability on the publishers side means the message is not stored in publishers for late-joining subscribers. This is one of the reasons why the bringup order matters during the system start-up.
QoS Service Event Callbacks
The callback is part of the subscription options. (see )
Currently in the Humble distribution, the following callback types are defined (see ):