ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

tf broadcaster object

asked 2019-05-22 07:42:43 -0500

k5519995 gravatar image

Hello,

My robot has detected 2d object at some distance and how can I publish the TF of that object ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2019-05-22 09:29:31 -0500

This ROS tutorial should do the trick: http://wiki.ros.org/tf/Tutorials/Writ...

If you know where it is, just publish a message at some rate with some timeout to keep active in the tree.

edit flag offensive delete link more

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 ?

k5519995 gravatar image k5519995  ( 2019-05-22 10:43:33 -0500 )edit

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.

stevemacenski gravatar image stevemacenski  ( 2019-05-22 10:48:16 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-05-22 07:42:43 -0500

Seen: 268 times

Last updated: May 22 '19