Template Function rclcpp_action::create_generic_client(NodeT, const std::string&, const std::string&, rclcpp::CallbackGroup::SharedPtr, const rcl_action_client_options_t&)
Defined in File create_generic_client.hpp
Function Documentation
-
template<typename NodeT>
GenericClient::SharedPtr rclcpp_action::create_generic_client(NodeT node, const std::string &name, const std::string &type, rclcpp::CallbackGroup::SharedPtr group = nullptr, const rcl_action_client_options_t &options = rcl_action_client_get_default_options()) Create an action generic client.
- Parameters:
node – [in] The action client will be added to this node.
name – [in] The action name.
type – [in] The action type.
group – [in] The action client will be added to this callback group. If
nullptr
, then the action client is added to the default callback group.options – [in] Options to pass to the underlying
rcl_action_client_t
.
- Returns:
newly created generic client.