tf frame_Id active all the time
Hey there,
Example:
1) publish tf with frame_id = hallo1
2) stop publishing tf with frame_id hallo1
If I do:
print listener.frameExists("hallo1")
I will always get True as result even if this frame is not published anymore. If I do
rostopic echo /tf |grep hallo1
I will only see the result for case 1) not for case 2)
How do I check if a tf target_frame is still published using rospy?
Realistically, there is no concept of "still active" in TF, as there is no automatic decay of frames (RViz does something, but does it by itself).
Could you not check the stamp of the last available transform for the frame?