Skip to main content

Crate edgefirst_schemas

Crate edgefirst_schemas 

Source
Expand description

§EdgeFirst Middleware Schemas

Zero-copy CDR1 Little-Endian message types for ROS 2 / Zenoh middleware.

§Architecture

CdrFixed types — small, Copy structs with constant wire size (e.g. Time, Vector3). Serialized with cdr::encode_fixed / cdr::decode_fixed.

Buffer-backed types — generic Type<B: AsRef<[u8]>> wrappers that hold a CDR byte buffer and a small offset table. Construction scans the buffer once; field accessors are O(1). Use Type::new(...) to serialize and Type::from_cdr(buf) to deserialize (zero-copy when B = &[u8]).

§Message sources

Modules§

builtin_interfaces
ROS 2 builtin interfaces (Time, Duration).
cdr
Zero-copy CDR serialization infrastructure. Zero-copy CDR (Common Data Representation) infrastructure.
edgefirst_msgs
EdgeFirst custom perception messages. EdgeFirst custom message types for perception pipelines.
foxglove_msgs
Foxglove visualization messages. Foxglove message types for visualization.
geometry_msgs
ROS 2 geometry message types. ROS 2 geometry_msgs message types.
rosgraph_msgs
ROS 2 rosgraph messages (Clock).
schema_registry
Schema registry for runtime schema name lookup. Schema Registry for EdgeFirst Schemas.
sensor_msgs
ROS 2 sensor message types. ROS 2 sensor_msgs message types.
service
ROS 2 service header for Zenoh RPC.
std_msgs
ROS 2 standard message types (Header, ColorRGBA). ROS 2 std_msgs message types.

Macros§

define_point
Define a named point struct implementing the Point trait.