Skip to content

Commit

Permalink
Update compilation instructions (#405)
Browse files Browse the repository at this point in the history
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
(cherry picked from commit 827a1da)

# Conflicts:
#	README.md
  • Loading branch information
christophfroehlich authored and mergify[bot] committed Aug 26, 2024
1 parent 597dd48 commit 61fb3a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,22 @@ See the [documentation file](doc/index.rst) or [control.ros.org](https://control

If you want compile this from source, you should choose the Gazebo version. The default one is `garden`:

<<<<<<< HEAD
```bash
export GZ_VERSION=fortress
export GZ_VERSION=garden
export GZ_VERSION=harmonic
```

Then 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:
>>>>>>> 827a1da (Update compilation instructions (#405))
```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
Expand Down

0 comments on commit 61fb3a3

Please sign in to comment.