From 61312b05764b0e117bf4d7bc23511a1693c329ca Mon Sep 17 00:00:00 2001 From: Alberto Soragna Date: Mon, 1 Jul 2019 16:44:34 +0100 Subject: [PATCH] changed on_parameter_event qos profile to rmw_qos_profile_parameter_events (#774) Signed-off-by: alberto --- rclcpp/include/rclcpp/parameter_client.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rclcpp/include/rclcpp/parameter_client.hpp b/rclcpp/include/rclcpp/parameter_client.hpp index f44ae9a..1ef02f8 100644 --- a/rclcpp/include/rclcpp/parameter_client.hpp +++ b/rclcpp/include/rclcpp/parameter_client.hpp @@ -115,7 +115,7 @@ public: on_parameter_event( CallbackT && callback, const rclcpp::QoS & qos = ( - rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_default)) + rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_parameter_events)) ), const rclcpp::SubscriptionOptionsWithAllocator & options = ( rclcpp::SubscriptionOptionsWithAllocator() @@ -142,7 +142,7 @@ public: NodeT && node, CallbackT && callback, const rclcpp::QoS & qos = ( - rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_default)) + rclcpp::QoS(rclcpp::QoSInitialization::from_rmw(rmw_qos_profile_parameter_events)) ), const rclcpp::SubscriptionOptionsWithAllocator & options = ( rclcpp::SubscriptionOptionsWithAllocator()