tf broadcaster object
Hello,
My robot has detected 2d object at some distance and how can I publish the TF of that object ?
Asked by k5519995 on 2019-05-22 07:42:43 UTC
Answers
This ROS tutorial should do the trick: http://wiki.ros.org/tf/Tutorials/Writing%20a%20tf%20broadcaster%20%28C%2B%2B%29
If you know where it is, just publish a message at some rate with some timeout to keep active in the tree.
Asked by stevemacenski on 2019-05-22 09:29:31 UTC
Comments
I have gone through this. But suppose, If I want my robot to go to the door. Then how can I do that ? Making the fixed frame of door ? And if I make a fixed frame of door then how do I know coordinates ?
Asked by k5519995 on 2019-05-22 10:43:33 UTC
Sure, that is one way you could do it. You know the coordinates by the detection and range you've mentioned before. If you don't have a 3D pose, you need to work one out and then publish in TF if you would like.
Asked by stevemacenski on 2019-05-22 10:48:16 UTC
Comments