-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to extract position of object from tf using python #119
Comments
You will need a TF listener, then use lookuptransform function to get the pose of the object in target frame you want. To know when the TF of an object is ready, subscribe to EDIT: Here a C++ example: https://github.com/introlab/find-object/blob/master/src/ros/tf_example_node.cpp, this could be in python. |
https://youtu.be/_LumIR61234 |
thanks a lot for the quick reply, but this video does not show using a python code for providing object position. |
hello everyone,
I am facing a problem related to values extraction that are published in tf.
I want the position values(x,y,z) of the object using python. Then I want to use these values in moveit package for inverse kinematics of robot to do pick and place tasks. Please help me how to get these values.
The text was updated successfully, but these errors were encountered: