We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f6db43 commit a8cf58aCopy full SHA for a8cf58a
_docs/tutorials/programming_rcl_rclc/node/node.md
@@ -108,11 +108,7 @@ rcl_lifecycle_get_zero_initialized_state_machine();
108
109
// Create the lifecycle node
110
rclc_lifecycle_node_t my_lifecycle_node;
111
-rcl_ret_t rc = rclc_make_node_a_lifecycle_node(
112
- &my_lifecycle_node,
113
- &node,
114
- &state_machine,
115
- &allocator);
+clc_lifecycle_node_init(&my_lifecycle_node, &node, &state_machine, &allocator);
116
117
// Register lifecycle services on the allocator
118
rclc_lifecycle_add_get_state_service(&lifecycle_node, &executor);
0 commit comments