examples_tf2_py.waits_for_transform module

class examples_tf2_py.waits_for_transform.WaitsForTransform(*args: Any, **kwargs: Any)

Bases: Node

Wait for a transform using callbacks.

This class is an example of waiting for transforms. It avoids blocking the executor by registering a callback to be called when a transform becomes available.

on_tf_ready(future)
on_timer()
examples_tf2_py.waits_for_transform.main()