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

Data Fields | |
| uint64_t | _opaque [PUBLISHER_OPAQUE_U64S] |
| const struct nros_node_t * | node |
| enum nros_publisher_state_t | state |
| uint8_t | topic_name [256] |
| size_t | topic_name_len |
| uint8_t | type_hash [128] |
| size_t | type_hash_len |
| uint8_t | type_name [256] |
| size_t | type_name_len |
Publisher structure.
| uint64_t nros_publisher_t::_opaque[PUBLISHER_OPAQUE_U64S] |
Inline opaque storage for the RMW publisher handle. Avoids heap allocation — managed by nros_publisher_init/fini.
| const struct nros_node_t* nros_publisher_t::node |
Pointer to parent node
| enum nros_publisher_state_t nros_publisher_t::state |
Current state
| uint8_t nros_publisher_t::topic_name[256] |
Topic name storage
| size_t nros_publisher_t::topic_name_len |
Topic name length
| uint8_t nros_publisher_t::type_hash[128] |
Type hash storage
| size_t nros_publisher_t::type_hash_len |
Type hash length
| uint8_t nros_publisher_t::type_name[256] |
Type name storage
| size_t nros_publisher_t::type_name_len |
Type name length