21#ifndef NROS_RCLCPP_DETAIL_SERIALIZATION_FORMAT_HPP
22#define NROS_RCLCPP_DETAIL_SERIALIZATION_FORMAT_HPP
32#include "rclcpp/detail/nros_cpp_ffi.h"
97#define NROS_CPP_ASSERT_MESSAGE_FORMAT(M) \
98 static_assert(::rclcpp::format_of<M>::value == ::rclcpp::linked_format(), \
99 "RFC-0088: this message type is not encoded in the format the linked " \
100 "backend speaks: one image, one backend, one encoding. A bridge image " \
101 "is the only place two formats legitimately meet, and it converts " \
Definition client.hpp:129
constexpr SerializationFormat linked_format()
Definition serialization_format.hpp:70
constexpr const char * linked_format_name()
Definition serialization_format.hpp:80
SerializationFormat
Definition serialization_format.hpp:43
@ Cdr
OMG CDR as ROS 2 puts it on the wire, encapsulation header included.
@ Uorb
PX4's in-memory struct, verbatim — no encoding step at all (RFC-0011).