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

Doing a tf lookupTransform without publishing a specific transform?

asked 2011-10-18 08:21:56 -0600

John Hoare gravatar image

Perhaps this is not the best title for my question, so let me briefly explain a situation.

I have a system where there is an ARTag which I am detecting from the camera using ar_kinect. I know this ARTag's location in the environment, which is published by another transform. (Lets say /world -> /ARTag_Actual). The ar_kinect package publishes a transform of where it sees the tag (/kinect -> /ARTag_Percieved) So from this, we should be able to simply calculate the transform from /world to /kinect by publishing an identity transform from /ARTag_Actual to /ARTag_Percieved but I want to be able to instead calculate this, and then simply publish a transform directly from /world to /kinect. How do I go about doing this? Should I just be using the bullet library directly? I apologize as I am not very experienced using the tf library.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-02-09 15:36:55 -0600

tfoote gravatar image

If you want to compute an arbitrary transform you should use the linear math library of your choice. The one used in the tf API is the bullet one, and can be used directly for chaining transforms together to compute the net transform.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2011-10-18 08:21:56 -0600

Seen: 425 times

Last updated: Feb 09 '12