Function rclc_client_init_best_effort
Defined in File client.h
Function Documentation
-
rcl_ret_t rclc_client_init_best_effort(rcl_client_t *client, const rcl_node_t *node, const rosidl_service_type_support_t *type_support, const char *service_name)
Creates an rcl client with quality-of-service option best effort
Attribute
Adherence
Allocates Memory
Yes (in RCL)
Thread-Safe
No
Uses Atomics
No
Lock-Free
Yes
- Parameters:
client – [inout] pointer to zero_initialized rcl_client_t
node – [in] pointer to an initialized rcl node
type_support – [in] the message data type
service_name – [in] the name of service topic
- Returns:
RCL_RET_OK
if successful- Returns:
RCL_ERROR
(or other error code) if an error has occurred