Following a moving target with obstacle avoid. [closed]
Hi all, I want my robot to follow a moving person, now I have tried two methods:
- I reuse the navigation module, and send the moving person's position to the goal topic. But this method got some bad performance which always sewing on both side. By the way, my local planning alg is TEB.
- Just publish cmd topic to /cmd according the moving target without any navigation or obstacle avoid, and got good following performace(But it's dangerous because of no local planning^_^). But I need obstacle avoid, now I have no idea to how to integrate obstracle avoid?
Does anyone have some suggestions for this problem? Thanks