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

How to add TF on a object whose coordinate is already detected by PCL

asked 2017-11-07 11:51:30 -0500

alone2 gravatar image

The coordinate of the object is already detected by PCL. For this purpose, I am using a Kinect v2 camera. I have written that code in C++ and I am working in ROS platform. Now I want to add TF on the object detected by the Kinect using PCL library.

Extra notes: My objective is to grab a moving object on a conveyor belt by a robot.

I am really stuck at this moment. Any ideas would be a great help for me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2017-11-08 00:46:51 -0500

l4ncelot gravatar image

updated 2017-11-08 06:26:07 -0500

You need to write transformation broadcaster for that. Have a look here on how to do it.

You simply create tf broadcaster publishing transformation from one frame (e.g. pointcloud frame) to another (e.g. object_frame).

edit flag offensive delete link more

Comments

TF of Kinect camera will also act as a TF for the object? I am confused about the alignment of the Robot end effector and the object. I want to keep them face to face wherever I will put the object.

alone2 gravatar image alone2  ( 2017-11-08 05:26:41 -0500 )edit

No, those two will be different tf frames. You will probably have some kind of transformation between those two frames (using tf broadcaster). Assuming you calculate position of your object relatively to your kinetic frame.

l4ncelot gravatar image l4ncelot  ( 2017-11-08 06:25:15 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-11-07 11:50:51 -0500

Seen: 487 times

Last updated: Nov 08 '17