nros C API
Lightweight ROS 2 client for embedded real-time systems
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1
19#ifndef NROS_TYPES_H
20#define NROS_TYPES_H
21
23#include "rclc/detail/nros_config_generated.h"
25/* RFC-0088 D5 — NROS_SERIALIZATION_FORMAT{,_ID} plus the per-message
26 compile-time assertion generated message headers emit. Included here so a
27 generated header reaches it through its single `<rclc/types.h>` include. */
29/* issue 1531 — LAST, and deliberately so: this header defines function-like
30 macros named after entry points `nros_generated.h` DECLARES, so it has to come
31 after that declaration or it would eat it. It is here rather than in
32 `<rclc/init.h>` because every consumer must get it — two TUs in one image
33 disagreeing about whether the baked RMW rung is passed is issue 1530's failure
34 with a narrower blast radius. */
35#include "rclc/detail/baked_rmw.h"
36
37#endif /* NROS_TYPES_H */
RFC-0088 D5 — the linked backend's serialization format, as a compile-time fact the C API can assert ...