Function rclc_node_init_with_options

Function Documentation

rcl_ret_t rclc_node_init_with_options(rcl_node_t *node, const char *name, const char *namespace_, rclc_support_t *support, rcl_node_options_t *node_ops)

Creates a RCL node with options.

  • Attribute

    Adherence

    Allocates Memory

    Yes (in this function and in RCL)

    Thread-Safe

    No

    Uses Atomics

    No

    Lock-Free

    Yes

Parameters:
  • name[in] the name of the node

  • namespace[in] the namespace of the node

  • support[in] the rclc_support_t object

  • node_ops[in] node options

Returns:

rcl_node_t if successful

Returns:

NULL if an error occurred