Skip to content

Commit a34a067

Browse files
authored
add links anywhere "previous tutorial" is mentioned (ros2#1001)
Signed-off-by: maryaB-osr <[email protected]>
1 parent 9271039 commit a34a067

17 files changed

+21
-22
lines changed

source/Tutorials/Actions/Writing-a-Cpp-Action-Server-Client.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,8 @@ As we saw in the :ref:`CreatePkg` tutorial, we need to create a new package to h
3737
1.1 Creating the action_tutorials_cpp package
3838
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3939

40-
Go into the action workspace you created in the previous tutorial, and create a new package for the C++ action server:
40+
Go into the action workspace you created in the :ref:`previous tutorial <ActionCreate>` (remember to source the workspace), and create a new package for the C++ action server:
4141

42-
(Remember to :ref:`source the workspace from the previous tutorial <ActionCreate>` first.)
4342

4443
.. tabs::
4544

source/Tutorials/Creating-Your-First-ROS2-Package.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Tasks
112112

113113
First, :ref:`source your ROS 2 installation <ConfigROS2>`.
114114

115-
Let’s use the workspace you created in the previous tutorial, ``dev_ws``, for your new package.`
115+
Let’s use the workspace you created in the :ref:`previous tutorial <new-directory>`, ``dev_ws``, for your new package.`
116116

117117
Make sure you are in the ``src`` folder before running the package creation command.
118118

source/Tutorials/Custom-ROS2-Interfaces.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Creating custom ROS 2 msg and srv files
1616
Background
1717
----------
1818

19-
In previous tutorials you utilized message and service interfaces to learn about topics, services, and simple publisher/subscriber and service/client nodes.
19+
In previous tutorials you utilized message and service interfaces to learn about :ref:`topics <ROS2Topics>`, :ref:`services <ROS2Services>`, and simple publisher/subscriber (:ref:`C++<CppPubSub>`/:ref:`Python<PyPubSub>`) and service/client (:ref:`C++<CppSrvCli>`/:ref:`Python<PySrvCli>`) nodes.
2020
The interfaces you used were predefined in those cases.
2121

2222
While it’s good practice to use predefined interface definitions, you will probably need to define your own messages and services sometimes as well.
@@ -208,7 +208,7 @@ A few simple modifications to the nodes, ``CMakeLists`` and ``package`` files wi
208208
7.1 Testing ``Num.msg`` with pub/sub
209209
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
210210

211-
With some slight modifications to the publisher/subscriber package created in a previous tutorial, you can see ``Num.msg`` in action.
211+
With some slight modifications to the publisher/subscriber package created in a previous tutorial (:ref:`C++ <CppPubSub>` or :ref:`Python <PyPubSub>`), you can see ``Num.msg`` in action.
212212
Since you’ll be changing the standard string msg to a numerical one, the output will be slightly different.
213213

214214
Publisher:
@@ -478,7 +478,7 @@ Since ``Num.msg`` relays only an integer, the talker should only be publishing i
478478
7.2 Testing ``AddThreeInts.srv`` with service/client
479479
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
480480

481-
With some slight modifications to the service/client package created in a previous tutorial, you can see ``AddThreeInts.srv`` in action.
481+
With some slight modifications to the service/client package created in a previous tutorial (:ref:`C++ <CppSrvCli>` or :ref:`Python <PySrvCli>`), you can see ``AddThreeInts.srv`` in action.
482482
Since you’ll be changing the original two integer request srv to a three integer request srv, the output will be slightly different.
483483

484484
Service:

source/Tutorials/Ros2bag/Recording-And-Playing-Back-Data.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If you've installed from Debians on Linux and your system doesn’t recognize th
3535
ros-<distro>-rosbag2-converter-default-plugins \
3636
ros-<distro>-rosbag2-storage-default-plugins
3737
38-
This tutorial talks about concepts covered in previous tutorials, like nodes and :ref:`topics <ROS2Topics>`.
38+
This tutorial talks about concepts covered in previous tutorials, like :ref:`nodes <ROS2Nodes>` and :ref:`topics <ROS2Topics>`.
3939
It also uses the :ref:`turtlesim package <Turtlesim>`.
4040

4141
As always, don’t forget to source ROS 2 in :ref:`every new terminal you open <ConfigROS2>`.

source/Tutorials/Single-Package-Define-And-Use-Interface.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ Background
2222

2323
In a :ref:`previous tutorial <CustomInterfaces>`, you learned how to create custom msg and srv interfaces.
2424

25-
.. In previous tutorials, you learned how to create :ref:`custom msg and srv interfaces <CustomInterfaces>` and :ref:`action interfaces <ActionCreate>`. (When actions redo is done)
26-
2725
While best practice is to declare interfaces in dedicated interface packages, sometimes it can be convenient to declare, create and use an interface all in one package.
2826

2927
Recall that interfaces can currently only be defined in CMake packages.

source/Tutorials/Topics/Topic-Statistics-Tutorial.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ Prerequisites
3232

3333
An installation from either binaries or source, where the version must be at least
3434
`ROS2 Foxy <https://index.ros.org/doc/ros2/Releases/Release-Foxy-Fitzroy/>`__.
35+
3536
In previous tutorials, you learned how to :ref:`create a workspace <ROS2Workspace>`,
3637
:ref:`create a package <CreatePkg>`, and create a :ref:`C++ <CppPubSub>` publisher and subscriber.
3738

@@ -43,7 +44,7 @@ Tasks
4344
1 Write the subscriber node with statistics enabled
4445
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
4546

46-
Navigate into the ``dev_ws/src/cpp_pubsub/src`` folder, created in the previous tutorials, and
47+
Navigate into the ``dev_ws/src/cpp_pubsub/src`` folder, created in the :ref:`previous tutorial <CppPubSub>`, and
4748
download the example talker code by entering the following command:
4849

4950
.. tabs::

source/Tutorials/Topics/Understanding-ROS2-Topics.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Open another terminal and run:
5555
5656
ros2 run turtlesim turtle_teleop_key
5757
58-
Recall from the previous tutorial that the names of these nodes are ``/turtlesim`` and ``/teleop_turtle`` by default.
58+
Recall from the :ref:`previous tutorial <ROS2Nodes>` that the names of these nodes are ``/turtlesim`` and ``/teleop_turtle`` by default.
5959

6060

6161
2 rqt_graph

source/Tutorials/Turtlesim/Introducing-Turtlesim.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Tasks
3838
1 Install turtlesim
3939
^^^^^^^^^^^^^^^^^^^
4040

41-
As always, start by sourcing your setup files in a new terminal, as described in the previous tutorial.
41+
As always, start by sourcing your setup files in a new terminal, as described in the :ref:`previous tutorial <ConfigROS2>`.
4242

4343
Install the turtlesim package for your ROS 2 distro:
4444

source/Tutorials/Understanding-ROS2-Nodes.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ To run turtlesim, open a new terminal, and enter the following command:
6060
6161
ros2 run turtlesim turtlesim_node
6262
63-
The turtlesim window will open, as you saw in the previous tutorial.
63+
The turtlesim window will open, as you saw in the :ref:`previous tutorial <Turtlesim>`.
6464

6565
Here, the package name is ``turtlesim`` and the executable name is ``turtlesim_node``.
6666

source/Tutorials/Using-Parameters-In-A-Class-CPP.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Tasks
3333

3434
Open a new terminal and :ref:`source your ROS 2 installation <ConfigROS2>` so that ``ros2`` commands will work.
3535

36-
Navigate into the ``dev_ws`` directory created in a previous tutorial.
36+
Navigate into the ``dev_ws`` directory created in a :ref:`previous tutorial <new-directory>`.
3737

3838
Recall that packages should be created in the ``src`` directory, not the root of the workspace.
3939
Navigate into ``dev_ws/src`` and create a new package:

0 commit comments

Comments
 (0)