transform
Syntax
Description
retrieves the latest transformation that takes data from the coordinate frame of
thetfentity = transform(tftree,targetframe,entity)entity to the targetframe. The transformation
is then applied to the data in entity. entity is a
ROS 2 message of a specific type and the transformed message is returned in
tfentity. An error is displayed if the transformation does not
exist.
uses the timestamp in the header of message tfentity = transform(tftree,targetframe,entity,"msgtime")entity as source time to
retrieve and apply the transformation.
uses the time tfentity = transform(tftree,targetframe,entity,sourcetime)sourcetime to retrieve and apply the transformation to
the message entity.
Examples
Input Arguments
Output Arguments
Extended Capabilities
Version History
Introduced in R2023a