waitForTransform
Wait until a transformation is available
waitForTransform
will be removed in a future release. UsegetTransform
with a specifiedtimeout
代替。使用inf
to wait indefinitely.
Syntax
Description
waitForTransform(
waits until the transformation betweentftree
,targetframe
,sourceframe
)targetframe
andsourceframe
is available in the transformation tree,tftree
. This functions disables the command prompt until a transformation becomes available on the ROS network.
waitForTransform(
specifies a timeout period in seconds. If the transformation does not become available, MATLAB®displays an error, but continues running the current program.tftree
,targetframe
,sourceframe
,timeout
)