- Create a package (catkin_create_pkg) named stage_ms and copy the files from this repository.
- Open a new terminal and source the catkin_ws/devel/setup.bash file
source catkin_ws/devel/setup.bash
- Execute the following command:
You should see the sim.world file opened in the stage simulator and you will find two robots in it (Blue-Master and Green-Slave) You should see the blue robot wandering without hitting any obstacles and the green robot following the blue one and avoiding the obstracles along its path.
roslaunch stage_ms OnYourMarkGetSetGo.launch
The link to the video demonstration is https://youtu.be/ono9Ie8n6ok
Happy Coding !! :-)