waitForTransform
Wait until a transformation is available
waitForTransform will be removed in a future release. Use getTransform with a specified timeout instead. Use
inf to wait indefinitely.
Syntax
Description
waitForTransform(
waits until the transformation between tftree,targetframe,sourceframe)targetframe and
sourceframe is available in the transformation tree,
tftree. This functions disables the command prompt until a
transformation becomes available on the ROS network.
waitForTransform(
specifies a timeout period in seconds. If the transformation does not become
available, MATLAB® displays an error, but continues running the current program.tftree,targetframe,sourceframe,timeout)
Examples
Input Arguments
Extended Capabilities
Version History
Introduced in R2019b