Main Content
getTransform
Syntax
Description
returns the relative transforms that convert points in the tform
= getTransform(frames
,targetframe
,sourceframe
)sourceFrame
coordinate frame to the targetFrame
. By default, this function uses the
last timestamp for both frames specified in frames
.
returns the relative transforms at the given timestamp. If the given time is not specified
in the transform tree, tform
= getTransform(frames
,targetframe
,sourceframe
,timestamp
)frames
, the function performs interpolation
using a constant velocity assumption for linear motion, and spherical linear interpolation
(SLERP) for angular motion.
Input Arguments
Output Arguments
Version History
Introduced in R2020b