So I have two huskies in gazebo simulation husky1 and husky2. I want to control husky1 with keyboard and husky2 would then follow husky1. I'm launching move_base_mapless.launch file and I'm using this http://wiki.ros.org/navigation/Tutorials/SendingSimpleGoals code to send husky2 to any location in the world but it doesn't stop moving and never reaches its goal. That's probably because husky1 and husky2 are not in the same frame or something. How do I connect them in the same frame using tf so when I move husky2 it knows where it has to go?
here's my launch file for loading two huskies:
move_base.launch file:
↧