From 1225df3afbfff0573e58f767c0e2adf0ee66f7e9 Mon Sep 17 00:00:00 2001 From: d3dx13 Date: Wed, 15 Dec 2021 00:46:15 +0300 Subject: [PATCH 1/2] xacro.py is deprecated; please use xacro instead --- youbot_gazebo_robot/launch/youbot.launch | 2 +- youbot_gazebo_robot/launch/youbot_arm_only.launch | 2 +- youbot_gazebo_robot/launch/youbot_base_only.launch | 2 +- youbot_gazebo_robot/launch/youbot_dual_arm.launch | 2 +- youbot_gazebo_worlds/launch/robocup_at_work_2012.launch | 2 +- youbot_gazebo_worlds/launch/tower_of_hanoi.launch | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/youbot_gazebo_robot/launch/youbot.launch b/youbot_gazebo_robot/launch/youbot.launch index 0401581..2761889 100644 --- a/youbot_gazebo_robot/launch/youbot.launch +++ b/youbot_gazebo_robot/launch/youbot.launch @@ -10,7 +10,7 @@ - + - + - + - + + diff --git a/youbot_gazebo_worlds/launch/tower_of_hanoi.launch b/youbot_gazebo_worlds/launch/tower_of_hanoi.launch index 056a79a..53a9e74 100644 --- a/youbot_gazebo_worlds/launch/tower_of_hanoi.launch +++ b/youbot_gazebo_worlds/launch/tower_of_hanoi.launch @@ -16,7 +16,7 @@ - + From 1447714d83a6cb2f9ff36d64acd115dadfe42ae5 Mon Sep 17 00:00:00 2001 From: d3dx13 Date: Wed, 15 Dec 2021 02:14:27 +0300 Subject: [PATCH 2/2] add text in README --- README.md | 78 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) diff --git a/README.md b/README.md index 7e3f85c..2a14024 100644 --- a/README.md +++ b/README.md @@ -2,3 +2,81 @@ youbot_simulation ================= Packages to run the KUKA youBot in the Gazebo simulation with ROS + + + +#### Easy installation on ubuntu 20.04 + +```bash +cd ~/catkin_ws/src + +# check https://github.com/mas-group/youbot_simulation/pull/19 +# if it is accepted, then +git clone https://github.com/mas-group/youbot_simulation.git --branch noetic-devel +# else +git clone https://github.com/d3dx13/youbot_simulation.git + + +git clone https://github.com/mas-group/youbot_description.git + +cd ~/catkin_ws +catkin build +source ~/.bashrc + +``` + + + +#### Start simulation in one terminal + +**OPTION 1:** Kuka manipulator only + +```bash +killall rosmaster roscore gazebo roslaunch gzserver gzclient; +rosrun gazebo_ros gazebo & +roslaunch youbot_gazebo_robot youbot_arm_only.launch & + +``` + +**OPTION 2:** Whole kuka youbot + +```bash +killall rosmaster roscore gazebo roslaunch gzserver gzclient; +rosrun gazebo_ros gazebo & +roslaunch youbot_gazebo_robot youbot.launch & + +``` + + + +#### Install some examples + +```bash +cd ~/catkin_ws/src + +# required library +git clone https://github.com/wnowak/brics_actuator.git + +# examples +git clone https://github.com/d3dx13/youbot_ros_examples.git + +cd ~/catkin_ws +catkin build +source ~/.bashrc + +``` + + + +#### Launch some examples + +Kuka manipulator moving + +`rosrun youbot_ros_simple_trajectory youbot_ros_simple_trajectory` + +YouBot platform moving (works only with **OPTION 2**) + +`rosrun youbot_ros_hello_world youbot_ros_hello_world` + + +