strands-project / strands_perception_people

long-term detection, tracking and recognition of people
96 stars 70 forks source link

adding visualization to rviz via nav_msgs/Path #145

Closed ferdianjovan closed 9 years ago

ferdianjovan commented 9 years ago

Hi @cdondrup, please test this in your environment. I just tested it in uol simulator and it worked fine.

cdondrup commented 9 years ago

Looks great. Thank you! I'll try it next week.

ferdianjovan commented 9 years ago

Actually, no. As long as the person is still detected you can visualize it. Once the person disappears, the visualization is gone.

Do you want me to do the otherway around?

cdondrup commented 9 years ago

If it works with latched topics, that would be great. Otherwise you have to fiddle with the rviz guy as long as the person is detected and cannot look at it afterwards. If you could just add a latch=True to the publisher and try if that works, that'd be great. Also so you would have to keep the publishers alive for some time after the detection was lost...

ferdianjovan commented 9 years ago

Ok, I just tested it twice in the simulator and it worked fine. So the publisher for each uuid will be alive 1 min after the detection was lost. Hope it will be ok now.

cdondrup commented 9 years ago

Thank you!