From 827a1da9a7cf1723dba6b57de7c3242ba7712022 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christoph=20Fr=C3=B6hlich?= Date: Mon, 26 Aug 2024 12:40:26 +0200 Subject: [PATCH] Update compilation instructions (#405) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Alejandro Hernández Cordero --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4aba3642..587ef01a 100644 --- a/README.md +++ b/README.md @@ -37,12 +37,12 @@ Note that `gz_ros2_control` depends on the version of Gazebo that is provided by the Gazebo Vendor packages [`gz_plugin_vendor`](https://github.com/gazebo-release/gz_plugin_vendor) and [`gz_sim_vendor`](https://github.com/gazebo-release/gz_sim_vendor). Currently, for ROS 2 Jazzy and Rolling, the Gazebo version is Harmonic. -To compile `gz_ros2_control` from source, create a workspace, clone the repo and compile it: +To compile `gz_ros2_control` from source, create a workspace, clone the correct branch of this repo and compile it: ```bash mkdir -p ~/gz_ros2_control_ws/src cd ~/gz_ros2_control_ws/src -git clone https://github.com/ros-controls/gz_ros2_control +git clone https://github.com/ros-controls/gz_ros2_control -b {ROS_DISTRO} rosdep install -r --from-paths . --ignore-src --rosdistro $ROS_DISTRO -y cd ~/gz_ros2_control_ws colcon build