package documentation

The TF Binding, live and both ways: SpatialObjects at init, Locations on a poll, frames out.

ROS2SpatialMixin gives a machinery item that declared a TF Binding a SpatialObject whose mandatory PositionFrame is the declared head frame (Machine and Components). ROS2TransformMirrorMixin goes on the Machine alone and polls a snapshot of the facet's record of /tf and /tf_static, rendering one Location per frame the robot publishes . A Location is opensmi's CartesianFrame: a 3DFrame in metres and degrees whose pose is the transform its TF parent published and whose Base is the node holding that parent, or the World Frame at the tree's root. A frame is filed once and never moved. Locations are created through ~opensmi.ros2.server.mutation.ROS2MutationMixin.mutate_address_space_with, and the mutation cap counts Locations, not nodes: a Location is about ten nodes.

Outward, a TFBinding may name ~opensmi.ros2.server.bindings.PublishedFrame entries. Each gets a client-writable Location in AttachPoints, created at init and not counted by the cap. A frame is inward or outward and never both, because our own broadcast comes back through our own subscription. Only the pose is writable. A client's write is broadcast once it is stored; the poll re-asserts moving frames every tick and static frames when they differ from what last went out. The static publisher is transient-local (~opensmi.ros2.runtime.tf.TF_STATIC_QOS), so late joiners get the frame.

Module conversions Units and poses: what a TF transform is in OPC UA terms and back.
Module filing Frame filing: new Locations, their folders and the events about frames that cannot be filed.
Module mirror Inward mirroring: the poll that renders the frame network as Locations.
Module outward Outward publishing: declared frames a client may write, and their broadcast.
Module records The bookkeeping a rendered frame needs: its Location, its owner and its last reading.
Module spatial The SpatialObject of a machinery item that declared a TF Binding.