Difference between revisions of "Multiple Youbots"

From Lofaro Lab Wiki
Jump to: navigation, search
(Created page with "==Open Terminal & Run Following Commands== Change the directory cd catkin_ws/src/youbot_simulation/youbot_gazebo_robot Remove the existing launch file sudo rm -r launch Clon...")
 
 
(One intermediate revision by the same user not shown)
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
  git clone https://github.com/pnpdiode/multiple_youbots.git launch
+
  <nowiki>git clone https://github.com/pnpdiode/multiple_youbots.git launch</nowiki>
 
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.
 
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
 
  roslaunch youbot_gazebo_robot youbot.launch

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