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 19
19
#include < string>
20
20
#include < rclcpp/executors.hpp>
21
21
#include < rclcpp/allocator/allocator_common.hpp>
22
+ #include < rclcpp/qos.hpp>
22
23
#include " behaviortree_cpp/bt_factory.h"
23
24
24
25
#include " behaviortree_ros2/ros_node_params.hpp"
@@ -216,7 +217,7 @@ inline RosServiceNode<T>::ServiceClientInstance::ServiceClientInstance(
216
217
node->create_callback_group (rclcpp::CallbackGroupType::MutuallyExclusive, false );
217
218
callback_executor.add_callback_group (callback_group, node->get_node_base_interface ());
218
219
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 () ,
220
221
callback_group);
221
222
}
222
223
You can’t perform that action at this time.
0 commit comments