class documentation

class Message:

View In Hierarchy

Base of every message dataclass built by message_dataclass.

Carries no data. It makes "a payload that crossed the seam" a type that can be annotated and checked with isinstance without touching rclpy.

Class Variable __slots__ Undocumented
Class Variable ros2 The ROS2 facts the subclass was built from.
Class Variable ros2_nested For each field whose type is another message, the dataclass that message was built as, resolved once at build time.
__slots__: tuple =

Undocumented

ros2: ClassVar[MessageDescription] =

The ROS2 facts the subclass was built from.

ros2_nested: ClassVar[Mapping[str, type[Message]]] =

For each field whose type is another message, the dataclass that message was built as, resolved once at build time.