tf canTransform doesn't update return
I have this code:
dist.is_calibrated = listener.canTransform('/openni', '/torso_1', rospy.Time(0))
if dist.is_calibrated:
(trans, rot) = listener.lookupTransform('/openni', '/torso_1', rospy.Time(0))
When canTransform function returns True, it never come False again even if /torso_1 doesn't exists anymore.
Anyone knows why it happen?
Best Wishes.