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
RealtimeBoxis deprecated. Update your code to userealtime_thread_safe_box.hppheader, and class nameRealtimeThreadSafeBoxinstead. (#318, #342).RealtimePublisheris updated with a newtry_publishAPI. Update your code with a local message variable and calltry_publishwith that variable. The old API is deprecated and will be removed in a future release. (#323).