Skip to content

Commit f21b6b3

Browse files
authored
change source source /opt/ros/rolling/setup.bash to source /opt/ros/humble/setup.bash (#387)
Co-authored-by: [email protected]
1 parent 4074e50 commit f21b6b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/tutorials/getting_started/getting_started.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Install ROS 2 and Colcon
88
:ros_documentation:`Install ROS 2 {DISTRO_TITLE}<Installation.html>`.
99
It is easy to miss steps when going through the ROS 2 installation tutorial. If you run into errors in the next few steps, a good place to start is to go back and make sure you have installed ROS 2 correctly. One that users commonly forget is to source the ROS 2 install itself. ::
1010

11-
source /opt/ros/rolling/setup.bash
11+
source /opt/ros/humble/setup.bash
1212

1313
.. note:: Unlike ROS 1 setup scripts, in ROS 2 the setup scripts do not attempt to switch what version of ROS you are using. This means that if you have previously sourced a different version of ROS, including from within your ``.bashrc`` file, you will run into errors during the building step. To fix this change what is sourced in your ``.bashrc`` and start a new terminal.
1414

doc/tutorials/visualizing_in_rviz/visualizing_in_rviz.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ Lastly, build your project again to make sure all the code additions are correct
197197
.. code-block:: bash
198198
199199
cd ~/ws_moveit2
200-
source /opt/ros/rolling/setup.bash
200+
source /opt/ros/humble/setup.bash
201201
colcon build --mixin debug
202202
203203
6 Enable visualizations in RViz

0 commit comments

Comments
 (0)