find-object icon indicating copy to clipboard operation
find-object copied to clipboard

find_object_3d MultiDetection

Open taletovic opened this issue 4 years ago • 1 comments

Hello @matlabbe, first thank for your work, much appreciated.

I've followed your MultiDetection tutorial. And it works with find_object_2d.

If I use the same objects in find_objects_3d I see that they are being detected using rosrun find_object_2d print_objects_detected but the TF information is only published for one object (first detected). Is there any possibility to get TFs for all objects detected?

Thanks in advance.

taletovic avatar Apr 16 '21 12:04 taletovic

Looking at the code: https://github.com/introlab/find-object/blob/856d7f0d62c4fe5a7606a2ce6a0f5c9dd6fd80fa/src/ros/FindObjectROS.cpp#L118

It seems that if the same object is observed twice, there will be 2 TFs. The multisuffix should be set to a letter. However, there is no guarantee that object 1 an 1_b will be also the same objects (or same order) than 1 and 1_b in the next image.

matlabbe avatar May 04 '21 03:05 matlabbe