Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ With this information, you'll be able to submit focused changes in a pull reques

**Area: contributing, community | Content-type: how-to | Experience: beginner, intermediate, expert**

.. contents:: Table of Contents
:depth: 2
:local:

Summary
-------

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ After reading this article, you'll be able to ensure changes in a pull request m

**Area: contributing, community | Content-type: how-to | Experience: beginner, intermediate, expert**

.. contents:: Table of Contents
:depth: 2
:local:

Summary
-------

Expand Down
11 changes: 7 additions & 4 deletions source/Tutorials/Intermediate/Launch/Using-Substitutions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -493,24 +493,27 @@ They can be used anywhere a substitution is allowed, including the ``if`` and ``

The ``if`` predicate from the previous section can also be expressed using boolean substitutions instead of a Python expression:

.. tabs::
.. tab-set::

.. group-tab:: XML
.. tab-item:: XML
:sync: XML

.. code-block:: xml

<executable cmd="ros2 param set /turtlesim background_r $(var new_background_r)"
if="$(and $(equals $(var new_background_r) 200) $(var use_provided_red))"/>

.. group-tab:: YAML
.. tab-item:: YAML
:sync: YAML

.. code-block:: yaml

- executable:
cmd: ros2 param set /turtlesim background_r $(var new_background_r)
if: $(and $(equals $(var new_background_r) 200) $(var use_provided_red))

.. group-tab:: Python
.. tab-item:: Python
:sync: Python

.. code-block:: python

Expand Down
8 changes: 5 additions & 3 deletions source/Tutorials/Intermediate/Rosdep.rst
Original file line number Diff line number Diff line change
Expand Up @@ -153,15 +153,17 @@ If you are using ``rosdep`` with ROS, it is conveniently packaged along with the
This is the recommended way to get ``rosdep``.
You can install it with:

.. tabs::
.. tab-set::

.. group-tab:: Ubuntu
.. tab-item:: Ubuntu
:sync: Ubuntu

.. code-block:: console

$ sudo apt install python3-rosdep

.. group-tab:: RHEL
.. tab-item:: RHEL
:sync: RHEL

.. code-block:: console

Expand Down
Loading