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

Invert a pose using tf

asked 2015-08-11 07:40:24 -0500

Mehdi. gravatar image

I have a pose of object B defined in frame of object A. Is there a function in tf that gives me the pose of object A in the frame of object B?. There is a reference to the bullet library that has a function called inverse but I don't really see how I can call this from python through tf.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2015-08-17 04:05:36 -0500

mgruhler gravatar image

Well, with a transformListener you can use the respective transfromDATATYPE() methods. Is this what you are looking for?

edit flag offensive delete link more

Comments

I think it is not possible to use this function in my case. There is no known transform between both coordinate systems in tf, and I only know the relative pose of the observer marker to the camera for example by observing that marker.Then I would like to get the pose of camera in that markers fram

Mehdi. gravatar image Mehdi.  ( 2015-08-17 04:25:42 -0500 )edit
1

I did it by just creating a Rotation matrix out of the quaternions and then Inverting it and inverting the translation vector. But I was hoping for a ready to use function.

Mehdi. gravatar image Mehdi.  ( 2015-08-17 04:26:34 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-08-11 07:40:24 -0500

Seen: 1,023 times

Last updated: Aug 17 '15