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

asked 2019-05-09 00:32:18 -0500

Tawfiq Chowdhury gravatar image

updated 2019-05-09 00:33:05 -0500

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.

edit retag flag offensive close merge delete


have you done hand-eye calibration?

nd gravatar image nd  ( 2019-05-09 01:56:28 -0500 )edit