class TransformConfig:
Where this Machine reads TF from, and how often the frame network is sampled.
One Runtime is one Domain ID and one frame network, and one Machine runs one poll over the
ownership partition of every declared head. So these values are declared once here, not per
object. A ~opensmi.ros2.server.bindings.TFBinding keeps what is true of its object: head
frame, exclusions, alternatives. Reached as ROS2Config.transforms; in the settings file:
[transforms] path = "/robot/tf" static_path = "/robot/tf_static" interval = 0.5 quiet_after = 2.0
| Method | __post |
Refuse settings that contradict themselves. |
| Instance Variable | depth |
How many messages each of the two subscriptions buffers. |
| Instance Variable | interval |
Seconds between polls of the frame network. Inward is a poll, not a write per message, because /tf carries one message per publisher per control cycle. |
| Instance Variable | path |
The transform topic, /tf unless remapped. |
| Instance Variable | quiet |
Seconds a frame may go unpublished before its Location reads BadNoCommunication (see ~opensmi.ros2.server.status.transform_status). A static frame is exempt, so this only has to clear the slowest moving publisher. |
| Instance Variable | static |
The static transform topic, always read as well. When this Machine publishes a frame of its own there, it uses ~opensmi.ros2.runtime.tf.TF_STATIC_QOS. What it requests on both topics is discovered from the publishers. |
| Property | topics |
Return both transform topics, which is what a reader of these settings subscribes to. |
Refuse settings that contradict themselves.
| Raises | |
DeclarationError | When either topic is unnamed, both name one topic, the subscriptions buffer nothing, or the poll period or the staleness window is not positive. |
Seconds between polls of the frame network. Inward is a poll, not a write per message, because /tf carries one message per publisher per control cycle.
Seconds a frame may go unpublished before its Location reads
BadNoCommunication (see ~opensmi.ros2.server.status.transform_status). A static
frame is exempt, so this only has to clear the slowest moving publisher.
The static transform topic, always read as well. When this Machine publishes a
frame of its own there, it uses ~opensmi.ros2.runtime.tf.TF_STATIC_QOS. What it
requests on both topics is discovered from the publishers.