Difference between revisions of "Multiple Youbots"

From Lofaro Lab Wiki
Jump to: navigation, search
 
Line 2: Line 2:
 
Change the directory
 
Change the directory
 
  cd catkin_ws/src/youbot_simulation/youbot_gazebo_robot
 
  cd catkin_ws/src/youbot_simulation/youbot_gazebo_robot
Remove the existing launch file
+
Remove the existing launch directory
 
  sudo rm -r launch
 
  sudo rm -r launch
 
Clone the new files
 
Clone the new files

Latest revision as of 17:02, 11 May 2016

Open Terminal & Run Following Commands

Change the directory

cd catkin_ws/src/youbot_simulation/youbot_gazebo_robot

Remove the existing launch directory

sudo rm -r launch

Clone the new files

git clone https://github.com/pnpdiode/multiple_youbots.git launch

Now open a new terminal & run the command. You should see 2 youbots in Gazebo. Please do look at the youbot.lanuch file to understand how to spawn multiple youbots.

roslaunch youbot_gazebo_robot youbot.launch