Robotics StackExchange | Archived questions

Twist and /tf listener question

I'm making a /tf listener that listens the output of a kinnect device.
I'd like to publish the velocity of the /lefthand1 child of the /tf. So far, looking at the Transformer::lookupTwist function, I have these bits figured out but am missing pieces:

Transformer::lookupTwist("/left_hand_1", "/torso", "reference_frame", "reference_point", "reference_point_frame", ros::Time::now()+ros::Duration(0.1), "ros::Duration()", vel_msg);

Format of the Transformer::lookupTwist can be found here. My question is about the "referenceframe", "referencepoint", "referencepointframe", parts of the function... what do they refer to? Is the "referenceframe" the same as how I would observe the "/tf" values in rviz? ie, "opennicamera"...? What about the "referencepoint" and referencepoint_frame"?

Thank you for the help.

Asked by joe.s on 2016-04-25 16:24:51 UTC

Comments

Answers