Skip to content
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

find_object_3d MultiDetection #111

Open
taletovic opened this issue Apr 16, 2021 · 1 comment
Open

find_object_3d MultiDetection #111

taletovic opened this issue Apr 16, 2021 · 1 comment

Comments

@taletovic
Copy link

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.

@matlabbe
Copy link
Member

matlabbe commented May 4, 2021

Looking at the code:

transform.child_frame_id_ = QString("%1_%2%3").arg(objFramePrefix_.c_str()).arg(id).arg(multiSuffix).toStdString();

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants