This ROS node subscribes to /tf_static
, collects all the transforms that are ever published there, and re-sends a
message that contains not only the transforms from the last publisher, but all transforms ever encountered.
This is a workaround for e.g. geometry2#181, or for anybody else who needs to have multiple static transform publishers in the system.
/tf_static
: The static transforms.
- topic defined in param
~publisher_topic
(tf2_msgs/TFMessage
latched): Again, the static transforms. Special care is taken so that this node does not react to its own messages. ready
(std_msgs/Bool
latched): This message is sent (and latched) once the first message on/tf_static
is published by this node, so that other nodes that rely on this node's operation know that it has been brought up.
~update_only_with_newer
(bool
, defaults toFalse
): If set to True, only transforms with newer timestamps can substitute an already cached transform (otherwise, the latest received tranform is used.)~forbidden_callerid_prefix
(str
orNone
, defaults toNone
): This parameter can contain a prefix ofcallerid
s that will additionally be ignored by the/tf_static
callback. Using this parameter is required if you transmit/tf_static
over some non-ROS connection which changes or discards thecallerid
(e.g. when usingnimbro_network
).~publisher_topic
(str
, defaults to/tf_static
): Which topic to publish to. This can be the same topic as the input.