canTransform
Syntax
Description
verifies if a transformation that takes coordinates in the isAvailable = canTransform(bagReader,targetframe,sourceframe)sourceframe
into the corresponding coordinates in the targetframe is available.
isAvailable is true if that transformation is
available and false if that transformation is not available. Use
getTransform to
retrieve the transformation.
verifies that the transformation is available for the time isAvailable = canTransform(bagReader,targetframe,sourceframe,sourcetime)sourcetime.
If sourcetime is outside of the buffer window for the transformation,
the function returns false. Use getTransform with
the sourcetime argument to retrieve the transformation.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2023b