Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How to transform pose from kinect frame to PR2's base_link frame?

I am having a confusion with tf. So, I am working on a grasping project. my vision partner is giving me pose of an object in camera frame or when running robot, the robot's kinect frame. Now, in order to grasp that object, I need to get the pose in robot's base_link frame as this frame is used by moveit interface. Initially, my thinking was that I can do that using lookup transform method of tf but now I have come to know that this only gives transformation between different frames. In order to get what I need, I should use transformListener method. I am still confused about the difference between the two. I am working with python. If anyone could give me a sample working transformListener code, that would be helpful as well.

How to transform pose from kinect frame to PR2's base_link frame?

I am having a confusion with tf. So, I am working on a grasping project. my vision partner is giving me pose of an object in camera frame or when running robot, the robot's kinect frame. Now, in order to grasp that object, I need to get the pose in robot's base_link frame as this frame is used by moveit interface. Initially, my thinking was that I can do that using lookup transform method of tf but now I have come to know that this only gives transformation between different frames. In order to get what I need, which is object's location in base_link frame, I should use transformListener method. I am still confused about the difference between the two. I am working with python. If anyone could give me a sample working transformListener code, that would be helpful as well.