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

Data Fields | |
| uint64_t | _opaque [SERVICE_CLIENT_OPAQUE_U64S] |
| struct rclc_node_ref_t | node |
| enum rclc_client_state_t | state |
A service client the CALLER drives, with no executor (phase-487 W2).
The C counterpart of C++'s nros::PollClient<S>. _opaque holds a RawServiceClient from rclc_polling_client_init until rclc_polling_client_fini. Zero-initialised is UNINITIALIZED. Until phase-487 it was the NROS_CLIENT_STATE_POLLING state of rcl_client_t.
| uint64_t rclc_polling_client_t::_opaque[SERVICE_CLIENT_OPAQUE_U64S] |
Inline storage for the RawServiceClient. Internal: treat as opaque.
| struct rclc_node_ref_t rclc_polling_client_t::node |
The node the client was created on.
| enum rclc_client_state_t rclc_polling_client_t::state |
Current state: UNINITIALIZED, INITIALIZED (client live) or SHUTDOWN.