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

Library initialisation and the support context.

Library initialisation and the support context.

Includes rclc_support_t (the transport session anchor) and its context, which rclc_executor_init takes.

Typical lifecycle:

rclc_support_init(&support, 0, NULL, &allocator);
// ... use the API ...
rcl_ret_t rclc_support_init(struct rclc_support_t *support, int argc, const char *const *argv, const struct rcl_allocator_t *allocator)
struct rclc_support_t rclc_support_get_zero_initialized(void)
struct rcl_allocator_t rcl_get_default_allocator(void)
rcl_ret_t rclc_support_fini(struct rclc_support_t *support)
Definition nros_generated.h:836
Definition nros_generated.h:1219
See also
node, Getting Started