File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
behaviortree_ros2/include/behaviortree_ros2 Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 1919#include < string>
2020#include < rclcpp/executors.hpp>
2121#include < rclcpp/allocator/allocator_common.hpp>
22+ #include < rclcpp/qos.hpp>
2223#include " behaviortree_cpp/bt_factory.h"
2324
2425#include " behaviortree_ros2/ros_node_params.hpp"
@@ -216,7 +217,7 @@ inline RosServiceNode<T>::ServiceClientInstance::ServiceClientInstance(
216217 node->create_callback_group (rclcpp::CallbackGroupType::MutuallyExclusive, false );
217218 callback_executor.add_callback_group (callback_group, node->get_node_base_interface ());
218219
219- service_client = node->create_client <T>(service_name, rmw_qos_profile_services_default ,
220+ service_client = node->create_client <T>(service_name, rclcpp::ServicesQoS () ,
220221 callback_group);
221222}
222223
You can’t perform that action at this time.
0 commit comments