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

tf rviz camera

asked 2017-10-25 18:27:42 -0500

ANDRO gravatar image

Hi, I need to se the position of a ball in rviz using mi camera and tf. The thing is that i have the open cv code but i do not have idea how to create a code for tf that subscribe into my image (from OpenCv) and show it on Rviz. I already saw to much codes about tf publisher and listener, and i still have no idea how to use it.

Please can somebody help me?

edit retag flag offensive close merge delete

Comments

This should give you some idea ros message filter. But remember this isn't working because call back is never called for some reason which i couldn't identify.

BhanuKiran.Chaluvadi gravatar image BhanuKiran.Chaluvadi  ( 2017-10-25 21:59:40 -0500 )edit

What particular part you don't understand? If you have position of detected object with respect to camera you just create tf publisher publishing transformation between camera tf frame and object. Of course you also need camera's tf publisher if you don't have it written already.

l4ncelot gravatar image l4ncelot  ( 2017-10-26 03:09:43 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-10-26 07:42:41 -0500

I think the answer is on a question that you made about 3 days ago.

https://answers.ros.org/question/2737...

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-10-25 18:27:42 -0500

Seen: 481 times

Last updated: Oct 26 '17