bayesian-object-tracking / dbot_ros

ROS package of Depth-Based Bayesian Object Tracking
GNU General Public License v2.0
57 stars 23 forks source link

Did you try to send more than one object's information to an object tracking service to realize multi-objects tracking? #8

Closed BIGJUN777 closed 5 years ago

BIGJUN777 commented 6 years ago

Thanks you for responding on my previous problem. For now, what I want to do are:

  1. Leverage some other methods to get information(id、initial pose...) of multiple objects;
  2. Send the information to the object tracking service to realize multi-objects tracking.

The service_call script(~.py file) you provided seems can only track one object. If I want to proceed the second work described above, it seems I need to change the code to let the service get more message.I am going to do this. But I want to know did you do something like that before?Or do you have some good idea to share with me?

I am sorry maybe some sentence above are not smoothly. Hoping you can understand what I mean.
Looking for your response.Thanks!

honey-booboo commented 6 years ago

You are right: the service we provide takes only one object as input. We never used it for more than one object. However, the tracker itself can handle several objects.

As you suggest, you could write and extended version of the object tracker service node that can handle several objects.

Don't forget to add the corresponding definitions of messages and services in the dbot_ros_msgs repo.

PS. I'm sorry I can't be of more help. I was not the author of this code, so I don't know it in much detail. Please take these hints with a grain of salt.

BIGJUN777 commented 6 years ago

Well, thanks for your useful advise.I will try something in the following days.
Thanks again. Best!