follow me mode
001zwzwzw opened this issue · comments
hello great author! I want to ask how can I change the code to let the avoidance system support follow me mode!
Thanks for your answer
Hello @001zwzwzw. This package only provides an obstacle avoidance capability to the drone using a local or a global planner. In follow me mode, you must provide yourself the path for the drone to follow a person, then you can input that path to any planner that will attempt to track the path as well as avoid obstacles.
For that purpose i suggest to use the local planner together with the "folllow me" trajectory. One way is to add an additional cost to stay as close as possible to desired trajectory.
If you have any more questions feel free to ask me.
oh @brunopinto900 ,thanks for your answer,I get so much!I want to achieve formation in the method of leader-follower at follow me mode!So the trajectory of follower is the desired waypoint after the calculation by leader.I want to merge the trajectory and the result of local-planner as new waypoint,how do you think my strategy?I want to listen to your opinion sincerely.