Function rclc_action_client_init_default
Defined in File action_client.h
Function Documentation
-
rcl_ret_t rclc_action_client_init_default(rclc_action_client_t *action_client, rcl_node_t *node, const rosidl_action_type_support_t *type_support, const char *action_name)
Creates an rcl action client.
Attribute
Adherence
Allocates Memory
Yes
Thread-Safe
No
Uses Atomics
No
Lock-Free
No
- Parameters:
action_client – [inout] the action client of type rclc_action_client_t to be initialized
node – [in] the rcl node
type_support – [in] the message data type
action_name – [in] the name of the action
- Returns:
RCL_RET_OK
if successful- Returns:
RCL_ERROR
(or other error code) if an error has occurred