getTransform
Get relative transform between frames
Syntax
Description
returns the relative transforms that convert points in thetform
= getTransform(frames
,targetframe
,sourceframe
)sourceFrame
coordinate frame to thetargetFrame
. By default, this function uses the last timestamp for both frames specified inframes
.
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.