nros C API
Lightweight ROS 2 client for embedded real-time systems
Loading...
Searching...
No Matches
node

Node creation and lifecycle.

Node creation and lifecycle.

rcl_node_t is the parent for publishers, subscriptions, services, clients, action servers, and action clients. Each entity is bound to a node at init time and torn down before the node itself.

rclc_node_init_default(&node, "my_node", "/", &support);
// ... bind entities ...
struct rcl_node_t rcl_get_zero_initialized_node(void)
rcl_ret_t rcl_node_fini(struct rcl_node_t *node)
rcl_ret_t rclc_node_init_default(struct rcl_node_t *node, const char *name, const char *namespace_, const struct rclc_support_t *support)
Definition nros_generated.h:1454
See also
pubsub, service, action