transform
Transform message entities into target coordinate frame
Syntax
Description
retrieves the latest transformation between tfentity
= transform(tftree
,targetframe
,entity
)targetframe
and
the coordinate frame of entity
and applies it to
entity
, a ROS message of a specific type. The
tftree
is the full transformation tree containing known
transformations between entities. If the transformation from
entity
to targetframe
does not
exist, MATLAB® produces an error.
uses the timestamp in the header of the message, tfentity
= transform(tftree
,targetframe
,entity
,"msgtime")entity
, as
the source time to retrieve and apply the transformation.
uses
the given source time to retrieve and apply the transformation to
the message, tfentity
= transform(tftree
,targetframe
,entity
,sourcetime
)entity
.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2019b