Skip to content

Commit 0a0070a

Browse files
author
Claire Wang
authored
Add foxy tab to check environment variables (ros2#673)
* Add foxy tab to check environment variables * update tab section
1 parent e05372a commit 0a0070a

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

source/Tutorials/Configuring-ROS2-Environment.rst

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,11 +131,23 @@ If you ever have problems finding or using your ROS 2 packages, make sure that y
131131
132132
Check that variables like ``ROS_DISTRO`` and ``ROS_VERSION`` are set:
133133

134-
.. code-block:: console
134+
.. tabs::
135+
136+
.. group-tab:: Eloquent
137+
138+
.. code-block:: console
139+
140+
ROS_VERSION=2
141+
ROS_PYTHON_VERSION=3
142+
ROS_DISTRO=eloquent
143+
144+
.. group-tab:: Foxy
145+
146+
.. code-block:: console
135147
136-
ROS_VERSION=2
137-
ROS_PYTHON_VERSION=3
138-
ROS_DISTRO=eloquent
148+
ROS_VERSION=2
149+
ROS_PYTHON_VERSION=3
150+
ROS_DISTRO=foxy
139151
140152
If the environment variables are not set correctly, return to the ROS 2 package installation section of the installation guide you followed.
141153
If you need more specific help (because environment setup files can come from different places), you can `get answers <https://answers.ros.org>`__ from the community.

0 commit comments

Comments
 (0)