|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>

Data Fields | |
| uint64_t | _opaque [SESSION_OPAQUE_U64S] |
| struct rcl_context_t | context |
| uint8_t | domain_id |
| uint8_t | locator [128] |
| size_t | locator_len |
| enum rclc_support_state_t | state |
Support context structure.
This is the main context for nros, similar to rclc_support_t. It manages the middleware session and provides shared resources.
| uint64_t rclc_support_t::_opaque[SESSION_OPAQUE_U64S] |
Inline opaque storage for the RMW session. Avoids heap allocation — managed by rclc_support_init/fini.
| struct rcl_context_t rclc_support_t::context |
phase-492 W1.b — rclc's support.context, the argument rclc_executor_init(&executor, &support.context, n, &allocator) takes. Names this support; set by init, cleared by fini.
| uint8_t rclc_support_t::domain_id |
Domain ID (ROS_DOMAIN_ID)
| uint8_t rclc_support_t::locator[128] |
Locator string storage
| size_t rclc_support_t::locator_len |
Locator string length
| enum rclc_support_state_t rclc_support_t::state |
Current state