From a8d22e22a0ada2a3dc303871158805027d52306e Mon Sep 17 00:00:00 2001 From: Tomoya Fujita Date: Wed, 6 Nov 2024 12:39:56 -0800 Subject: [PATCH] move qos_profile_rosout_default from rcl. Signed-off-by: Tomoya Fujita --- rmw/include/rmw/qos_profiles.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/rmw/include/rmw/qos_profiles.h b/rmw/include/rmw/qos_profiles.h index 8bcad7bf..215109df 100644 --- a/rmw/include/rmw/qos_profiles.h +++ b/rmw/include/rmw/qos_profiles.h @@ -87,6 +87,19 @@ static const rmw_qos_profile_t rmw_qos_profile_parameter_events = false }; +static const rmw_qos_profile_t rmw_qos_profile_rosout_default = +{ + RMW_QOS_POLICY_HISTORY_KEEP_LAST, + 1000, + RMW_QOS_POLICY_RELIABILITY_RELIABLE, + RMW_QOS_POLICY_DURABILITY_TRANSIENT_LOCAL, + RMW_QOS_DEADLINE_DEFAULT, + {10, 0}, + RMW_QOS_POLICY_LIVELINESS_SYSTEM_DEFAULT, + RMW_QOS_LIVELINESS_LEASE_DURATION_DEFAULT, + false +}; + static const rmw_qos_profile_t rmw_qos_profile_system_default = { RMW_QOS_POLICY_HISTORY_SYSTEM_DEFAULT,