getTransform
Syntax
Description
gets and returns the latest known transformation between two coordinate frames.
tf
= getTransform(tftree
,targetframe
,sourceframe
)tf
represents the transformation that takes coordinates in the
sourceframe
into the corresponding coordinates in the
targetframe
. The returned transformation tf
is
empty if it does not exist in the tree.
returns the transformation at the time tf
= getTransform(tftree
,targetframe
,sourceframe
,sourcetime
)sourcetime
. An error is
displayed if the transformation at that time is not available.
specifies a timeout period in seconds, to wait until the transformation between two
coordinates frames is available. Use tf
= getTransform(tftree
,targetframe
,sourceframe
,Timeout
=timeout)timeout
as Inf
to
wait indefinitely. If the transformation does not become available in the timeout period,
MATLAB® displays an error. Use this syntax with any of the input arguments in previous
syntaxes.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023a