Function rclc_action_server_init_default

Function Documentation

rcl_ret_t rclc_action_server_init_default(rclc_action_server_t *action_server, rcl_node_t *node, rclc_support_t *support, const rosidl_action_type_support_t *type_support, const char *action_name)

Creates an rcl action server.

  • Attribute

    Adherence

    Allocates Memory

    Yes

    Thread-Safe

    No

    Uses Atomics

    No

    Lock-Free

    No

Parameters:
  • action_server[inout] a rcl_action_server_t to be initialized

  • node[in] the rcl node

  • support[in] the rclc_support_t object

  • 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