From f9ef0ba9949708b2c6ac4826bd158fbea20cf521 Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Wed, 22 Jan 2025 12:23:22 -0800 Subject: [PATCH] keep rcl_qos_profile_rosout_default with deprecation warning. Signed-off-by: Tomoya Fujita --- rcl/include/rcl/logging_rosout.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/rcl/include/rcl/logging_rosout.h b/rcl/include/rcl/logging_rosout.h index dfa714e5d..a6c0a40d8 100644 --- a/rcl/include/rcl/logging_rosout.h +++ b/rcl/include/rcl/logging_rosout.h @@ -20,14 +20,26 @@ #include "rcl/allocator.h" #include "rcl/error_handling.h" #include "rcl/node.h" +#include "rcl/macros.h" #include "rcl/types.h" #include "rcl/visibility_control.h" +#include "rmw/qos_profiles.h" + #ifdef __cplusplus extern "C" { #endif +/// The default qos profile setting for topic /rosout +/** + * - depth = 1000 + * - durability = RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL + * - lifespan = {10, 0} + */ +RCUTILS_DEPRECATED_WITH_MSG("use rmw_qos_profile_rosout_default instead") +static const rmw_qos_profile_t rcl_qos_profile_rosout_default = rmw_qos_profile_rosout_default; + /// Initializes the rcl_logging_rosout features /** * Calling this will initialize the rcl_logging_rosout features. This function must be called