Function rclc_node_init_default

Function Documentation

rcl_ret_t rclc_node_init_default(rcl_node_t *node, const char *name, const char *namespace_, rclc_support_t *support)

Creates a default RCL node.

  • 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

Returns:

rcl_node_t if successful

Returns:

NULL if an error occurred