Template Function rclcpp::create_client(std::shared_ptr<node_interfaces::NodeBaseInterface>, std::shared_ptr<node_interfaces::NodeGraphInterface>, std::shared_ptr<node_interfaces::NodeServicesInterface>, const std::string&, const rmw_qos_profile_t&, rclcpp::CallbackGroup::SharedPtr)

Function Documentation

template<typename ServiceT>
rclcpp::Client<ServiceT>::SharedPtr rclcpp::create_client(std::shared_ptr<node_interfaces::NodeBaseInterface> node_base, std::shared_ptr<node_interfaces::NodeGraphInterface> node_graph, std::shared_ptr<node_interfaces::NodeServicesInterface> node_services, const std::string &service_name, const rmw_qos_profile_t &qos_profile, rclcpp::CallbackGroup::SharedPtr group)

Create a service client with a given type.