|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>
Data Fields | |
| uint8_t | _reserved [4] |
Phase 189.M3 — rclc-style named publisher options.
Sits ALONGSIDE the QoS profile (rclc convention): QoS is passed separately, this struct carries the non-QoS publisher-creation axes. Publishers are not executor handles and therefore have no scheduling-context binding — this struct is intentionally thin and exists for rclc symmetry with [nros_subscription_options_t] plus forward ABI headroom.
The struct contains only plain scalar fields — no pointers — so it is safe to stack-allocate, memcpy, and pass across the FFI. Zero-init (all fields 0) selects the default behaviour, identical to nros_publisher_init_with_qos.
| uint8_t nros_publisher_options_t::_reserved[4] |
Reserved for future use; must be zero. Pads the struct to a non-empty layout and reserves room for later publisher-only axes (e.g. a future loan-pool hint) without an ABI break.