You're reading the documentation for a version of ROS 2 that has reached its EOL (end-of-life), and is no longer officially supported. If you want up-to-date information, please have a look at Kilted.
Migration Guides: Humble to Jazzy
This list summarizes important changes between Humble (previous) and Jazzy (current) releases, where changes to user code might be necessary.
Note
This list was created in June 2025 (tag 3.6.0), earlier changes may not be included.
RealtimeBox
RealtimePublisher
RealtimePublisheris updated with a newtry_publishAPI.RealtimePublisheris updated with a template constructor that creates the publisher internally, and the legacy constructor taking a pre-created publisher has been deprecated.Instead of creating a publisher first and passing it to the constructor, you can now pass the node (or node interface/pointer), topic name, QoS, and publisher options directly to
RealtimePublisher. (#573).