Verify if transformation is available
verifies if a transformation between the source frame and target frame is
available at the current time in isAvailable
= canTransform(tftree
,targetframe
,sourceframe
)tftree
. Create the
tftree
object using rostf
, which requires a
connection to a ROS network.
verifies
if a transformation is available for the source time. If isAvailable
= canTransform(tftree
,targetframe
,sourceframe
,sourcetime
)sourcetime
is
outside the buffer window, the function returns false
.
verifies if a transformation is available in a rosbag in
isAvailable
= canTransform(bagSel
,targetframe
,sourceframe
)bagSel
. To get the bagSel
input,
load a rosbag using rosbag
.
verifies if a transformation is available in a rosbag for the source time. If
isAvailable
= canTransform(bagSel
,targetframe
,sourceframe
,sourcetime
)sourcetime
is outside the buffer window, the function
returns false
.
getTransform
| rosbag
| rostf
| transform
| waitForTransform