Skip to content

Commit

Permalink
Add info about ROS 2 distro (backport #345) (#349)
Browse files Browse the repository at this point in the history
* Add info about ROS 2 distro (#345)

(cherry picked from commit b8dd69e)

# Conflicts:
#	doc/index.rst

* Update index.rst

---------

Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
  • Loading branch information
mergify[bot] and christophfroehlich authored Aug 18, 2023
1 parent 54a3ae4 commit 90b9e9f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Licence](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)

This repository provides examples for functionalities and capabilities of `ros2_control` framework.
It consists of simple implementations that demonstrate different concepts.
It consists of simple implementations that demonstrate different concepts. Choose the right branch of this repository matching you ROS 2 distribution as well as the full documentation on [control.ros.org](https://control.ros.org), see [this table](#build-status).

If you want to have rather step by step manual how to do things with `ros2_control` checkout the [ros-control/roscon2022_workshop](https://github.com/ros-controls/roscon2022_workshop) repository.

Expand Down
13 changes: 8 additions & 5 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,12 +76,15 @@ Example 12: "Controller chaining"
Installation
=====================

You can install the demos manually or use the provided docker file.
You can install the demos locally or use the provided docker file.

Manual Install
---------------

First, you have to install `ROS 2 on your computer <https://docs.ros.org/en/humble/Installation.html>`__.
Local installation
------------------

If you have ROS 2 installed already, choose the right version of this documentation and branch of the ``ros2_control_demos`` repository matching you ROS 2 distribution, see `this table <https://github.com/ros-controls/ros2_control_demos#build-status>`__.

Otherwise, install `ROS 2 {DISTRO} on your computer <https://docs.ros.org/en/rolling/Installation.html>`__.

.. note::

Expand All @@ -98,7 +101,7 @@ Download the ``ros2_control_demos`` repository and install its dependencies with
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone https://github.com/ros-controls/ros2_control_demos
git clone https://github.com/ros-controls/ros2_control_demos -b {REPOS_FILE_BRANCH}
cd ~/ros2_ws/
rosdep update --rosdistro=$ROS_DISTRO
sudo apt-get update
Expand Down

0 comments on commit 90b9e9f

Please sign in to comment.