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

Node creation and lifecycle. More...

Files

file  node.h
 ROS 2 node creation and management.
 

Detailed Description

Node creation and lifecycle.

nros_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.

nros_node_init(&node, &support, "my_node", "/");
// ... bind entities ...
nros_ret_t nros_node_init(struct nros_node_t *node, const struct nros_support_t *support, const char *name, const char *namespace_)
struct nros_node_t nros_node_get_zero_initialized(void)
nros_ret_t nros_node_fini(struct nros_node_t *node)
Definition nros_generated.h:1143
See also
pubsub, service, action