|
nros C API
Lightweight ROS 2 client for embedded real-time systems
|
#include <nros_generated.h>
Data Fields | |
| uint8_t | _reserved [3] |
| rclc_sched_context_id_t | sched_context |
Phase 189.M3.3.a — rclc-style named service options.
Sits ALONGSIDE the QoS profile (same convention as rcl_subscription_options_t): QoS is passed separately, this struct carries the non-QoS service-creation axes. Plain scalar fields only — safe to stack-allocate, memcpy, and pass across the FFI. Zero-init selects the default behaviour, identical to rclc_service_init_with_qos.
| uint8_t rcl_service_options_t::_reserved[3] |
Reserved for future use; must be zero. Pads the struct for ABI stability.
| rclc_sched_context_id_t rcl_service_options_t::sched_context |
Scheduling-context slot to bind the service's executor handle to. 0 = inherit the executor / Node default (no explicit bind). A non-zero value must be an id previously returned from rclc_executor_create_sched_context; the bind is applied by rclc_executor_add_service_raw once the handle exists.